:root {
  --navy: #0b2f5b;
  --navy-dark: #06233f;
  --green: #0c8f4f;
  --green-dark: #08713e;
  --gold: #c9952e;
  --text: #132238;
  --muted: #607087;
  --light: #f6f8fb;
  --white: #ffffff;
  --border: #e6ebf2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1240px, 90%);
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.navbar {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo img {
  width: 175px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 700;
}

.main-nav a {
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--green);
}

/* BOTONES */

.btn {
  min-height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 9px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--navy);
}

.btn-secondary:hover {
  background: var(--light);
}

.whatsapp-icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}

/* HERO */

.hero {
  background: var(--white);
  overflow: hidden;
}

.hero-grid {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
}

.hero-content {
  padding: 90px 64px 90px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero h1 {
  max-width: 590px;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -1px;
}

.hero h1 span {
  color: var(--green);
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.trust-item {
  white-space: nowrap;
}

.hero-photo {
  position: relative;
  width: 100%;
  min-height: 690px;
  overflow: hidden;
  background: transparent;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.founder-card {
  position: absolute;
  right: 20px;
  bottom: 20px;
  min-width: 235px;
  padding: 17px 20px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
}

.founder-card strong {
  display: block;
  margin-bottom: 3px;
  font-size: 17px;
}

.founder-card span {
  font-size: 12px;
  opacity: 0.88;
}

/* SECCIONES */

.section {
  padding: 86px 0;
}

.section-light {
  background: var(--light);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.section-heading h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 45px);
  line-height: 1.16;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

/* SERVICIOS */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(14, 38, 66, 0.08);
}

.service-card-body {
  padding: 32px;
}

.service-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-card.green .service-label {
  color: var(--green);
}

.service-card.blue .service-label {
  color: var(--navy);
}

.service-card.gold .service-label {
  color: var(--gold);
}

.service-card h3 {
  min-height: 64px;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.25;
}

.service-card p {
  min-height: 118px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.text-link {
  color: var(--navy);
  font-weight: 700;
}

.text-link:hover {
  color: var(--green);
}

/* CTA */

.cta-section {
  background: var(--navy-dark);
  color: var(--white);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.cta-section h2 {
  max-width: 600px;
  margin-bottom: 17px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.15;
}

.cta-section p {
  max-width: 650px;
  margin-bottom: 27px;
  color: #d5dfeb;
  font-size: 17px;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
}

.cta-points {
  display: grid;
  gap: 16px;
}

.cta-point {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #e3ebf4;
}

.cta-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

/* ABOUT */

.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.about-copy h2 {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.16;
}

.about-copy p {
  color: #34465d;
  font-size: 16px;
  line-height: 1.8;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.about-lead {
  margin-bottom: 16px;
  font-size: 19px !important;
  color: var(--text) !important;
}

.authority-card {
  padding: 34px;
  background: #f5f7fb;
  border: 1px solid #d7dde8;
  border-radius: 16px;
}

.authority-card h3 {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: 23px;
}

.credential {
  padding: 14px 0;
  border-bottom: 1px solid #d7dde8;
}

.credential:last-of-type {
  border-bottom: none;
}

.credential strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
}

.credential span {
  color: var(--muted);
  font-size: 14px;
}

.founder-signature {
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.founder-signature img {
  width: 150px !important;
  max-width: 150px !important;
  max-height: 70px !important;
  height: auto !important;
  object-fit: contain !important;
}

.signature-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.signature-copy strong {
  color: var(--navy);
  font-size: 15px;
}

.signature-copy span {
  color: var(--muted);
  font-size: 13px;
}

/* ==================================================
   RECURSOS
================================================== */

#recursos {
    background: var(--light);
    scroll-margin-top: 110px;
}

.resource-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.resource-heading h2 {
    margin-bottom: 14px;
}

.resource-heading > p:last-child {
    max-width: 680px;
    margin: 0 auto;
    color: var(--muted);
}


/* CONTENEDOR DE LAS TRES GUÍAS */

.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    align-items: stretch;
}


/* TARJETA */

.resource-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    min-width: 0;

    box-shadow: 0 10px 28px rgba(11, 47, 91, 0.07);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(11, 47, 91, 0.11);
}


/* ÁREA DE LA PORTADA */

.resource-image {
    height: 255px;

    padding: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f8fafc;

    border-bottom: 1px solid var(--border);
}


/* MINIATURA DE LA GUÍA */

.resource-image img {
    display: block;

    width: auto;
    height: auto;

    max-width: 185px;
    max-height: 220px;

    object-fit: contain;

    border-radius: 4px;

    box-shadow: 0 8px 20px rgba(11, 47, 91, 0.12);
}


/* CONTENIDO */

.resource-content {
    padding: 24px;

    display: flex;
    flex-direction: column;

    flex: 1;
}

.resource-tag {
    display: inline-flex;
    align-self: flex-start;

    padding: 6px 10px;
    margin-bottom: 13px;

    border-radius: 999px;

    background: rgba(12, 143, 79, 0.10);
    color: var(--green);

    font-size: 11px;
    line-height: 1;

    font-weight: 800;
    letter-spacing: 0.12em;
}

.resource-tag-gold {
    background: rgba(201, 149, 46, 0.12);
    color: #a47416;
}

.resource-content h3 {
    margin: 0 0 12px;

    color: var(--navy);

    font-size: 23px;
    line-height: 1.2;
}

.resource-content p {
    margin: 0 0 22px;

    color: var(--muted);

    line-height: 1.65;
    font-size: 15px;
}

.resource-button {
    margin-top: auto;
    align-self: flex-start;
}


/* ITIN — PRÓXIMAMENTE */

.resource-placeholder {
    height: 255px;

    padding: 25px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 16px;

    background:
        linear-gradient(
            145deg,
            #f7fafc 0%,
            #edf3f8 100%
        );

    border-bottom: 1px solid var(--border);
}

.resource-placeholder-icon {
    width: 105px;
    height: 105px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--navy);
    color: #ffffff;

    font-size: 26px;
    font-weight: 800;

    letter-spacing: 0.06em;

    box-shadow: 0 10px 24px rgba(11, 47, 91, 0.16);
}

.resource-placeholder span {
    color: var(--navy);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.16em;
}

.disabled-button {
    opacity: 0.62;
    cursor: default;
    pointer-events: none;
}


/* TABLET */

@media (max-width: 980px) {

    .resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .resource-image,
    .resource-placeholder {
        height: 240px;
    }

    .resource-image img {
        max-width: 170px;
        max-height: 205px;
    }

}


/* MÓVIL */

@media (max-width: 680px) {

    .resource-heading {
        text-align: left;
        margin-bottom: 30px;
    }

    .resource-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .resource-card {
        width: 100%;
        max-width: 440px;

        margin-left: auto;
        margin-right: auto;
    }

    .resource-image,
    .resource-placeholder {
        height: 250px;
    }

    .resource-image img {
        max-width: 180px;
        max-height: 215px;
    }

    .resource-content {
        padding: 22px;
    }

    .resource-content h3 {
        font-size: 22px;
    }

    .resource-button {
        width: 100%;

        text-align: center;
        justify-content: center;
    }

}

/* FOOTER */

.site-footer {
  padding: 38px 0;
  background: #061d35;
  color: #dbe5f0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

.footer-logo img {
  width: 130px;
  margin-bottom: 12px;
}

.footer-text {
  color: #aebdce;
  font-size: 13px;
}

.footer-contact {
  text-align: right;
  font-size: 13px;
  line-height: 1.9;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .main-nav {
    gap: 16px;
    font-size: 13px;
  }

  .logo img {
    width: 145px;
  }
}

@media (max-width: 820px) {
  .main-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 60px 0;
  }

  .hero-photo {
    min-height: 520px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .service-card h3,
  .service-card p {
    min-height: auto;
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .container {
    width: 90%;
  }

  .navbar {
    min-height: 82px;
  }

  .logo img {
    width: 130px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy,
  .service-card p,
  .about-copy p,
  .cta-section p {
    text-align: left;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .trust-row {
    flex-direction: column;
    gap: 9px;
  }

  .section {
    padding: 65px 0;
  }

  .founder-signature {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Consolidated completion, September 2026. */
.site-header .logo img{height:78px;object-fit:contain}.site-header .navbar{padding-top:8px;padding-bottom:8px}
:root{--green:#087d45;--gold:#876015}
button,input{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #c9952e;outline-offset:4px}section[id]{scroll-margin-top:110px}.skip-link{position:fixed;left:16px;top:-90px;background:white;padding:12px;z-index:2000}.skip-link:focus{top:12px}.navbar{gap:22px;min-height:96px}.logo{flex:0 0 150px}.logo img{width:150px}.main-nav{gap:20px;font-size:14px}.navbar>.btn{flex-shrink:0}.menu-toggle{display:none;background:white;border:1px solid var(--border);padding:9px 12px;border-radius:8px;color:var(--navy)}
.hero-grid{min-height:0;grid-template-columns:1.18fr .82fr;gap:48px;padding:52px 0;align-items:center}.hero-content{padding:22px 0}.hero-photo{min-height:0;height:530px;border-radius:16px;background:#e9e7df}.hero-photo img{height:100%;object-position:center 18%}.hero h1{font-size:clamp(40px,4.5vw,60px)}.hero-copy{hyphens:none}.trust-item{white-space:normal}.founder-card{left:18px;right:18px;bottom:18px;min-width:0}.service-card-body{height:100%;display:flex;flex-direction:column}.service-card-body>.text-link,.service-card-body>.btn{margin-top:auto}.service-card p{hyphens:none}.resource-card{display:flex;flex-direction:column}.resource-cover{background:var(--navy);color:white;padding:28px;min-height:210px;display:flex;flex-direction:column;justify-content:space-between;gap:20px;border-bottom:5px solid #c9952e}.resource-cover span,.resource-cover small{font-size:11px;letter-spacing:1.5px}.resource-cover strong{font-size:30px;line-height:1.1;max-width:250px}.resource-card:nth-child(2) .resource-cover{background:#145746}.resource-card:nth-child(3) .resource-cover{background:#314966}.resource-card h3,.resource-card p{min-height:0}.resource-card p{text-align:left}.resource-card .btn{font-size:14px;padding:10px}.footer-bottom{display:flex;align-items:center;flex-wrap:wrap;gap:24px;border-top:1px solid #294059;margin-top:25px;padding-top:22px;font-size:13px}.cookie-settings{border:0;background:transparent;color:inherit;font-size:inherit}.footer-contact a:hover,.footer-bottom a:hover{text-decoration:underline}.landing-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:64px;align-items:center}h1{font-size:clamp(36px,4.5vw,58px);line-height:1.1;color:var(--navy);letter-spacing:-1px}h2{font-size:clamp(27px,3.5vw,40px);line-height:1.2;color:var(--navy);margin-bottom:20px}.lead{font-size:19px;line-height:1.75;margin:24px 0 28px;color:#34465d}.small-note{font-size:13px;line-height:1.7;color:var(--muted);margin-top:20px}.small-note a,.narrow p a{text-decoration:underline}.check-list{padding-left:22px;display:grid;gap:18px}.check-list li::marker{color:var(--green)}.steps article{padding:16px 24px}.steps h3{font-size:22px;color:var(--navy);margin:12px 0}.step-number{font-size:35px;color:var(--green);font-weight:700}.narrow{max-width:820px}.narrow>h2{margin-top:38px}.narrow>p{margin-bottom:20px}.faq{margin:32px 0}.faq details{border-bottom:1px solid var(--border);padding:20px 0}.faq summary{font-size:18px;font-weight:700;cursor:pointer;color:var(--navy)}.faq p{margin:16px 0 4px}.cta-section h2{color:white}.cta-section .btn{margin-bottom:12px}.form-card{max-width:600px;margin:auto;padding:32px;border:1px solid var(--border);border-radius:16px;background:white}.form-card label{display:block;margin:18px 0 6px;font-weight:700}.form-card input:not([type=checkbox]){width:100%;padding:12px;border:1px solid #7d8b9d;border-radius:6px}.form-card .consent{display:flex;gap:10px;align-items:flex-start;font-size:14px;font-weight:400}.form-card .consent input{margin-top:6px}.form-card .btn{border:0;margin-top:20px}.notice{background:#f0f5fa;border-left:4px solid var(--navy);padding:18px;margin:24px 0}.error{border-color:#b22525;color:#802020}.hp{position:absolute;left:-9999px}.cookie-banner{position:fixed;bottom:18px;left:18px;right:18px;max-width:600px;padding:22px;background:white;border:1px solid var(--border);border-radius:12px;box-shadow:0 6px 30px #06233f33;z-index:1500}.cookie-banner p{font-size:14px;margin-bottom:15px}.cookie-banner button{padding:10px 15px;margin:5px;border-radius:6px;border:1px solid var(--navy);background:white;color:var(--navy)}
@media(max-width:1150px){.menu-toggle{display:block;margin-left:auto}.main-nav{display:flex;position:absolute;left:0;right:0;top:100%;padding:22px 5%;background:white;box-shadow:0 10px 18px #06233f12;flex-direction:column;align-items:stretch;gap:0}.main-nav a{padding:12px}.js .main-nav:not(.open){display:none}body:not(.js) .site-header{position:relative}body:not(.js) .main-nav{position:static}.hero-grid{gap:30px}.hero-photo{height:490px}.landing-grid{gap:35px}.navbar>.btn{font-size:14px}}
@media(max-width:820px){.hero-grid,.landing-grid{grid-template-columns:1fr}.hero-grid{padding:30px 0 48px;gap:25px}.hero-content{padding:18px 0}.hero-photo{height:460px;width:min(100%,480px);justify-self:center}.hero-copy{max-width:100%;text-align:left}.hero h1{max-width:640px}.trust-row{gap:12px}.cards-grid{grid-template-columns:1fr}.resource-grid{max-width:540px;margin:auto}.about-grid{gap:32px}.resource-cover{min-height:190px}.landing-grid{gap:30px}.section{padding:60px 0}}
@media(max-width:560px){.navbar{gap:10px;min-height:84px}.logo{flex-basis:110px}.logo img{width:110px}.navbar>.btn{width:auto;padding:9px 12px;min-height:42px}.navbar>.btn span{display:none}.menu-toggle{font-size:14px}.hero h1{font-size:40px}.hero-photo{height:400px}.hero-actions .btn{padding:12px}.hero-copy,.service-card p,.about-copy p,.cta-section p{hyphens:none}.authority-card,.form-card{padding:24px}.founder-card{padding:12px 15px}.trust-row{flex-direction:column}.service-hero h1{font-size:38px}.footer-bottom{gap:16px}.cookie-banner{bottom:10px;left:10px;right:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}.service-card:hover{transform:none}}
/* ==================================================
   CORRECCIÓN FINAL FOTO PRINCIPAL
   Mantiene visible la cabeza en PC, tablet y móvil
================================================== */

.hero-photo img {
    object-position: center top !important;
}
