 :root {

/* ===============================
   COLORS
=============================== */

--color-bg: #FAF7F2;
--color-bg-alt: #FBF8F3;

--color-brand: #004E40;
--color-brand-dark: #032D26;

--color-text: #44221A;
--color-muted: #92614B;

--color-beige: #F0EAE6;

--color-white: #FAF7F2;
--color-white-soft: #F7F5F2;

/* ===============================
   TYPOGRAPHY
=============================== */

--font-body:
  "Manrope",
  system-ui,
  -apple-system,
  "Segoe UI",
  sans-serif;

--font-serif:
  "Cormorant Garamond",
  Georgia,
  serif;

--font-heading-weight: 500;

--font-body-weight: 400;
--font-body-weight-medium: 500;

--font-button-weight: 700;

/* ===============================
   FONT SIZES
=============================== */

--body-size: clamp(14px, 1.35vw, 20px);
--body-line-height: 1.7;

--heading-section-size: 
  clamp(32px, 4vw, 64px);

--heading-section-line-height: 1;

--heading-section-letter-spacing: -.015em;

--kicker-size: 12px;
--kicker-weight: 500;
--kicker-spacing: .22em;

/* ===============================
   LAYOUT
=============================== */

--nav-h: 78px;

--section-max: 890px;

--section-padding-y: 30px;
--section-padding-x: 28px;

--section-radius: 28px;

--radius-pill: 999px;


/* ===============================
   BUTTONS
=============================== */

--button-height-sm: 48px;
--button-height-md: 50px;
--button-height-lg: 56px;

--button-font-size: 12px;

--button-letter-spacing: .09em;

--button-icon-size: 18px;

/* ===============================
   TRANSITIONS
=============================== */

--transition-fast:
  .18s cubic-bezier(.16,1,.3,1);

--transition-smooth:
  .28s cubic-bezier(.16,1,.3,1);

--transition-card:
  .45s cubic-bezier(.16,1,.3,1);

/* ===============================
   SHADOWS
=============================== */

--shadow-nav:
  0 1px 0 rgba(3,45,38,.08);

--shadow-soft-green:
  0 22px 52px rgba(3,45,38,.055);

--shadow-green-hover:
  0 18px 38px rgba(3,45,38,.18);


/* ===============================
   HERO
=============================== */

--hero-title-color: #F0EAE6;
--hero-kicker-color: #F0EAE6;

--photo-dim: .28;
--photo-scale: .14;

--hero-image-filter: none;
/* ===============================
   MEDIA
=============================== */

--media-filter-default:
  brightness(.92)
  saturate(.88)
  contrast(1.03);

--media-filter-soft:
  brightness(.96)
  saturate(.9)
  contrast(1.02);

/* ===============================
   EXPERIENCE CARDS
=============================== */

--experience-card-bg: #FBF8F3;

--experience-card-bg-hover: #D1C2AB;

--experience-card-border: #FBF8F3;

--experience-card-border-hover: #FBF8F3;

--experience-card-title:
  var(--color-text);

--experience-card-text:
  var(--color-muted);

--experience-card-image-filter:
  brightness(.88)
  saturate(.82)
  contrast(1.06);

--experience-card-image-filter-hover:
  brightness(.78)
  saturate(.9)
  contrast(1.1);

--experience-card-shadow:
  0 18px 40px rgba(0,78,64,.14),
  inset 0 1px 0 rgba(255,255,255,.04);

--experience-card-shadow-hover:
  0 30px 60px rgba(0,78,64,.24),
  inset 0 1px 0 rgba(255,255,255,.05);

}



/* ===============================
   RESET
=============================== */

*{
  box-sizing:border-box;
}

html,
body{
  margin:0;

  background:var(--color-bg);
  color:var(--color-text);

  font-family:var(--font-body);

  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;

  scroll-behavior:auto;
}

body{
  overflow-x:hidden;
}

img,
video,
svg{
  display:block;
  max-width:100%;
}

a{
  color:inherit;
  text-decoration:none;
}

button{
  font:inherit;
}

/* ===============================
   BASE TYPOGRAPHY
=============================== */

h1,
h2,
h3{
  margin:0;

  font-family:var(--font-serif);
  font-weight:var(--font-heading-weight);

  letter-spacing:-.015em;

  text-wrap:balance;
}

p{
  margin:0;

  font-family:var(--font-body);
  font-weight:var(--font-body-weight);
}

.section-kicker,
.eyebrow{

  margin:0 0 18px;

  font-size:var(--kicker-size);
  font-weight:var(--kicker-weight);

  letter-spacing:var(--kicker-spacing);

  text-transform:uppercase;

  line-height:1.5;

  color:var(--color-muted);
}

.section-title{

  color:var(--color-text);

  font-size:var(--heading-section-size);

  line-height:var(--heading-section-line-height);

  letter-spacing:
    var(--heading-section-letter-spacing);
}

/* ===============================
   SHARED BUTTONS
=============================== */

.whatsapp,
.discover-btn,
.cta-button{

  display:inline-flex;

  align-items:center;
  justify-content:center;

  gap:10px;

  border:0;
  border-radius:var(--radius-pill);

  cursor:pointer;

  font-size:var(--button-font-size);
  font-weight:var(--font-button-weight);

  letter-spacing:var(--button-letter-spacing);

  text-transform:uppercase;

  transition:
    transform var(--transition-smooth),
    background var(--transition-smooth),
    color var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

.whatsapp:hover,
.discover-btn:hover,
.cta-button:hover{

  transform:
    translateY(-3px);
}

.whatsapp-icon,
.cta-button-icon{

  width:var(--button-icon-size);
  height:var(--button-icon-size);

  flex:0 0 auto;
}



/* ===============================
   NAVIGATION
=============================== */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;

  height: var(--nav-h);

  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 18px;

  padding: 0 var(--section-padding-x);

  background: rgba(255, 255, 255, .98);
  color: var(--color-brand-dark);

  box-shadow: var(--shadow-nav);
  backdrop-filter: blur(14px);
}

/* Logo */

.nav-center {
  justify-self: center;

  width: 132px;
  min-width: 132px;
  height: 42px;

  display: grid;
  place-items: center;

  color: var(--color-brand);

  transform: translateY(1px);

  transition:
    transform var(--transition-smooth);
}

.nav-center:hover {
  transform:
    translateY(1px)
    scale(1.04);
}

.nav-logo-svg {
  width: 132px;
  min-width: 132px;
  max-width: none;
  height: auto;
  overflow: visible;
}

/* Desktop links */

.nav-left {
  display: none;
}

.nav-left a {
  position: relative;

  color: var(--color-text);

  font-size: .72rem;
  font-weight: 700;

  letter-spacing: .08em;

  text-transform: uppercase;

  transition:
    color var(--transition-smooth),
    letter-spacing var(--transition-smooth);
}

.nav-left a::after {
  content: "";

  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;

  height: 1px;

  background: var(--color-brand);

  transform: scaleX(0);
  transform-origin: center;

  transition:
    transform var(--transition-smooth);
}

.nav-left a:hover {
  color: var(--color-brand);
  letter-spacing: .105em;
}

.nav-left a:hover::after {
  transform: scaleX(1);
}

/* Right area */

.nav-right {
  position: absolute;
  right: var(--section-padding-x);
  justify-self: end;
}

/* WhatsApp header button */

.whatsapp {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;

  padding: 0;

  display: grid;
  place-items: center;

  background: var(--color-brand);
  color: var(--color-bg);

  font-size: 0;
}

.whatsapp-icon {
  width: 18px;
  height: 18px;
}

.whatsapp-label {
  display: none;
}

.whatsapp:hover {
  background: var(--color-brand-dark);
  color: var(--color-bg);

  box-shadow: var(--shadow-green-hover);
}

/* ===============================
   PREMIUM HAMBURGER
=============================== */

.nav-toggle {
  width: 44px;
  height: 44px;

  display: grid;
  place-content: center;
  gap: 5px;

  padding: 0;

  border: 0;
  border-radius: 999px;

  background: transparent;

  cursor: pointer;

  transition:
    background var(--transition-smooth),
    transform var(--transition-smooth);
}

.nav-toggle:hover {
  background: #FAF7F2;
}

.nav-toggle span {
  width: 20px;
  height: 2px;

  display: block;

  border-radius: 999px;

  background: var(--color-brand);

  transition:
    transform .42s cubic-bezier(.22, 1, .36, 1),
    opacity .28s ease;
}

/* Línea central ligeramente más corta */

.nav-toggle span:nth-child(2) {
  width: 15px;
}

/* Hover premium */

.nav-toggle:hover span:nth-child(2) {
  width: 20px;
}

/* Estado abierto */

.nav.is-open .nav-toggle span:nth-child(1) {
  transform:
    translateY(7.5px)
    rotate(45deg);
}

.nav.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav-toggle span:nth-child(3) {
  transform:
    translateY(-7.5px)
    rotate(-45deg);
}

/* Mobile / tablet menu */

.nav-left {
  position: fixed;

  top: var(--nav-h);
  left: 0;
  right: 0;

  z-index: 49;

  display: grid;
  gap: 16px;

  padding: 26px var(--section-padding-x);

  background: rgba(250, 247, 242, .98);

  border-bottom: 1px solid rgba(68, 34, 26, .08);

  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;

  transition:
    transform var(--transition-smooth),
    opacity var(--transition-smooth);
}

.nav-left.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-left a {
  text-align: center;
}

/* ===============================
   DESKTOP NAV
=============================== */

@media (min-width: 1360px) {
  :root {
    --section-padding-y: 120px;
    --section-padding-x: 48px;
  }

  .nav {
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    padding: 0 42px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-left {
    position: static;

    display: flex;
    align-items: center;
    justify-self: start;
    gap: 38px;

    padding: 0;

    background: transparent;
    border-bottom: 0;

    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-left a {
    text-align: left;
    font-size: .78rem;
  }

  .nav-center {
    justify-self: center;
  }

  .whatsapp {
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 48px;

    padding: 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    font-size: 13px;
  }

  .whatsapp-label {
    display: inline;
  }
}
/* ===============================
   HERO
   Mobile first: hero simple
   Desktop/tablet grande: hero inmersivo
=============================== */

.hero-scroll {
  position: relative;

  min-height: 88svh;

  background: var(--color-bg);
}

.hero-sticky {
  position: relative;

  min-height: 88svh;

  display: grid;
  place-items: center;

  overflow: hidden;

  isolation: isolate;

  background:
    linear-gradient(
      rgba(3, 45, 38, .26),
      rgba(3, 45, 38, .26)
    ),
    url("/wp-content/themes/astra-child/assets/media/img/hero-lion-mane-2-mobile.webp")
      center / cover no-repeat;
}

/* SVG oculto en móvil */
.hero-svg {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 2;

  width: 100%;
  min-height: 88svh;

  display: grid;
  place-items: center;

  padding:
    calc(var(--nav-h) + 42px)
    var(--section-padding-x)
    48px;

  text-align: center;

  opacity: 1;
  transform: none;

  pointer-events: none;
}

.hero-copy-inner {
  width: min(310px, 86vw);

  color: var(--hero-title-color);

  pointer-events: auto;
}

.hero-copy .eyebrow {
  color: var(--hero-kicker-color);
}

.hero-copy h1 {
  color: var(--hero-title-color);

  max-width: 13ch;

  margin-inline: auto;

  font-size: clamp(32px, 10vw, 44px);

  line-height: .96;
}


.subcopy {
  max-width: 28ch;

  margin: 18px auto 0;

  font-size: 13px;
  font-weight: 500;

  line-height: 1.6;
}

/* Hero button */

.discover-btn {
  min-width: 136px;
  height: var(--button-height-md);

  margin-top: 24px;
  padding: 0 20px;

  background: var(--color-brand);
  color: var(--color-bg);
}

.discover-btn:hover {
  background: var(--color-brand-dark);
  color: var(--color-bg);

  box-shadow: var(--shadow-green-hover);
}

/* ===============================
   HERO DESKTOP ONLY
=============================== */

@media (min-width: 1460px) {
  .hero-scroll {
    height: 100vh;
    min-height: 0;
  }

  .hero-sticky {
    position: sticky;
    top: 0;

    height: 100vh;
    min-height: 0;

    display: block;

    background:
      radial-gradient(
        circle at 50% 46%,
        rgba(255, 255, 255, .42),
        transparent 34vw
      ),
      var(--color-bg);
  }

  .hero-svg {
    position: absolute;
    inset: 0;
    z-index: 1;

    display: block;

    width: 100%;
    height: 100%;

    overflow: visible;
  }

  .hero-image {
    transform-origin: center;
    transform: scale(var(--photo-scale));
    transform-box: view-box;

    filter: var(--hero-image-filter);
  }

.hero-overlay {
  fill: rgba(3, 45, 38, .26);
  opacity: 1;
}

    .hero-copy {
  position: absolute;
  inset: 0;
  z-index: 5;

  min-height: 0;
  height: 100%;

  padding: 92px 24px 44px;

  opacity: 1;

  transform: none;
}

  .hero-copy-inner {
    width: min(500px, 76vw);
  }

  .hero-copy h1 {
    font-size: clamp(34px, 3.8vw, 54px);

    line-height: 1.03;
  }

  .subcopy {
    max-width: 400px;

    font-size: clamp(14px, 1.12vw, 16px);

    line-height: 1.62;
  }

  .discover-btn {
    min-width: 164px;
    height: var(--button-height-md);

    padding: 0 24px;
  }
}


/* ===============================
   SHARED SECTIONS
   Mobile first
=============================== */

.content {
  padding:
    var(--section-padding-y)
    var(--section-padding-x);

  background: var(--color-bg);
}

#descubrimiento {
  background: var(--color-bg);
}

#filosofia {
  background: var(--color-bg-alt);
}

#experiencia {
  background: var(--color-bg);
}


#descubrimiento,
#filosofia,
#experiencia {
  border-top: 1px solid rgba(68, 34, 26, .035);
}

/* ===============================
   CONTENT GRID
=============================== */

.content-grid {
  width: min(100%, var(--section-max));

  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;

  align-items: center;

  text-align: center;
}

/* En móvil/tablet: texto antes que vídeo */
#descubrimiento .content-grid {
  display: flex;
  flex-direction: column;
}

#descubrimiento .content-grid > :last-child {
  order: 1;
}

#descubrimiento .content-grid > :first-child {
  order: 2;
}

/* ===============================
   SECTION TEXT
=============================== */

.content-grid p:not(.section-kicker) {
  max-width: 34ch;

  margin: 20px auto 0;

  color: var(--color-muted);

  font-size: var(--body-size);
  line-height: var(--body-line-height);

  text-align: center;
}

.section-kicker,
.section-title {
  text-align: center;
}

/* ===============================
   MEDIA BLOCKS
=============================== */

.content-img {
  width: min(100%, 360px);

  aspect-ratio: 4 / 4.4;

  margin: 0 auto;

  overflow: hidden;

  border-radius: var(--section-radius);

  background: var(--color-beige);
}

.content-img img,
.content-img video,
.philosophy-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform .7s cubic-bezier(.19, 1, .22, 1),
    filter .7s ease;

  transform-origin: center;
}

.content-img img,
.content-img video {
  filter: var(--media-filter-default);
}

.content-img:hover img,
.content-img:hover video,
.philosophy-image:hover img {
  transform: scale(1.035);
}

/* ===============================
   PHILOSOPHY
=============================== */

.philosophy-image {
  width: min(100%, 360px);

  min-height: 300px;

  margin: 0 auto;

  overflow: hidden;

  border: 1px solid rgba(0, 78, 64, .14);
  border-radius: var(--section-radius);

  background: var(--color-beige);

  box-shadow: var(--shadow-soft-green);
}

.philosophy-image img {
  min-height: 340px;

  object-position: center 48%;

  filter: var(--media-filter-soft);
}

/* ===============================
   TABLET
=============================== */

@media (min-width: 769px) {
  .content-grid {
    gap: 44px;
  }

.content-grid p:not(.section-kicker) {
  max-width: 50ch;
}

  .content-img {
    width: min(100%, 460px);
    max-height: 520px;
  }

  .philosophy-image {
    width: min(100%, 460px);
    min-height: 420px;
  }

  .philosophy-image img {
    min-height: 420px;
  }
}

/* ===============================
   DESKTOP
=============================== */

@media (min-width: 921px) {
  .content-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    text-align: left;
    
  }

  /* En desktop vuelve al orden original */
  #descubrimiento .content-grid {
    display: grid;
  }

  #descubrimiento .content-grid > :last-child,
  #descubrimiento .content-grid > :first-child {
    order: initial;
  }

  .section-kicker,
  .section-title {
    text-align: left;
  }

.content-grid p:not(.section-kicker) {
  max-width: none;

  margin: 28px 0 0;

  font-size: var(--body-size);
  line-height: var(--body-line-height);

  text-align: left;
}

  .content-img {
    width: 100%;
    max-height: none;
  }

  .philosophy-image {
    width: 100%;
    min-height: 540px;
  }

  .philosophy-image img {
    min-height: 540px;
  }
}


/* ===============================
   EXPERIENCE SECTION
   Mobile first
=============================== */

.experience-section {
  position: relative;
  overflow: hidden;
}

.experience-heading {
  width: min(100%, var(--section-max));
  margin: 0 auto;
  text-align: center;
}

.experience-heading .section-kicker {
  margin: 0 0 14px;
}

.experience-heading .section-title {
  max-width: 16ch;
  margin-inline: auto;
}

.experience-heading .experience-intro {
  max-width: 34ch;
  margin: 18px auto 0;
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: var(--font-body-weight);
  line-height: var(--body-line-height);
  text-align: center;
}

.experience-list-visual {
  width: min(100%, 320px);
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.experience-card {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--experience-card-border);
  border-radius: 24px;
  background: var(--experience-card-bg);
  box-shadow: var(--experience-card-shadow);
  transition:
    transform var(--transition-card),
    background var(--transition-card),
    box-shadow var(--transition-card),
    border-color var(--transition-card);
}

.experience-card:hover {
  transform: translateY(-5px);
  border-color: var(--experience-card-border-hover);
  background: var(--experience-card-bg-hover);
  box-shadow: var(--experience-card-shadow-hover);
}

.experience-card-image {
  height: 150px;
  overflow: hidden;
  background: var(--color-beige);
}

.experience-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--experience-card-image-filter);
  transition:
    transform .7s cubic-bezier(.16, 1, .3, 1),
    filter var(--transition-card);
}

.experience-card:hover .experience-card-image img {
  transform: scale(1.045);
  filter: var(--experience-card-image-filter-hover);
}

.experience-card-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 22px 18px 26px;
  text-align: center;
}

.experience-card-content h3 {
  color: var(--experience-card-title);
  font-size: clamp(28px, 7vw, 38px);
  line-height: 1;
  letter-spacing: .012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.experience-card-content p {
  max-width: 28ch;

  margin: 14px auto 0;

  color: var(--color-muted);

  font-family: var(--font-body);

  font-size: clamp(13.5px, 1.2vw, 16px);
  font-weight: 400;

  line-height: 1.65;

  text-align: center;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ===============================
   EXPERIENCE TABLET
=============================== */

@media (min-width: 769px) {
  .experience-heading .section-title {
    max-width: 18ch;
  }

  .experience-heading .experience-intro {
    max-width: 74ch;
  }

  .experience-list-visual {
    width: min(100%, 460px);
    margin-top: 42px;
    gap: 24px;
  }

  .experience-card {
    border-radius: 26px;
  }

  .experience-card-image {
    height: 190px;
  }

  .experience-card-content {
    padding: 28px 24px 32px;
  }


  .experience-card-content h3 {
    font-size: clamp(34px, 5vw, 42px);
  }

  .experience-card-content p {
  max-width: 32ch;

  margin-left: auto;
  margin-right: auto;

  font-size: 15px;
  line-height: 1.65;

}
}

/* ===============================
   EXPERIENCE DESKTOP
=============================== */

@media (min-width: 921px) {
  .experience-heading {
    text-align: left;
  }

  .experience-heading .section-kicker,
  .experience-heading .section-title,
  .experience-heading .experience-intro {
    text-align: left;
  }

  .experience-heading .section-title {
    max-width: none;
    margin-inline: 0;
  }

  .experience-heading .experience-intro {
    max-width: 100%;
    margin: 24px 0 0;
  }

  .experience-list-visual {
    width: min(100%, var(--section-max));
    margin: 58px auto 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .experience-card {
    min-height: 430px;
    border-radius: 30px;
  }

  .experience-card-image {
    height: 230px;
  }

  .experience-card-content {
    padding: 34px 30px 40px;
  }

  .experience-card-content h3 {
    font-size: clamp(36px, 2.6vw, 46px);
    line-height: 1;
    margin-bottom: 16px;
  }

.experience-card-content p {
  max-width: 30ch;

  margin: 20px auto 0;

  font-size: 16px;
  line-height: 1.65;

}
}


/* ===============================
   FINAL CTA
   Mobile first
=============================== */

.final-cta {
  position: relative;

  min-height: auto;

  display: grid;
  place-items: center;

  padding: 82px 22px 66px;

  background: var(--color-brand-dark);

  color: var(--color-bg);

  text-align: center;
}

.cta-inner {
  width: min(100%, 760px);

  margin: 0 auto;
}

/* CTA heading */

.final-cta h2 {
  color: var(--color-white);

  font-size: clamp(30px, 10vw, 54px);

  line-height: 1;

  text-align: center;

  margin-inline: auto;

  max-width: 14ch;
}


/* CTA text */

.final-cta .cta-subheading {
  max-width: 34ch;

  margin: 20px auto 0;

  color: var(--color-white);

  font-family: var(--font-body);

  font-size: var(--body-size);
  font-weight: var(--font-body-weight);

  line-height: 1.6;

  text-align: center;
}

.final-cta .cta-subheading span {
  display: block;
}

/* CTA buttons */

.cta-actions {
  margin-top: 30px;

  display: flex;
  flex-direction: column;

  align-items: center;

  gap: 12px;
}

.cta-button {
  width: min(100%, 250px);

  min-width: 0;

  height: var(--button-height-lg);

  padding: 0 20px;
}

/* Primary */

.cta-button-primary {
  background: var(--color-bg);
  color: var(--color-brand-dark);

  box-shadow:
    0 12px 28px rgba(0,0,0,.08);
}

.cta-button-primary:hover {
  background: var(--color-white);

  color: var(--color-brand-dark);

  box-shadow:
    0 22px 48px rgba(0,0,0,.16);
}

/* Secondary */

.cta-button-secondary {
  border: 1px solid rgba(247,245,242,.22);

  background: rgba(247,245,242,.06);

  color: var(--color-bg);

  backdrop-filter: blur(10px);
}

.cta-button-secondary:hover {
  border-color:
    rgba(247,245,242,.52);

  background:
    rgba(247,245,242,.14);

  color: var(--color-bg);

  box-shadow:
    0 18px 38px rgba(0,0,0,.12);
}

/* ===============================
   SOCIAL LINKS
=============================== */

.social-links {
  position: static;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  margin-top: 34px;
}

.social-link {
  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(247,245,242,.22);
  border-radius: var(--radius-pill);

  color: var(--color-bg);

  background:
    rgba(247,245,242,.06);

  transition:
    transform var(--transition-smooth),
    background var(--transition-smooth),
    border-color var(--transition-smooth),
    color var(--transition-smooth),
    box-shadow var(--transition-smooth);

  backdrop-filter: blur(10px);
}

.social-link:hover {
  transform:
    translateY(-3px)
    scale(1.08);

  background: var(--color-bg);

  color: var(--color-brand-dark);

  border-color: var(--color-bg);

  box-shadow:
    0 10px 28px rgba(0,0,0,.14);
}

.social-link svg {
  width: 21px;
  height: 21px;
}

/* ===============================
   CONTACT PAGE
=============================== */

.contact-page {
  min-height: 100vh;
  background: var(--color-bg);
}

.contact-section {
  min-height: 100vh;

  padding:
    calc(var(--nav-h) + 32px)
    var(--section-padding-x)
    56px;

  background: var(--color-bg);
}

.contact-layout {
  width: min(100%, var(--section-max));
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;

  text-align: center;
}

/* Contact copy */

.contact-copy {
  text-align: center;
}

.contact-copy .section-kicker {
  color: var(--color-muted);
  text-align: center;
}

.contact-title {
  max-width: 14ch;
  margin-inline: auto;

  color: var(--color-text);

  font-size: var(--heading-section-size);
  line-height: var(--heading-section-line-height);
  letter-spacing: var(--heading-section-letter-spacing);

  text-align: center;
}

.contact-intro {
  max-width: 44ch;

  margin: 16px auto 0;

  color: var(--color-muted);

  font-family: var(--font-body);
  font-size: 14px;
  font-weight: var(--font-body-weight);
  line-height: 1.6;

  text-align: center;
}

/* Ocultamos el segundo párrafo introductorio en móvil/tablet */
.contact-intro:nth-of-type(3) {
  display: none;
}

/* Direct contact */

.direct-contact {
  max-width: 360px;

  margin: 24px auto 0;
  padding-top: 20px;

  border-top: 1px solid rgba(68, 34, 26, .08);

  text-align: center;
}

.direct-contact p {
  margin: 0 0 8px;

  color: var(--color-muted);

  font-size: 13.5px;
  line-height: 1.5;
}

.direct-contact a {
  color: var(--color-brand);

  font-weight: 700;
}

/* ===============================
   CONTACT FORM
=============================== */

.contact-form {
  width: min(100%, 390px);
  margin: 0 auto;

  padding: 24px 18px;

  border-radius: var(--section-radius);

  background: var(--color-bg-alt);

  box-shadow: var(--shadow-soft-green);
}

.contact-form label {
  display: block;

  margin-bottom: 16px;

  color: var(--color-text);

  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;

  text-align: left;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;

  margin-top: 8px;

  padding: 11px 13px;

  border: 1px solid rgba(68, 34, 26, .12);
  border-radius: 12px;

  background-color: var(--color-bg);

  color: var(--color-text);

  font-family: var(--font-body);
  font-size: 13.5px;

  outline: none;

  appearance: auto;
  -webkit-appearance: auto;
}

.contact-form select {
  padding-right: 36px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--color-brand);
}

.contact-form .cta-button {
  margin: 18px auto 0;
}

.contact-submit-btn {
  width: fit-content;
  min-width: 170px;

  height: var(--button-height-lg);

  padding: 0 22px;
  margin-inline: auto;

  background: var(--color-brand);
  color: var(--color-bg);

  font-size: var(--button-font-size);

  box-shadow: none;
}

.contact-submit-btn:hover {
  background: var(--color-brand-dark);
  color: var(--color-bg);

  box-shadow: var(--shadow-green-hover);
}

/* Form messages */

.form-message {
  margin: 0 0 22px;

  padding: 16px 18px;

  border-radius: 14px;

  font-size: 13px;
  line-height: 1.5;
}

.form-message-success {
  background: rgba(0, 78, 64, .08);
  color: var(--color-brand-dark);
  border: 1px solid rgba(0, 78, 64, .18);
}

.form-message-error {
  background: rgba(160, 40, 20, .08);
  color: #7A2418;
  border: 1px solid rgba(160, 40, 20, .18);
}

/* ===============================
   CONTACT TABLET / DESKTOP LAYOUT
=============================== */

@media (min-width: 767px) {
  .contact-section {
    padding:
      calc(var(--nav-h) + 72px)
      var(--section-padding-x)
      96px;
  }

  .contact-layout {
    grid-template-columns: .9fr 1.1fr;
    gap: 64px;

    align-items: start;

    text-align: left;
  }

  .contact-copy,
  .contact-copy .section-kicker,
  .contact-title,
  .contact-intro,
  .direct-contact {
    text-align: left;
  }

  .contact-title {
    max-width: 14ch;
    margin-inline: 0;
  }

  .contact-intro {
    max-width: 42ch;
    margin: 24px 0 0;

    font-size: 15px;
    line-height: 1.7;
  }

  .contact-intro:nth-of-type(3) {
    display: block;
  }

  .direct-contact {
    max-width: none;

    margin: 36px 0 0;
    padding-top: 24px;
  }

  .contact-form {
    width: 100%;

    padding: 34px 28px;
  }

  .contact-form select {
    padding-right: 40px;
  }

  .contact-submit-btn,
  .contact-form .cta-button {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: auto;
    margin-right: auto;
  }
}

/* ===============================
   CONTACT LARGE DESKTOP
=============================== */

@media (min-width: 1460px) {
  .contact-section {
    padding:
      calc(var(--nav-h) + 96px)
      var(--section-padding-x)
      120px;
  }

  .contact-layout {
    gap: 84px;
  }

  .contact-intro {
    display: block;

    font-size: var(--body-size);
    line-height: var(--body-line-height);
  }

  .contact-form {
    padding: 42px;
  }

  .contact-form label {
    margin-bottom: 22px;

    font-size: 13px;
  }

.contact-form input,
.contact-form textarea {
  padding: 15px 16px;

  font-size: 16px;
}

.contact-form select {
  min-height: 52px;

  padding: 0 44px 0 16px;

  font-size: 16px;
  line-height: normal;
}

  .contact-submit-btn {
    min-width: 230px;
  }
}


/* ===============================
   FIX FINAL CTA TEXT
=============================== */

.final-cta,
.final-cta .section-title,
.final-cta .cta-subheading,
.final-cta .cta-subheading span {
  text-align: center;
}

.final-cta .cta-subheading,
.final-cta .cta-subheading span {
  color: var(--color-white);
}


/* ===============================
   LEGAL PAGES
=============================== */

.legal-page {
  background: var(--color-bg);
}

.legal-section {
  padding:
    calc(var(--nav-h) + 56px)
    var(--section-padding-x)
    72px;
}

.legal-inner {
  width: min(100%, 860px);
  margin: 0 auto;
}

.legal-title {
  max-width: 12ch;
  margin-inline: auto;
}

.legal-content {
  margin-top: 42px;

  color: var(--color-muted);

  font-family: var(--font-body);
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.75;
}

.legal-content h2 {
  margin: 42px 0 14px;

  color: var(--color-text);

  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: var(--font-heading-weight);
  line-height: 1;
  letter-spacing: -.02em;
}

.legal-content p {
  margin: 0 0 18px;
}

.legal-content a {
  color: var(--color-brand);
  font-weight: 700;
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-content strong {
  color: var(--color-text);
  font-weight: 700;
}

@media (min-width: 921px) {
  .legal-section {
    padding:
      calc(var(--nav-h) + 88px)
      var(--section-padding-x)
      110px;
  }

  .legal-title {
    max-width: none;
    margin-inline: 0;
  }

  .legal-inner,
  .legal-inner .section-kicker,
  .legal-title {
    text-align: left;
  }

  .legal-content {
    margin-top: 56px;
  }
}



/* ===============================
   SITE FOOTER
=============================== */

.site-footer {
  padding: 32px var(--section-padding-x);

  background: var(--color-brand-dark);
  color: var(--color-bg);

  border-top: 1px solid rgba(250, 247, 242, .12);
}

.site-footer-inner {
  width: min(100%, var(--section-max));
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;

  text-align: center;
}

/* Footer logo */

.site-footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--color-bg);
}

.site-footer-logo-img {
  width: clamp(44px, 11vw, 56px);
  height: clamp(44px, 11vw, 56px);

  display: block;

  object-fit: cover;

  border-radius: 50%;
  background: var(--color-bg);
}

/* Footer links */

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
}

.site-footer-links a,
.site-footer-copy {
  color: rgba(250, 247, 242, .78);

  font-size: clamp(11px, 2.6vw, 12px);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.site-footer-links a {
  transition: color var(--transition-smooth);
}

.site-footer-links a:hover {
  color: var(--color-bg);
}

.site-footer-copy {
  margin: 0;
}

/* ===============================
   SITE FOOTER TABLET / DESKTOP
=============================== */

@media (min-width: 769px) {
  .site-footer {
    padding: 30px var(--section-padding-x);
  }

  .site-footer-inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 28px;
  }

  .site-footer-logo-img {
    width: 52px;
    height: 52px;
  }
}




/* ===============================
   404 PAGE
=============================== */

.error-page {
  background: var(--color-bg);
}

.error-section {
  padding:
    calc(var(--nav-h) + 56px)
    var(--section-padding-x)
    72px;
}

.error-inner {
  width: min(100%, var(--section-max));
  margin: 0 auto;

  display: grid;
  gap: 36px;

  align-items: center;

  text-align: center;
}

.error-title {
  max-width: 12ch;
  margin-inline: auto;
}

.error-text {
  max-width: 34ch;

  margin: 22px auto 0;

  color: var(--color-muted);

  font-size: var(--body-size);
  line-height: var(--body-line-height);
}

.error-actions {
  margin-top: 34px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Botones 404 */

.error-actions a.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 220px;
  height: var(--button-height-lg);

  padding: 0 26px;

  border: 1px solid var(--color-brand);
  border-radius: 999px;

  background: var(--color-brand);
  color: var(--color-bg);

  font-size: var(--button-font-size);
  font-weight: 800;
  letter-spacing: var(--button-letter-spacing);
  text-transform: uppercase;

  text-decoration: none;

  box-shadow: none;
}

.error-actions a.cta-button:hover {
  background: var(--color-brand-dark);
  color: var(--color-bg);

  border-color: var(--color-brand-dark);

  box-shadow: var(--shadow-green-hover);
}

.error-image {
  margin: 0;
  overflow: hidden;

  border-radius: var(--section-radius);

  box-shadow: var(--shadow-soft-green);
}

.error-image img {
  width: 100%;
  height: auto;

  display: block;

  object-fit: cover;
}

/* ===============================
   404 DESKTOP
=============================== */

@media (min-width: 921px) {
  .error-section {
    padding:
      calc(var(--nav-h) + 88px)
      var(--section-padding-x)
      110px;
  }

.error-inner {
  grid-template-columns: .55fr 1.45fr;
  gap: 72px;

  text-align: left;
}

  .error-copy,
  .error-copy .section-kicker,
  .error-title {
    text-align: left;
  }

  .error-title {
    max-width: 11ch;
    margin-inline: 0;
  }

  .error-text {
    margin-left: 0;
    margin-right: 0;
  }

  .error-actions {
    flex-direction: row;
    justify-content: flex-start;
  }

  .error-actions a.cta-button {
    min-width: 240px;
  }
  
.error-image {
  width: 100%;
  max-width: 960px;
  justify-self: end;
}

.error-image img {
  width: 100%;

}
}