/* ================================================================
   COPROSA – Main Stylesheet
   ================================================================ */

/* ── Reset & variables ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:     #0B1F3A;
  --blue:     #1A4A7A;
  --mid:      #2E6DB4;
  --steel:    #5A8BB8;
  --silver:   #A8BDD1;
  --light:    #E8EFF6;
  --white:    #F5F8FC;
  --gray:     #6B7D8F;
  --accent:   #F0A500;
  --text:     #1C2B3A;
  --wa-green: #25D366;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}


/* ================================================================
   NAV
   ================================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center;
  padding: 0 3vw;
  height: 70px;
  background: rgba(11,31,58,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.3s ease;
  gap: 0;
}
nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.4); }

/* Logo */
.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 1.9rem;
  letter-spacing: 0.08em; color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 2rem;
  z-index: 201;
}
.nav-logo span { color: var(--accent); }

/* Nav links list */
.nav-links {
  display: flex; align-items: center; gap: 0.2rem;
  list-style: none;
  flex: 1;
}
/* Shared rule — explicit font on BOTH <a> and <button> so browsers
   can't override the button's default system font */
.nav-links > li > a,
.dropdown-trigger {
  font-family: 'Barlow', sans-serif;
  font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  border-radius: 2px;
  line-height: 1;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.dropdown-trigger:hover { color: var(--accent); }
.nav-links > li.active > a,
.nav-links > li.active > .dropdown-trigger { color: var(--accent); }

/* Dropdown trigger button reset */
.dropdown-trigger {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 0.35rem;
}

/* Arrow */
.nav-arrow {
  display: inline-block; width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.22s ease;
  flex-shrink: 0;
  margin-top: 1px;
}
.has-dropdown:hover .nav-arrow,
.has-dropdown:focus-within .nav-arrow,
.has-dropdown.open .nav-arrow { transform: rotate(180deg); }

/* Dropdown panel */
.has-dropdown { position: relative; }

.dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 210px;
  background: var(--navy);
  border: 1px solid rgba(90,139,184,0.2);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 6px 6px;
  list-style: none;
  padding: 0.4rem 0;
  opacity: 0; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 300;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: block;
  padding: 0.62rem 1.1rem;
  color: var(--silver); font-size: 0.87rem;
  text-decoration: none; white-space: nowrap;
  transition: color .15s, background .15s;
}
.dropdown li a:hover { color: #fff; background: rgba(255,255,255,0.06); }

/* Nav contact — right side (phone + CTA button) */
.nav-contact {
  display: flex; align-items: center; gap: 0.75rem;
  flex-shrink: 0; margin-left: auto;
}
.nav-phone {
  display: flex; align-items: center; gap: 0.35rem;
  color: var(--accent);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.nav-phone:hover { color: #ffc233; }
.nav-phone svg { flex-shrink: 0; }

.nav-cta-btn {
  font-size: 0.88rem !important;
  padding: 0.5rem 1.2rem !important;
  white-space: nowrap;
}

/* Mobile contact item (inside hamburger panel) */
.nav-mobile-contact { display: none; }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px; z-index: 201;
  flex-shrink: 0; margin-left: 1rem;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px; background: #fff;
  border-radius: 2px; transition: transform .3s ease, opacity .3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile backdrop */
.nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 198;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(2px);
}
.nav-overlay.show { display: block; }


/* ================================================================
   HERO (homepage)
   ================================================================ */
#inicio {
  min-height: 100vh; display: flex; align-items: center;
  padding: 100px 5vw 100px; position: relative; overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(46,109,180,0.25) 0%, transparent 70%),
    linear-gradient(160deg, #0B1F3A 0%, #0d2545 60%, #0B1F3A 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(90,139,184,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90,139,184,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }

.hero-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid rgba(240,165,0,0.3);
  padding: 0.35rem 1rem; border-radius: 2px; margin-bottom: 1.8rem;
  animation: fadeUp 0.6s ease both;
}
.hero-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(3.2rem, 8vw, 6.5rem); line-height: 0.95; color: #fff;
  text-transform: uppercase; letter-spacing: -0.01em;
  animation: fadeUp 0.7s ease 0.1s both;
}
.hero-title em { font-style: normal; color: var(--steel); display: block; }
.hero-sub {
  margin-top: 1.8rem; font-size: 1.1rem; font-weight: 300;
  color: var(--silver); line-height: 1.7; max-width: 540px;
  animation: fadeUp 0.7s ease 0.2s both;
}
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-actions {
  margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.3s both;
}
.hero-stats {
  position: absolute; right: 5vw; top: 50%; transform: translateY(-50%); z-index: 2;
  display: flex; flex-direction: column; gap: 1.5rem;
  animation: fadeUpCenter 0.7s ease 0.4s both;
}
.stat-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(90,139,184,0.2);
  border-radius: 4px; padding: 1.2rem 1.8rem; text-align: right;
  backdrop-filter: blur(6px);
}
.stat-num {
  font-family: 'Barlow Condensed', sans-serif; font-size: 2.6rem;
  font-weight: 900; color: #fff; line-height: 1;
}
.stat-num span { color: var(--accent); }
.stat-label {
  font-size: 0.78rem; color: var(--silver);
  text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.2rem;
}


/* ================================================================
   PAGE HERO (inner pages)
   ================================================================ */
.page-hero {
  background: var(--navy); padding: 140px 5vw 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 60%, rgba(46,109,180,0.22) 0%, transparent 65%),
    linear-gradient(160deg, #0B1F3A 0%, #0d2545 60%, #0B1F3A 100%);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(90,139,184,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90,139,184,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 1; max-width: 700px; }
.page-hero-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(2.8rem, 6vw, 5rem); line-height: 0.95; color: #fff;
  text-transform: uppercase; letter-spacing: -0.01em; margin: 0.6rem 0 1rem;
  animation: fadeUp 0.65s ease both;
}
.page-hero-title span { color: var(--steel); }
.page-hero-sub {
  font-size: 1.05rem; font-weight: 300; color: var(--silver); line-height: 1.7;
  max-width: 540px; animation: fadeUp 0.65s ease 0.1s both;
}
.page-hero .section-label { animation: fadeUp 0.5s ease both; }


/* ================================================================
   BUTTONS
   ================================================================ */
.btn-primary {
  background: var(--accent); color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.85rem 2rem; border: none; cursor: pointer; border-radius: 2px;
  text-decoration: none; transition: transform .15s, background .2s;
  display: inline-block;
}
.btn-primary:hover { background: #ffc233; transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: #fff;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.85rem 2rem; border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer; border-radius: 2px; text-decoration: none;
  transition: border-color .2s, background .2s; display: inline-block;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.05); }
.btn-outline-dark {
  background: transparent; color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.85rem 2rem; border: 1.5px solid var(--navy);
  cursor: pointer; border-radius: 2px; text-decoration: none;
  transition: border-color .2s, background .2s, color .2s; display: inline-block;
}
.btn-outline-dark:hover { background: var(--navy); color: #fff; }


/* ================================================================
   SECTION COMMON
   ================================================================ */
section { padding: 100px 5vw; }

.section-label {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem;
  font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 0.8rem;
  display: flex; align-items: center; gap: 0.55rem;
}
.section-label::before {
  content: ''; width: 18px; height: 2px;
  background: var(--accent); flex-shrink: 0;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1;
  text-transform: uppercase; color: var(--navy); letter-spacing: -0.01em;
}
.section-title span { color: var(--mid); }
.section-desc {
  margin-top: 1rem; font-size: 1rem; color: var(--gray);
  line-height: 1.7; max-width: 600px;
}

/* CTA strip used at the bottom of inner pages */
.cta-strip {
  background: var(--accent); padding: 60px 5vw;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.cta-strip h2 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.8rem); text-transform: uppercase;
  color: var(--navy); line-height: 1.05;
}
.cta-strip p { color: var(--navy); font-size: 1rem; opacity: 0.8; margin-top: 0.3rem; }
.btn-dark {
  background: var(--navy); color: #fff;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.9rem 2.2rem; border: none; cursor: pointer; border-radius: 2px;
  text-decoration: none; transition: background .2s, transform .15s; display: inline-block;
  white-space: nowrap;
}
.btn-dark:hover { background: var(--blue); transform: translateY(-2px); }


/* ================================================================
   SERVICES (homepage)
   ================================================================ */
#servicios { background: var(--white); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px; margin-top: 4rem; background: var(--silver);
  border: 1.5px solid var(--silver);
}
.service-card {
  background: #fff; padding: 2.5rem; position: relative; overflow: hidden;
  transition: background .25s;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  height: 3px; width: 0; background: var(--mid); transition: width .35s ease;
}
.service-card:hover { background: var(--light); }
.service-card:hover::before { width: 100%; }
.service-icon { font-size: 2.2rem; margin-bottom: 1.2rem; }
.service-icon-svg {
  width: 40px; height: 40px; color: var(--mid);
  margin-bottom: 1.3rem; display: block;
  transition: color .25s, transform .25s;
}
.service-card:hover .service-icon-svg { color: var(--navy); transform: translateY(-2px); }
.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.4rem; font-weight: 700;
  text-transform: uppercase; color: var(--navy); letter-spacing: 0.03em; margin-bottom: 0.6rem;
}
.service-card p { font-size: 0.92rem; color: var(--gray); line-height: 1.65; }

/* Stagger reveal */
.services-grid .service-card:nth-child(1) { transition-delay:   0ms; }
.services-grid .service-card:nth-child(2) { transition-delay:  80ms; }
.services-grid .service-card:nth-child(3) { transition-delay: 160ms; }
.services-grid .service-card:nth-child(4) { transition-delay: 240ms; }
.services-grid .service-card:nth-child(5) { transition-delay: 320ms; }
.services-grid .service-card:nth-child(6) { transition-delay: 400ms; }


/* ================================================================
   PROCESO PREVIEW (homepage section)
   ================================================================ */
#proceso { background: var(--light); }

.steps-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0; margin-top: 3.5rem; position: relative;
}
.steps-track::before {
  content: ''; position: absolute; top: 28px; left: 28px; right: 28px; height: 2px;
  background: linear-gradient(90deg, var(--mid), var(--steel));
  z-index: 0;
}
.step-item {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 1rem 2rem;
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: var(--accent);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--light); margin-bottom: 1rem; flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--mid);
}
.step-item h4 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--navy); margin-bottom: 0.4rem;
}
.step-item p { font-size: 0.85rem; color: var(--gray); line-height: 1.55; }
.steps-cta { margin-top: 3rem; }


/* ================================================================
   REQUISITOS (homepage)
   ================================================================ */
#requisitos { background: var(--navy); }
#requisitos .section-label { color: var(--steel); }
#requisitos .section-title { color: #fff; }
#requisitos .section-title span { color: var(--steel); }
#requisitos .section-desc { color: var(--silver); }

.req-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem; margin-top: 3.5rem;
}
.req-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(90,139,184,0.15);
  border-radius: 4px; padding: 1.4rem 1.6rem;
  transition: background .2s, border-color .2s;
}
.req-item:hover { background: rgba(255,255,255,0.07); border-color: rgba(90,139,184,0.35); }

.req-grid .req-item:nth-child(1) { transition-delay:   0ms; }
.req-grid .req-item:nth-child(2) { transition-delay:  80ms; }
.req-grid .req-item:nth-child(3) { transition-delay: 160ms; }
.req-grid .req-item:nth-child(4) { transition-delay: 240ms; }
.req-grid .req-item:nth-child(5) { transition-delay: 320ms; }
.req-grid .req-item:nth-child(6) { transition-delay: 400ms; }

.req-num {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 1.8rem; color: var(--accent); line-height: 1; min-width: 2rem;
}
.req-text h4 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.05em; color: #fff; margin-bottom: 0.25rem;
}
.req-text p { font-size: 0.88rem; color: var(--silver); line-height: 1.55; }
.req-note {
  margin-top: 2.5rem; padding: 1.5rem 2rem;
  background: rgba(240,165,0,0.08); border-left: 3px solid var(--accent);
  color: var(--silver); font-size: 0.9rem; line-height: 1.6;
  border-radius: 0 4px 4px 0;
}
.req-note strong { color: var(--accent); }


/* ================================================================
   CALCULADORA (widget — used on homepage and calculadora page)
   ================================================================ */
#calculadora,
.calculadora-page-section { background: var(--white); }

.calc-widget {
  max-width: 640px; margin-top: 3.5rem;
  background: #fff; border: 1.5px solid var(--silver);
  border-radius: 6px; overflow: hidden;
}
.calc-step {
  padding: 2.2rem 2.5rem;
}
.calc-step h3 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.4rem;
  text-transform: uppercase; color: var(--navy); letter-spacing: 0.03em; margin-bottom: 1.4rem;
}
.calc-options {
  display: flex; flex-direction: column; gap: 0.6rem;
}
.calc-opt {
  background: var(--light); border: 1.5px solid var(--silver);
  border-radius: 3px; padding: 0.85rem 1.2rem;
  font-family: 'Barlow', sans-serif; font-size: 0.95rem; color: var(--text);
  cursor: pointer; text-align: left;
  transition: border-color .18s, background .18s, color .18s;
}
.calc-opt:hover { border-color: var(--mid); background: #e4eef8; color: var(--navy); }
.calc-result {
  padding: 2.2rem 2.5rem; border-top: 3px solid var(--wa-green); text-align: center;
}
.calc-result--no { border-top-color: var(--steel); }
.calc-result-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(37,211,102,0.12); color: var(--wa-green);
  font-size: 1.8rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
}
.calc-result-icon--no { background: rgba(90,139,184,0.12); color: var(--steel); }
.calc-result h3 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.8rem;
  text-transform: uppercase; color: var(--navy); margin-bottom: 0.8rem;
}
.calc-result p { color: var(--gray); font-size: 0.97rem; line-height: 1.65; margin-bottom: 0.8rem; }
.calc-estimate {
  background: var(--light); border-left: 3px solid var(--accent);
  padding: 0.9rem 1.2rem; margin: 1.2rem 0;
  font-size: 1.1rem; color: var(--navy); border-radius: 0 3px 3px 0;
  text-align: left;
}
.calc-estimate strong { font-family: 'Barlow Condensed', sans-serif; font-size: 1.4rem; }
.calc-disclaimer { font-size: 0.8rem; color: var(--gray); margin-bottom: 1.4rem; }
.calc-progress {
  height: 4px; background: var(--light); position: relative; overflow: hidden;
}
.calc-progress-bar {
  height: 100%; background: var(--accent);
  transition: width 0.35s ease; width: 33.3%;
}
.calc-restart {
  display: block; width: 100%; padding: 0.7rem;
  background: none; border: none; border-top: 1px solid var(--silver);
  color: var(--gray); font-size: 0.88rem; cursor: pointer;
  transition: color .2s, background .2s;
}
.calc-restart:hover { color: var(--navy); background: var(--light); }
.hidden { display: none !important; }

/* Full-page calc has more space */
.calc-widget--full { max-width: 720px; }
.calc-widget--full .calc-step { padding: 2.8rem 3rem; }


/* ================================================================
   CONTACT (homepage)
   ================================================================ */
#contacto { background: var(--light); }
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 5rem; align-items: start;
}
.contact-info h3 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.1rem;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy); margin-bottom: 1.5rem;
}
.contact-item { display: flex; gap: 0.8rem; align-items: flex-start; margin-bottom: 1.2rem; }
.contact-icon { font-size: 1.2rem; margin-top: 0.1rem; }
.contact-item p { font-size: 0.95rem; color: var(--gray); line-height: 1.5; }
.contact-item p strong { display: block; color: var(--navy); font-weight: 600; margin-bottom: 0.1rem; }

.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.85rem 1rem; background: #fff;
  border: 1.5px solid var(--silver); border-radius: 2px;
  font-family: 'Barlow', sans-serif; font-size: 0.95rem; color: var(--text);
  transition: border-color .2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--mid);
  box-shadow: 0 0 0 3px rgba(46, 109, 180, 0.10);
}
.form-trust {
  display: flex; align-items: center; gap: 0.45rem;
  margin-top: 0.75rem; font-size: 0.78rem; color: var(--gray);
}
.form-trust svg { flex-shrink: 0; color: var(--mid); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; font-size: 1rem; padding: 1rem; }


/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 3rem; padding: 4.5rem 5vw; align-items: start;
}
.footer-logo {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 1.8rem; color: #fff; letter-spacing: 0.08em;
  text-decoration: none; display: inline-block; margin-bottom: 0.8rem;
}
.footer-logo span { color: var(--accent); }
.footer-tagline {
  font-size: 0.875rem; color: var(--silver);
  line-height: 1.65; max-width: 240px; margin-bottom: 1.5rem;
}
.footer-trust {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(90,139,184,0.2);
  border-radius: 3px; padding: 0.45rem 0.9rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--silver);
}
.footer-trust-dot {
  width: 7px; height: 7px; background: var(--accent);
  border-radius: 50%; flex-shrink: 0;
}
.footer-col-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.2rem;
}
.footer-col-links {
  list-style: none; display: flex; flex-direction: column; gap: 0.6rem;
}
.footer-col-links a {
  font-size: 0.875rem; color: var(--silver);
  text-decoration: none; transition: color .18s;
}
.footer-col-links a:hover { color: #fff; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.55rem; margin-bottom: 0.75rem;
}
.footer-contact-icon { font-size: 0.85rem; margin-top: 0.15rem; flex-shrink: 0; }
.footer-contact-item p { font-size: 0.84rem; color: var(--silver); line-height: 1.5; }
.footer-contact-item strong {
  color: rgba(255,255,255,0.85); font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.07em;
  display: block; margin-bottom: 0.1rem;
}
.footer-wa-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--wa-green); color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; padding: 0.6rem 1rem;
  border-radius: 3px; margin-top: 0.9rem;
  transition: background .18s, transform .15s;
}
.footer-wa-link:hover { background: #1da851; transform: translateY(-1px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.2rem 5vw;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.8rem;
}
.footer-bottom p { font-size: 0.78rem; color: var(--gray); }
.footer-legal { display: flex; gap: 1.5rem; list-style: none; }
.footer-legal a {
  font-size: 0.78rem; color: var(--gray);
  text-decoration: none; transition: color .18s;
}
.footer-legal a:hover { color: var(--silver); }


/* ================================================================
   WHATSAPP FLOATING BUTTON
   ================================================================ */
.whatsapp-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; background: var(--wa-green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-btn:hover { transform: scale(1.12); box-shadow: 0 6px 30px rgba(37,211,102,0.6); }
.whatsapp-btn svg { position: relative; z-index: 2; flex-shrink: 0; }
.whatsapp-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--wa-green); animation: waPulse 2.2s ease-out infinite; z-index: 1;
}
.whatsapp-tooltip {
  position: absolute; right: calc(100% + 14px); top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--navy); color: #fff;
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.88rem; font-weight: 600;
  padding: 0.4rem 0.9rem; border-radius: 4px;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.whatsapp-tooltip::after {
  content: ''; position: absolute; top: 50%; left: 100%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: var(--navy);
}
.whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }


/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ================================================================
   PROYECTOS PAGE
   ================================================================ */
.filter-bar {
  display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 3rem;
}
.filter-btn {
  padding: 0.45rem 1.1rem; border: 1.5px solid var(--silver);
  border-radius: 20px; background: none; cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.85rem;
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray);
  transition: border-color .18s, background .18s, color .18s;
}
.filter-btn:hover,
.filter-btn.active { border-color: var(--mid); background: var(--mid); color: #fff; }

.projects-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}
.project-card {
  background: #fff; border: 1.5px solid var(--silver);
  border-radius: 4px; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(11,31,58,0.12); }
.project-img {
  height: 200px; background: var(--light);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--silver); position: relative; overflow: hidden;
}
.project-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.project-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--accent); color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 2px;
}
.project-info { padding: 1.4rem; }
.project-info h3 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.15rem;
  text-transform: uppercase; color: var(--navy); letter-spacing: 0.03em; margin-bottom: 0.3rem;
}
.project-meta {
  display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.7rem;
}
.project-meta span {
  font-size: 0.82rem; color: var(--gray);
  display: flex; align-items: center; gap: 0.3rem;
}


/* ================================================================
   MODELOS PAGE
   ================================================================ */
.models-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem; margin-top: 3.5rem;
}
.model-card {
  background: #fff; border: 1.5px solid var(--silver); border-radius: 4px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.model-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(11,31,58,0.12); }
.model-img {
  height: 220px; background: var(--light);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; color: var(--steel); position: relative;
}
.model-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.model-tag {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(11,31,58,0.7));
  padding: 1.5rem 1rem 0.7rem;
}
.model-tag span {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
}
.model-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.model-body h3 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.5rem;
  text-transform: uppercase; color: var(--navy); letter-spacing: 0.02em; margin-bottom: 0.8rem;
}
.model-specs {
  display: flex; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--light);
}
.model-spec {
  display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
}
.model-spec-val {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--navy);
}
.model-spec-lbl { font-size: 0.75rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; }
.model-features { list-style: none; padding: 0; margin-bottom: 1.5rem; flex: 1; }
.model-features li {
  font-size: 0.9rem; color: var(--gray); padding: 0.35rem 0;
  border-bottom: 1px solid var(--light); display: flex; align-items: center; gap: 0.5rem;
}
.model-features li::before { content: '✓'; color: var(--mid); font-weight: 700; }


/* ================================================================
   PROCESO PAGE (full timeline)
   ================================================================ */
.timeline { margin-top: 3.5rem; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 27px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(var(--mid), var(--steel)); z-index: 0;
}
.timeline-item {
  display: flex; gap: 2rem; align-items: flex-start;
  padding-bottom: 3rem; position: relative; z-index: 1;
}
.timeline-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: var(--accent); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.3rem;
  border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--mid);
}
.timeline-body { padding-top: 0.6rem; flex: 1; }
.timeline-body h3 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.35rem;
  text-transform: uppercase; color: var(--navy); letter-spacing: 0.03em; margin-bottom: 0.5rem;
}
.timeline-body p { font-size: 0.95rem; color: var(--gray); line-height: 1.7; }
.timeline-time {
  display: inline-block; margin-top: 0.7rem;
  font-size: 0.78rem; color: var(--mid); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--light); padding: 0.25rem 0.7rem; border-radius: 20px;
}


/* ================================================================
   FAQ PAGE
   ================================================================ */
.faq-groups { margin-top: 3.5rem; }
.faq-group { margin-bottom: 3rem; }
.faq-group-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--mid);
  padding-bottom: 0.8rem; border-bottom: 2px solid var(--light);
  margin-bottom: 0.5rem;
}
.faq-item { border-bottom: 1px solid var(--light); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.1rem 0; background: none; border: none; cursor: pointer;
  text-align: left;
}
.faq-question-text {
  font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 0.97rem;
  color: var(--navy); line-height: 1.4;
}
.faq-icon {
  width: 22px; height: 22px; border-radius: 50%; background: var(--light);
  color: var(--mid); font-size: 1.1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background .2s, color .2s, transform .25s;
}
.faq-item.open .faq-icon { background: var(--mid); color: #fff; transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 0 0 0;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 1.2rem; }
.faq-answer p { font-size: 0.93rem; color: var(--gray); line-height: 1.7; }


/* ================================================================
   SOBRE NOSOTROS PAGE
   ================================================================ */
.about-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  margin-top: 3.5rem; align-items: center;
}
.about-intro-text p {
  font-size: 1rem; color: var(--gray); line-height: 1.8; margin-bottom: 1.2rem;
}
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.about-stat {
  background: var(--navy); border-radius: 4px; padding: 1.8rem;
  text-align: center;
}
.about-stat-num {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 3rem; color: #fff; line-height: 1;
}
.about-stat-num span { color: var(--accent); }
.about-stat-lbl { font-size: 0.82rem; color: var(--silver); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.3rem; }

.history-timeline { margin-top: 3rem; }
.history-item {
  display: flex; gap: 2rem; padding-bottom: 2.5rem; position: relative;
}
.history-item::before {
  content: ''; position: absolute; left: 35px; top: 52px; bottom: 0; width: 2px;
  background: var(--light);
}
.history-item:last-child::before { display: none; }
.history-year {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.1rem;
  color: var(--accent); min-width: 70px; padding-top: 0.3rem;
}
.history-dot {
  width: 14px; height: 14px; border-radius: 50%; background: var(--mid);
  border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--mid);
  margin-top: 0.5rem; flex-shrink: 0;
}
.history-body h4 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.1rem;
  text-transform: uppercase; color: var(--navy); margin-bottom: 0.3rem;
}
.history-body p { font-size: 0.92rem; color: var(--gray); line-height: 1.6; }

.team-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}
.team-card { text-align: center; }
.team-photo {
  width: 120px; height: 120px; border-radius: 50%; background: var(--light);
  margin: 0 auto 1rem; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--silver); border: 3px solid var(--silver);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.1rem;
  text-transform: uppercase; color: var(--navy); margin-bottom: 0.2rem;
}
.team-card p { font-size: 0.85rem; color: var(--gray); }

.certs-grid {
  display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem;
}
.cert-badge {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--light); border: 1.5px solid var(--silver);
  border-radius: 4px; padding: 0.9rem 1.4rem;
}
.cert-badge span { font-size: 1.6rem; }
.cert-badge p { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.95rem; text-transform: uppercase; color: var(--navy); }
.cert-badge small { font-size: 0.78rem; color: var(--gray); }


/* ================================================================
   TESTIMONIOS PAGE
   ================================================================ */
.testimonial-featured {
  margin-top: 3.5rem; background: var(--navy); border-radius: 6px;
  padding: 3rem 3.5rem; position: relative; overflow: hidden;
}
.testimonial-featured::before {
  content: '"'; position: absolute; top: -20px; left: 30px;
  font-size: 15rem; font-family: 'Barlow Condensed', sans-serif;
  color: rgba(90,139,184,0.08); line-height: 1; pointer-events: none;
}
.testimonial-featured blockquote {
  font-size: 1.25rem; color: #fff; font-weight: 300; line-height: 1.75;
  position: relative; z-index: 1; margin-bottom: 1.5rem; max-width: 800px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 1rem;
}
.testimonial-avatar {
  width: 52px; height: 52px; border-radius: 50%; background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0; overflow: hidden;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; text-transform: uppercase; color: #fff; }
.testimonial-loc { font-size: 0.85rem; color: var(--silver); }
.testimonial-stars { color: var(--accent); font-size: 0.9rem; margin-top: 0.2rem; }

.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.testimonial-card {
  background: #fff; border: 1.5px solid var(--silver); border-radius: 4px; padding: 1.8rem;
  transition: transform .22s ease, box-shadow .22s ease;
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(11,31,58,0.1); }
.testimonial-card blockquote {
  font-size: 0.93rem; color: var(--gray); line-height: 1.7;
  margin-bottom: 1.2rem; font-style: italic;
}
.testimonial-card blockquote::before { content: '"'; color: var(--accent); font-size: 1.5rem; font-family: 'Barlow Condensed', sans-serif; font-style: normal; line-height: 0; vertical-align: -0.4em; margin-right: 0.2rem; }


/* ================================================================
   BLOG PAGE
   ================================================================ */
.blog-featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  margin-top: 3.5rem; align-items: center;
}
.blog-featured-img {
  height: 320px; background: var(--light); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: var(--silver); overflow: hidden; position: relative;
}
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-cat {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--mid);
}
.blog-date { font-size: 0.82rem; color: var(--gray); margin: 0.4rem 0 0.8rem; }
.blog-featured-body h2 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.5rem); text-transform: uppercase;
  color: var(--navy); letter-spacing: 0.01em; line-height: 1.05; margin-bottom: 1rem;
}
.blog-featured-body p { font-size: 0.97rem; color: var(--gray); line-height: 1.7; margin-bottom: 1.4rem; }

.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 1.5rem;
}
.blog-card {
  background: #fff; border: 1.5px solid var(--silver); border-radius: 4px; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease; display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(11,31,58,0.1); }
.blog-card-img {
  height: 170px; background: var(--light);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--silver); overflow: hidden; position: relative;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.3rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-body h3 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.2rem;
  text-transform: uppercase; color: var(--navy); margin: 0.4rem 0 0.6rem; line-height: 1.1;
}
.blog-card-body p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; flex: 1; }
.blog-read-more {
  display: inline-block; margin-top: 1rem;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.88rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--mid);
  text-decoration: none; transition: color .2s;
}
.blog-read-more:hover { color: var(--navy); }

/* Blog post article */
.blog-post { max-width: 740px; margin: 0 auto; padding: 0 5vw; }
.blog-post-header { padding: 80px 0 40px; border-bottom: 1px solid var(--light); margin-bottom: 3rem; }
.blog-post h2 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.5rem; text-transform: uppercase; color: var(--navy); margin: 1.5rem 0 0.8rem; }
.blog-post h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.2rem; text-transform: uppercase; color: var(--navy); margin: 1.2rem 0 0.6rem; }
.blog-post p { font-size: 1rem; color: var(--text); line-height: 1.85; margin-bottom: 1.2rem; }
.blog-post ul, .blog-post ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.blog-post li { font-size: 0.97rem; color: var(--text); line-height: 1.75; margin-bottom: 0.4rem; }
.blog-post blockquote {
  border-left: 3px solid var(--accent); padding: 0.8rem 1.5rem; margin: 1.5rem 0;
  background: var(--light); border-radius: 0 4px 4px 0;
  font-size: 1.05rem; color: var(--navy); font-style: italic;
}


/* ================================================================
   IMAGE PLACEHOLDERS — hide emoji, show architectural SVG backdrop
   ================================================================ */
.project-img, .model-img, .blog-card-img, .blog-featured-img { font-size: 0; }

.project-img::before, .model-img::before,
.blog-card-img::before, .blog-featured-img::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 64' fill='none' stroke='%231A4A7A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 30L40 8l32 22v32H8z'/%3E%3Crect x='28' y='42' width='24' height='22' rx='1'/%3E%3Crect x='14' y='36' width='14' height='12' rx='1'/%3E%3Crect x='52' y='36' width='14' height='12' rx='1'/%3E%3C/svg%3E")
    center / 80px no-repeat,
    linear-gradient(135deg, var(--light) 0%, #ccd8e6 100%);
}
.project-img:has(img)::before, .model-img:has(img)::before,
.blog-card-img:has(img)::before, .blog-featured-img:has(img)::before { display: none; }


/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUpCenter {
  from { opacity: 0; transform: translateY(calc(-50% + 24px)); }
  to   { opacity: 1; transform: translateY(-50%); }
}
@keyframes waPulse {
  0%   { transform: scale(1);    opacity: 0.75; }
  70%  { transform: scale(1.65); opacity: 0;    }
  100% { transform: scale(1.65); opacity: 0;    }
}


/* ================================================================
   RESPONSIVE — tablet ≤ 900px
   ================================================================ */
@media (max-width: 900px) {
  /* Footer */
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-tagline { max-width: 100%; }

  /* Hide stats and 2-col layouts */
  .hero-stats     { display: none; }
  .contact-wrap   { grid-template-columns: 1fr; gap: 3rem; }
  .about-intro    { grid-template-columns: 1fr; gap: 2.5rem; }
  .blog-featured  { grid-template-columns: 1fr; }

  /* Nav: show hamburger, hide desktop links & contact */
  .nav-hamburger { display: flex; margin-left: auto; }
  .nav-contact   { display: none; }

  .nav-links {
    flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: 0; right: 0;
    width: min(300px, 82vw); height: 100vh;
    background: var(--navy); padding: 80px 0 2rem;
    list-style: none; overflow-y: auto;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    z-index: 199; border-left: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links > li { border-bottom: 1px solid rgba(255,255,255,0.07); }

  .nav-links > li > a,
  .dropdown-trigger {
    display: flex; align-items: center; width: 100%;
    padding: 1rem 1.6rem; font-size: 1rem; border-radius: 0;
    justify-content: space-between;
  }
  .dropdown-trigger .nav-arrow { transform: rotate(-90deg); }
  .has-dropdown.open .dropdown-trigger .nav-arrow { transform: rotate(0deg); }

  /* Mobile accordion dropdown */
  .dropdown {
    position: static; transform: none !important;
    opacity: 1 !important; pointer-events: auto !important;
    border: none; border-top: 1px solid rgba(255,255,255,0.06);
    border-radius: 0; padding: 0;
    background: rgba(0,0,0,0.2);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .has-dropdown.open .dropdown { max-height: 300px; }
  .dropdown li a { padding: 0.8rem 1.6rem 0.8rem 2.4rem; font-size: 0.93rem; }

  /* Mobile contact item shown in menu */
  .nav-mobile-contact {
    display: flex !important; flex-direction: column;
    gap: 0.8rem; padding: 1.4rem 1.6rem; border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: auto;
  }
  .nav-phone-mobile {
    display: flex; align-items: center; gap: 0.4rem;
    color: var(--accent); font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem; font-weight: 700; text-decoration: none;
  }
  .nav-cta-btn { text-align: center; }

  /* Page adjustments */
  .form-row        { grid-template-columns: 1fr; }
  .models-grid     { grid-template-columns: 1fr; }
  .steps-track::before { display: none; }
  .steps-track     { grid-template-columns: 1fr; gap: 0; }
  .step-item       { flex-direction: row; text-align: left; align-items: flex-start; gap: 1.2rem; padding-bottom: 1.5rem; }
  .step-num        { flex-shrink: 0; }
}


/* ================================================================
   RESPONSIVE — mobile ≤ 600px
   ================================================================ */
@media (max-width: 600px) {
  /* Footer */
  .footer-main { grid-template-columns: 1fr; padding: 3rem 5vw; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }

  section        { padding: 72px 5vw; }
  #inicio        { padding: 100px 5vw 60px; }

  .hero-title    { font-size: clamp(2.6rem, 11vw, 3.8rem); }
  .hero-actions  { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; }

  .services-grid { grid-template-columns: 1fr; }
  .req-grid      { grid-template-columns: 1fr; }
  .teams-grid, .certs-grid { grid-template-columns: 1fr; }

  .about-stats   { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr; }

  .cta-strip     { flex-direction: column; text-align: center; }
  .cta-strip .btn-dark { width: 100%; }

  .timeline::before { left: 21px; }
  .timeline-icon { width: 44px; height: 44px; font-size: 1rem; }
  .timeline-item { gap: 1.2rem; }

  .testimonial-featured { padding: 2rem 1.5rem; }
  .blog-featured-img { height: 220px; }

  .calc-widget .calc-step { padding: 1.5rem; }
  .calc-widget .calc-step h3 { font-size: 1.15rem; }

  .whatsapp-btn  { bottom: 20px; right: 20px; width: 54px; height: 54px; }
  .whatsapp-tooltip {
    right: auto; left: 50%; bottom: calc(100% + 12px); top: auto;
    transform: translateX(-50%) translateY(6px);
  }
  .whatsapp-tooltip::after {
    top: 100%; left: 50%; right: auto; transform: translateX(-50%);
    border-left-color: transparent; border-top-color: var(--navy);
  }
  .whatsapp-btn:hover .whatsapp-tooltip {
    transform: translateX(-50%) translateY(0);
  }
}
