/* =========================================================
   BUENOS AIRES HABILITACIONES
   Este archivo se carga DESPUÉS de Bootstrap y lo sobrescribe.
   Color: negro, blanco, arena y acento dorado (sello/profesional)
   WhatsApp: verde característico para íconos y botones de WhatsApp
   Tipografía: Helvetica Neue / Arial
   ========================================================= */

:root{
  --ink: #0b0b0c;
  --ink-soft: #2a2a2d;
  --white: #ffffff;
  --paper: #f6f6f4;
  --line: #e5e4e1;
  --muted: #6c6c70;
  --accent: #b8873a;
  --accent-dark: #93691f;
  --accent-soft: #f2e6d2;

  /* Paleta arena */
  --sand: #e9dcc0;
  --sand-mid: #dcc89b;
  --sand-deep: #c7a86f;
  --sand-line: #e4d5b3;
  --sand-tint: #f7f0e2;

  /* Verde WhatsApp */
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;

  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 14px;
  --ease: cubic-bezier(.22,.61,.36,1);

  /* Bootstrap overrides */
  --bs-body-font-family: var(--font);
  --bs-body-color: var(--ink);
  --bs-link-color: var(--ink);
  --bs-link-hover-color: var(--accent-dark);
}

html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body{
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a{ text-decoration: none; }
img{ max-width: 100%; }

/* ---------- Typography scale ---------- */
.eyebrow{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 14px;
}

.section-title{
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--ink);
}

.section-sub{
  font-size: 17px;
  color: var(--muted);
  max-width: 56ch;
  margin: 0;
}

.section-head{ margin-bottom: 44px; }

/* ---------- Buttons (sobre .btn de Bootstrap) ---------- */
.btn{
  --bs-btn-border-radius: 999px;
  --bs-btn-font-weight: 600;
  font-family: var(--font);
  padding: 14px 26px;
  font-size: 15px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}

.btn-accent{
  background: var(--ink);
  color: var(--white);
  border: 1.5px solid var(--ink);
}
.btn-accent:hover{
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(184,135,58,.28);
}

/* Botones de WhatsApp: siempre en verde */
.btn-whatsapp{
  background: var(--whatsapp);
  color: var(--white);
  border: 1.5px solid var(--whatsapp);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.btn-whatsapp:hover{
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(29,168,81,.32);
}
.btn-whatsapp .wa-icon{ flex-shrink: 0; }

.btn-outline{
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover{
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm{ padding: 10px 18px; font-size: 14px; }

/* =========================================================
   HEADER / NAVBAR
   ========================================================= */
.site-header{
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  padding: 18px 0;
  z-index: 1030;
}
.site-header.scrolled{
  border-bottom-color: var(--sand-line);
  box-shadow: 0 6px 24px rgba(0,0,0,.04);
}

.brand{ color: var(--ink); }
.brand-logo{
  height: 120px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-name{
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Contenedor de texto del header: nombre + datos adicionales (Mario Chiara / teléfono) */
.brand-text{
  display: flex;
  flex-direction: column;
}
.brand-owner,
.brand-phone{
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.3;
}
.brand-owner{ margin-top: 2px; }

.main-nav .nav-link{
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 8px 0;
}
.main-nav .nav-link::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.main-nav .nav-link:hover::after{ transform: scaleX(1); transform-origin: left; }

.navbar-toggler{
  border: none;
  padding: 6px;
  box-shadow: none !important;
}
.navbar-toggler-icon{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(11,11,12,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.header-cta{ white-space: nowrap; }

@media (min-width: 992px){
  .header-cta{ margin-left: 8px; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  padding: 64px 0 56px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sand-tint) 0%, var(--white) 65%);
}

.hero-eyebrow{
  display: block;
  text-align: left;
  text-transform: uppercase;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.15;
  letter-spacing: normal;
  color: var(--sand-deep);
  font-weight: 800;
  margin: 0 0 22px;
}

.hero-title{
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 0 0 22px;
}

.hero-sub{
  font-size: 18px;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 32px;
}

.hero-cta{ margin-bottom: 40px; }

.hero-stats{
  border-top: 1px solid var(--sand-line);
  padding-top: 24px;
  margin-top: 0;
}
.hero-stats .stat-number{
  display: block;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-stats .stat-label{
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.3;
}

.hero-media{ position: relative; }
.hero-img{
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--sand-tint);
  border: 1px solid var(--sand-line);
}
.hero-media-caption{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}
.hero-media-caption .dot{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

/* =========================================================
   ZONE BAND
   ========================================================= */
.zone-band{
  background: linear-gradient(90deg, var(--sand-deep) 0%, var(--sand-mid) 100%);
  color: var(--ink);
  padding: 26px 0;
}
.zone-text{ font-size: 16px; color: var(--ink); }
.zone-text strong{ color: var(--ink); font-weight: 700; }
.zone-sub{
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(11,11,12,.6);
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section{ padding: 88px 0; }
.section-alt{ background: var(--sand-tint); }

/* Services */
.service-card{
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-top: 3px solid var(--sand-deep);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: background .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover{
  background: var(--ink);
  border-color: var(--ink);
  border-top-color: var(--accent);
  color: var(--white);
  transform: translateY(-4px);
}
.service-card:hover p{ color: rgba(255,255,255,.7); }
.service-card h3{
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.service-card p{
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  transition: color .3s var(--ease);
}

/* Why choose us */
.why-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.why-list li{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16.5px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--sand-line);
}
.why-list li:last-child{ border-bottom: none; padding-bottom: 0; }
.why-mark{
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--sand-mid);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

/* =========================================================
   TIMELINE (elemento distintivo)
   ========================================================= */
.timeline{ position: relative; }

.timeline-track{
  position: absolute;
  top: 13px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--sand-line);
}
.timeline-progress{
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width .2s linear;
}

.timeline-number{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--sand);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.timeline-step h3{
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.timeline-step p{
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* =========================================================
   FAQ (Bootstrap accordion restyled)
   ========================================================= */
.faq-head{ position: sticky; top: 110px; align-self: start; }
@media (max-width: 991.98px){
  .faq-head{ position: static; }
}

.faq-accordion .accordion-item{
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--sand-line);
  border-radius: 0;
}
.faq-accordion .accordion-item:first-child{ border-top: 1px solid var(--sand-line); }

.faq-accordion .accordion-button{
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  padding: 22px 0;
  box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed){
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}
.faq-accordion .accordion-button::after{
  background-image: none;
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--accent-dark);
  width: auto;
  height: auto;
  line-height: 1;
  transition: transform .3s var(--ease);
}
.faq-accordion .accordion-button:not(.collapsed)::after{
  content: "+";
  transform: rotate(45deg);
}
.faq-accordion .accordion-body{
  padding: 0 0 24px;
  font-size: 15.5px;
  color: var(--muted);
  max-width: 60ch;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-section{ background: var(--sand-tint); }

.contact-details{
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.contact-details li{
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--sand-line);
}
.contact-details li:last-child{ border-bottom: none; }
.contact-label{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-details a{
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  transition: color .2s;
}
.contact-details a:hover{ color: var(--accent-dark); }

.contact-form{
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  padding: 36px;
  margin: 0;
}
@media (max-width: 575.98px){
  .contact-form{ padding: 24px; }
}

.contact-form .form-label{
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.contact-form .form-control,
.contact-form .form-select{
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 16px;
  border: 1px solid var(--sand-line);
  border-radius: 10px;
  background: var(--sand-tint);
  color: var(--ink);
  box-shadow: none;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus{
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-note{
  font-size: 13px;
  color: var(--muted);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background: var(--ink);
  color: rgba(255,255,255,.85);
  padding: 60px 0 0;
  border-top: 3px solid var(--sand-deep);
}
.footer-inner{
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-logo{
  height: 64px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  margin-bottom: 14px;
}
.footer-brand p{ margin: 4px 0; font-size: 14.5px; color: rgba(255,255,255,.85); }
.footer-muted{ color: rgba(255,255,255,.5) !important; font-size: 13.5px !important; }

.footer-nav a,
.footer-contact a{
  font-size: 14.5px;
  color: rgba(255,255,255,.75);
  padding: 6px 0;
}
.footer-nav a:hover{ color: var(--sand); }
.footer-contact a:hover{ color: var(--whatsapp); }

.footer-bottom{
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  text-align: center;
}

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.whatsapp-float{
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(29,168,81,.35);
  z-index: 1040;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.whatsapp-float:hover{
  background: var(--whatsapp-dark);
  transform: scale(1.08);
  color: var(--white);
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   AJUSTES RESPONSIVE ESPECÍFICOS
   ========================================================= */

/* Celular (<576px) */
@media (max-width: 575.98px){
  .hero{ padding: 44px 0 40px; }
  .section{ padding: 64px 0; }
  .hero-stats .stat-number{ font-size: 20px; }
  .hero-stats .stat-label{ font-size: 11px; }
  .zone-inner{ text-align: left; }
  .contact-details li a{ display: block; }
}

/* Tablet (576px–991px) */
@media (min-width: 576px) and (max-width: 991.98px){
  .hero-media{ order: -1; margin-bottom: 8px; }
  .hero-img{ aspect-ratio: 16 / 9; }
}

/* Menú desplegable móvil/tablet */
@media (max-width: 991.98px){
  .navbar-collapse{
    background: var(--white);
    border-top: 1px solid var(--sand-line);
    margin-top: 14px;
    padding-top: 14px;
  }
  .main-nav{ gap: 6px; }
  .header-cta{ align-self: flex-start; }
}

/* Computadora / escritorio (≥992px) ya cubierto por el grid de Bootstrap col-lg-* */