/**
* Template Name: Maxim
* Template URL: https://bootstrapmade.com/maxim-free-onepage-bootstrap-theme/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Mulish", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Cormorant Garamond", "Times New Roman", Georgia, serif; /* titulares editoriales (tinta sobre papel) */
  --display-font: "Jost", "Century Gothic", "Futura", system-ui, sans-serif; /* geométrica: hace juego con "ESCRIBANIA" del logo */
  --nav-font: "Jost", "Century Gothic", system-ui, sans-serif;
}

/* ------------------------------------------------------------------
   Paleta de marca · ESCRIBANÍA FERREIRA
   Dorado camel #A67D2E (dato de la clienta) + gris del logo #6B6B6D
   sobre fondo CREMA (nunca blanco puro) + amarillo de acento puntual.
   ------------------------------------------------------------------ */
:root {
  --ef-gold: #A67D2E;        /* dorado camel de marca */
  --ef-gold-deep: #7C5A1D;   /* dorado profundo: hovers, texto sobre crema */
  --ef-gold-soft: #C7A25B;   /* dorado claro: hairlines, gradientes */
  --ef-gold-pale: #E8D9B8;   /* dorado muy claro: bordes/velos */
  --ef-yellow: #F2C230;      /* AMARILLO de acento (detalles, subrayados, chips) */
  --ef-yellow-soft: #FBE9A8;

  --ef-cream: #FAF5EC;       /* fondo general (crema, no blanco) */
  --ef-cream-deep: #F3EADA;  /* superficies/secciones alternas */
  --ef-cream-card: #FDFAF4;  /* tarjetas: un punto más claro que el fondo */

  --ef-ink: #33322F;         /* texto principal (casi negro cálido) */
  --ef-gray: #6B6B6D;        /* gris del logo: texto secundario */
  --ef-line: rgba(166, 125, 46, 0.22); /* hairline dorada */

  --ef-gold-gradient: linear-gradient(135deg, #7C5A1D 0%, #A67D2E 48%, #E8D9B8 100%);
}

/* Alias heredados del template (se conservan los nombres para no romper
   reglas existentes; cambian solo los VALORES a la marca Ferreira). */
:root {
  --md-rosa: #A67D2E;
  --md-rosa-deep: #7C5A1D;
  --md-gold-dark: #7C5A1D;
  --md-gold: #A67D2E;
  --md-gold-light: #E8D9B8;
  --md-cream: #FAF5EC;
  --md-ink: #33322F;
  --md-gold-gradient: linear-gradient(135deg, #7C5A1D 0%, #A67D2E 48%, #E8D9B8 100%);
}

/* Global Colors */
:root {
  --background-color: #FAF5EC;
  --default-color: #33322F;
  --heading-color: #2B2A28;
  --accent-color: #A67D2E;
  --surface-color: #FDFAF4;
  --contrast-color: #ffffff;
}

:root {
  --alcayaga-navy: #33322F;
  --alcayaga-navy-dark: #1E1D1B;
  --alcayaga-gold: #A67D2E;
  --alcayaga-gold-dark: #7C5A1D;
  --alcayaga-gold-light: #E8D9B8;
  --alcayaga-cream: #FAF5EC;
  --alcayaga-mountain: #F3EADA;
  --alcayaga-mountain-shadow: #E8D9B8;
}

/* Nav Menu Colors */
:root {
  --nav-color: #4A4844;
  --nav-hover-color: #A67D2E;
  --nav-mobile-background-color: #FAF5EC;
  --nav-dropdown-background-color: #FDFAF4;
  --nav-dropdown-color: #4A4844;
  --nav-dropdown-hover-color: #A67D2E;
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #F3EADA;
  --surface-color: #FDFAF4;
}

.dark-background {
  --background-color: #151a20;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  background-image:
    radial-gradient(1100px 620px at 82% -8%, rgba(166, 125, 46, 0.07) 0%, transparent 62%),
    radial-gradient(900px 560px at 0% 4%, rgba(242, 194, 48, 0.05) 0%, transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Polish (selection, scrollbar, focus, motion)
--------------------------------------------------------------*/
::selection {
  background: var(--md-rosa);
  color: #ffffff;
}

::-moz-selection {
  background: var(--md-rosa);
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: #F6ECEE;
}

::-webkit-scrollbar-thumb {
  background: var(--md-rosa-deep);
  border: 2px solid #F6ECEE;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #654a17;
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--md-rosa-deep) #F6ECEE;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--md-rosa-deep);
  outline-offset: 3px;
  border-radius: 1px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: #FFFFFF;
  --default-color: #1A1A1A;
  --heading-color: #1A1A1A;
  --nav-color: #4a4844;
  color: var(--default-color);
  background-color: var(--background-color);
  border-bottom: 1px solid rgba(166, 125, 46, 0.14);
  padding: 14px 0;
  transition: padding 0.4s ease, box-shadow 0.4s ease;
  z-index: 997;
  box-shadow: 0 6px 22px rgba(26, 26, 32, 0.08);
}

.header .logo {
  line-height: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header .logo img {
  max-height: 58px;
  margin-right: 8px;
}

/* Lockup horizontal "ESCRIBANIA FERREIRA" (webp con transparencia) */
.header .logo .ef-logo {
  display: block;
  height: 50px;
  width: auto;
  max-height: none;
  margin: 0;
  transition: height 0.4s ease, opacity 0.3s ease;
}

.header .logo:hover .ef-logo {
  opacity: 0.85;
}

.scrolled .header .logo .ef-logo {
  height: 42px;
}

@media (max-width: 575px) {
  .header .logo .ef-logo,
  .scrolled .header .logo .ef-logo {
    height: 34px;
  }
}

/* Logo blanco que se dibuja solo cuando aparece la barra al scrollear */
.header .logo {
  position: relative;
}

.header .logo-static {
  transition: opacity 0.4s ease;
}

.header .logo-draw {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 58px;
  width: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.header .logo-draw path {
  fill: #ffffff;
  fill-opacity: 0;
  stroke: #ffffff;
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.65, 0, 0.35, 1), fill-opacity 0.5s ease;
}

.scrolled .header .logo-static {
  opacity: 1;
}

.scrolled .header .logo-draw {
  opacity: 1;
}

/* Al scrollear: se dibuja el contorno y luego se rellena de blanco */
.scrolled .header .logo-draw path {
  stroke-dashoffset: 0;
  fill-opacity: 1;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.65, 0, 0.35, 1), fill-opacity 0.5s ease 1s;
}

.header .logo h1 {
  font-size: 26px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
  text-transform: uppercase;
}

.scrolled .header {
  --background-color: #FFFFFF;
  --default-color: #1A1A1A;
  --heading-color: #1A1A1A;
  --nav-color: #4a4844;
  --nav-hover-color: #a67d2e;
  padding: 14px 0;
  box-shadow: 0 6px 22px rgba(26, 26, 32, 0.08);
  border-bottom: 1px solid rgba(166, 125, 46, 0.14);
}

.scrolled .header .logo {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: #FFFFFF;
}

/* Desktop: nav siempre visible (header consistente, sin cambios en scroll) */
@media (min-width: 1200px) {
  .header .navmenu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--display-font);
    font-weight: 400;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 8px 0;
    background: #FFFFFF;
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 8px;
    border: 1px solid rgba(166, 125, 46, 0.16);
    z-index: 99;
    box-shadow: 0 14px 36px rgba(26, 26, 32, 0.14);
  }

  .navmenu .dropdown ul li {
    min-width: 240px;
  }

  .navmenu .dropdown ul a {
    padding: 11px 24px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--alcayaga-navy);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  /* Toggle blanco cuando aparece la barra rosa */
  .scrolled .header .mobile-nav-toggle {
    color: #ffffff;
  }

  /* Logo más chico y con aire en mobile/tablet */
  .header .logo img,
  .header .logo-static {
    max-height: 46px;
  }

  .header .logo-draw {
    height: 46px;
  }

  .header {
    padding: 16px 0;
  }

  .scrolled .header {
    padding: 14px 0;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 16px 0;
    margin: 0;
    border-radius: 0;
    background-color: #FFFFFF;
    border: 1px solid rgba(166, 125, 46, 0.22);
    box-shadow: 0 18px 48px rgba(26, 26, 32, 0.20);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--alcayaga-navy);
    padding: 12px 22px;
    font-family: var(--display-font);
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: color 0.3s ease, background 0.3s ease, padding-left 0.3s ease;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 11px;
    line-height: 0;
    margin-left: 5px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease, color 0.3s ease, transform 0.4s ease, border-color 0.3s ease;
    background-color: transparent;
    border: 1px solid rgba(166, 125, 46, 0.55);
    color: var(--alcayaga-gold-dark);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--alcayaga-gold);
    color: var(--alcayaga-navy-dark);
    border-color: var(--alcayaga-gold);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--md-rosa-deep);
    background: rgba(124, 90, 29, 0.11);
    padding-left: 26px;
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--alcayaga-gold);
    color: var(--alcayaga-navy-dark);
    border-color: var(--alcayaga-gold);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 6px 0;
    margin: 6px 16px 10px 16px;
    background-color: rgba(124, 90, 29, 0.08);
    border-left: 2px solid var(--alcayaga-gold);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul a,
  .navmenu .dropdown ul a:focus {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 13px;
    padding: 10px 20px;
    color: var(--alcayaga-navy);
  }

  .navmenu .dropdown ul a:hover {
    color: var(--alcayaga-gold-dark);
    background: rgba(124, 90, 29, 0.12);
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(166, 125, 46, 0.04);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #ffffff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(84, 60, 20, 0.85);
    backdrop-filter: blur(4px);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer-section {
  background: linear-gradient(180deg, #7c5a1d 0%, #654a17 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 90px 0 28px;
  position: relative;
  overflow: hidden;
  font-family: var(--default-font);
}

.footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
}

.footer-section::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.footer-section .container {
  position: relative;
  z-index: 1;
}

/* FOOTER TOP — brand left, columns right */
.footer-section .footer-top {
  display: grid;
  grid-template-columns: 1.1fr 2.4fr;
  gap: 64px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-section .footer-brand {
  max-width: 400px;
}

.footer-section .footer-logo {
  display: inline-block;
  margin-bottom: 22px;
  text-decoration: none;
  line-height: 1;
  transition: opacity 0.3s ease;
}

.footer-section .footer-logo:hover {
  opacity: 0.82;
}

.footer-section .footer-logo-img {
  display: block;
  width: 66px;
  height: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-section .footer-logo-name {
  display: block;
  font-family: var(--display-font);
  font-size: 17px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.15;
}

.footer-section .footer-tagline {
  font-family: var(--default-font);
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 18px;
}

.footer-section .footer-escribanas {
  font-family: var(--nav-font);
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.footer-section .footer-zonas {
  font-family: var(--nav-font);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  margin: 10px 0 0;
}

.footer-section .footer-zonas a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.footer-section .footer-zonas a:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.footer-section .footer-signature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(166, 125, 46, 0.18);
}

.footer-section .footer-signature-flourish {
  width: 32px;
  height: 1.5px;
  background: var(--alcayaga-gold);
}

.footer-section .footer-signature-text {
  font-family: var(--nav-font);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--alcayaga-gold-light);
}

/* FOOTER COLUMNS */
.footer-section .footer-columns {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.2fr;
  gap: 40px;
}

.footer-section .footer-heading {
  font-family: var(--display-font);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-section .footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section .footer-list li {
  margin-bottom: 11px;
  font-family: var(--default-font);
  font-size: 14px;
  line-height: 1.5;
}

.footer-section .footer-list li:last-child {
  margin-bottom: 0;
}

.footer-section .footer-list a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-block;
}

.footer-section .footer-list a:hover {
  color: #ffffff;
  padding-left: 4px;
}

/* CONTACT LIST IN FOOTER */
.footer-section .footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-section .footer-contact-list i {
  font-size: 14px;
  color: #e8d9b8;
  padding-top: 4px;
  flex-shrink: 0;
}

.footer-section .footer-contact-list span,
.footer-section .footer-contact-list a {
  color: rgba(255, 255, 255, 0.85);
}

/* FOOTER BOTTOM */
.footer-section .footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-section .footer-copyright,
.footer-section .footer-credits {
  margin: 0;
  font-family: var(--nav-font);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
}

.footer-section .footer-credits a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-section .footer-credits a:hover {
  color: #e8d9b8;
}

@media (max-width: 991px) {
  .footer-section {
    padding: 64px 0 24px;
  }

  .footer-section .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }

  .footer-section .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 576px) {
  .footer-section {
    padding: 52px 0 22px;
  }

  .footer-section .footer-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-section .footer-logo-name {
    font-size: 24px;
    letter-spacing: 1.5px;
  }

  .footer-section .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 42%, #FDFAF4 0%, var(--ef-cream) 55%, #F1E7D5 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

#preloader.preloader-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.preloader-logo-wrap {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  animation: preloader-logo-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.preloader-logo {
  display: block;
  width: 300px;
  max-width: 68vw;
  height: auto;
}

/* ---- Logo Ferreira: se dibuja trazo por trazo (monograma -> ESCRIBANIA -> FERREIRA) ---- */
.ef-draw path {
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill-opacity: 0;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.ef-draw .ef-gold {
  fill: #A67D2E;
  stroke: #A67D2E;
}

.ef-draw .ef-ink {
  fill: #6B6B6D;
  stroke: #6B6B6D;
}

.ef-draw.is-drawing path {
  animation:
    ef-stroke 0.52s ease both,
    ef-fill 0.42s ease both,
    ef-strokeout 0.36s ease both;
  animation-delay:
    calc(0.35s + var(--gi, 0) * 0.062s),
    calc(0.35s + var(--gi, 0) * 0.062s + 0.46s),
    calc(0.35s + var(--gi, 0) * 0.062s + 0.66s);
}

@keyframes ef-stroke {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes ef-fill {
  from { fill-opacity: 0; }
  to { fill-opacity: 1; }
}

@keyframes ef-strokeout {
  from { stroke-opacity: 1; }
  to { stroke-opacity: 0; }
}

/* Logo vectorial: se dibuja EN SECUENCIA (path por path) para simular un recorrido de trazo */
.gn-draw path {
  stroke: #8e6926;
  stroke-width: 1.3;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill-opacity: 0;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

/* En reposo visible (header): relleno, sin trazo; se re-dibuja solo al hover */
.gn-draw--rest path {
  fill-opacity: 1;
  stroke-opacity: 0;
  stroke-dashoffset: 0;
}

.gn-draw.is-drawing path {
  animation:
    gn-stroke 0.5s ease both,
    gn-fill 0.4s ease both,
    gn-strokeout 0.35s ease both;
  animation-delay:
    calc(var(--gi, 0) * 0.028s),
    calc(var(--gi, 0) * 0.028s + 0.42s),
    calc(var(--gi, 0) * 0.028s + 0.6s);
}

@keyframes gn-stroke {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes gn-fill {
  from { fill-opacity: 0; }
  to { fill-opacity: 1; }
}

@keyframes gn-strokeout {
  from { stroke-opacity: 1; }
  to { stroke-opacity: 0; }
}

/* Logo del header como SVG */
.header .logo .gn-draw {
  display: block;
  height: 62px;
  width: auto;
}

/* Variante blanca: preloader sobre fondo violeta */
.gn-draw--white path {
  stroke: #ffffff;
  fill: #ffffff !important;
}

@keyframes preloader-logo-in {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Destello que barre el logo */
.preloader-logo-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(242, 194, 48, 0.20) 45%, rgba(255, 255, 255, 0.55) 55%, transparent 100%);
  transform: skewX(-18deg);
  animation: preloader-shine 2.4s ease-in-out 0.7s infinite;
}

@keyframes preloader-shine {
  0% { left: -130%; }
  55%, 100% { left: 175%; }
}

.preloader-label {
  font-family: var(--nav-font);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ef-gray);
  opacity: 0;
  animation: preloader-label-in 0.6s ease 0.8s forwards;
}

@keyframes preloader-label-in {
  to { opacity: 1; }
}

/* Barra de carga dorada indeterminada */
.preloader-bar {
  position: relative;
  width: 180px;
  height: 2px;
  background: rgba(166, 125, 46, 0.20);
  overflow: hidden;
  opacity: 0;
  animation: preloader-label-in 0.6s ease 0.9s forwards;
}

.preloader-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--ef-gold) 45%, var(--ef-yellow) 60%, transparent 100%);
  animation: preloader-bar-move 1.3s ease-in-out infinite;
}

@keyframes preloader-bar-move {
  0% { left: -40%; }
  100% { left: 100%; }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
  background: linear-gradient(135deg, #0e7a5a 0%, #075E54 50%, #654a17 100%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(166, 125, 46, 0.95);
  box-shadow:
    0 14px 32px rgba(7, 94, 84, 0.40),
    0 4px 10px rgba(26, 26, 32, 0.25),
    0 0 0 4px rgba(166, 125, 46, 0.28);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease, box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.scroll-top::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(166, 125, 46, 0.55);
  animation: whatsapp-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }

  70% {
    transform: scale(1.2);
    opacity: 0;
  }

  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.scroll-top i {
  font-size: 28px;
  color: var(--alcayaga-cream);
  line-height: 0;
  position: relative;
  z-index: 1;
}

.scroll-top:hover {
  background: linear-gradient(135deg, #0f8a66 0%, #086a5d 50%, #7c5a1d 100%);
  border-color: var(--alcayaga-gold);
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 20px 40px rgba(7, 94, 84, 0.5),
    0 6px 14px rgba(26, 26, 32, 0.32),
    0 0 0 4px rgba(166, 125, 46, 0.30);
}

/* Aparece al scrollear (usa body.scrolled, que el sitio ya activa pasando 100px).
   Se oculta arriba porque el hero ya tiene su propio botón de WhatsApp. */
.scrolled .scroll-top,
.scroll-top.active {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 160px 0 60px 0;
  text-align: center;
  position: relative;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: transparent;
  padding: 60px 0;
  scroll-margin-top: 92px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 62px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-family: var(--display-font); /* Trajan Pro 3 (MAYÚSCULAS) */
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--heading-color);
  margin-bottom: 15px;
}

.section-title h2 em {
  font-style: normal;
  color: var(--md-rosa);
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 120px 0 80px 0;
  display: flex;
  align-items: center;
  background: var(--md-cream);
  overflow: hidden;
}

/* Foto de fondo a sangre */
.hero .hero-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/* Velo claro de marca: opaco a la izquierda (donde va el texto),
   se abre hacia la derecha para dejar ver la foto */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.48) 30%, rgba(255, 255, 255, 0.16) 56%, rgba(255, 255, 255, 0) 80%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 45%, rgba(26, 26, 32, 0.08) 100%);
}

/* Glow violáceo sutil sobre el velo */
.hero::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -8%;
  width: 55%;
  height: 90%;
  z-index: 3;
  background: radial-gradient(circle at 50% 45%, rgba(166, 125, 46, 0.14) 0%, rgba(232, 217, 184, 0.09) 50%, transparent 72%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 4;
  max-width: 1240px;
}

/* ---- Texto ---- */
.hero-text {
  max-width: 620px;
  text-align: center;
}

@media (min-width: 992px) {
  .hero-text {
    text-align: left;
  }
}

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 22px 0;
  padding: 9px 22px;
  border-radius: 999px;
  background: var(--md-rosa-deep);
  font-family: var(--display-font);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(166, 125, 46, 0.38);
}

.hero h1,
.hero h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
  color: var(--heading-color);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85), 0 0 22px rgba(255, 255, 255, 0.7);
  text-wrap: balance;
}

.hero h1 em,
.hero h2 em {
  font-style: normal;
  font-weight: 600;
  font-size: 0.86em; /* "Palermo" un toque más chica */
  color: #a67d2e; /* violeta de marca para el término destacado */
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95), 0 0 16px rgba(255, 255, 255, 0.85);
}

/* Nombre = protagonista visual (un poco más grande que la tagline) */
.hero-name {
  display: block;
  font-size: clamp(50px, 7.4vw, 78px);
  line-height: 1.02;
  color: var(--heading-color);
  margin-left: -0.055em; /* nudge óptico: alinea la "G" redonda con la "E" de la bajada */
}

.hero-tagline {
  display: block;
  margin-top: 8px;
  font-size: clamp(23px, 3.5vw, 37px);
  line-height: 1.08;
  font-weight: 600;
}

.hero-registro {
  margin: 14px 0 0 0;
  font-family: var(--nav-font);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--md-rosa-deep);
}

.hero-lead {
  margin: 20px auto 0 auto;
  max-width: 540px;
  font-family: var(--default-font);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  color: #4a4844;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95), 0 0 10px rgba(255, 255, 255, 0.85);
}

.hero-lead strong {
  color: var(--md-gold-dark);
  font-weight: 700;
}

@media (min-width: 992px) {
  .hero-lead {
    margin-left: 0;
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-top: 40px;
}

@media (min-width: 992px) {
  .hero-cta {
    justify-content: flex-start;
  }
}

/* ---- Botón secundario ---- */
.hero .btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 17px 38px;
  font-family: var(--display-font);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--md-gold-dark);
  background: #ffffff;
  border: 1.5px solid var(--md-gold);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(26, 26, 32, 0.10);
  transition: color 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.hero .btn-secondary:hover {
  color: #fff;
  background: var(--md-gold-dark);
  border-color: var(--md-gold-dark);
  box-shadow: 0 16px 36px rgba(124, 90, 29, 0.28);
  transform: translateY(-2px);
}

.hero .btn-get-started {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
  font-family: var(--display-font);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 17px 44px;
  border-radius: 8px;
  background: var(--md-rosa-deep);
  border: 1px solid var(--md-rosa-deep);
  box-shadow: 0 14px 34px rgba(124, 90, 29, 0.34);
  transition: color 0.45s ease, border-color 0.45s ease, letter-spacing 0.45s ease, box-shadow 0.45s ease, transform 0.45s ease;
}

/* Relleno rosa más profundo que entra desde la izquierda en hover (siempre opaco) */
.hero .btn-get-started::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #a67d2e 0%, #654a17 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
}

/* Destello removido: aspecto más sobrio y con identidad propia (no "template") */
.hero .btn-get-started::after {
  content: none;
}

@keyframes mr-btn-shine {
  0% { left: -130%; }
  35%, 100% { left: 160%; }
}

.hero .btn-get-started > span,
.hero .btn-get-started > i {
  position: relative;
  z-index: 1;
}

.hero .btn-get-started i {
  display: inline-block;
  color: #ffffff;
  font-size: 17px;
  line-height: 1;
  transform: scale(1);
  transition: color 0.45s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}

.hero .btn-get-started:hover {
  color: #fff;
  border-color: #7c5a1d;
  letter-spacing: 3.6px;
  box-shadow: 0 20px 44px rgba(124, 90, 29, 0.42);
  transform: translateY(-2px);
}

.hero .btn-get-started:hover::before {
  transform: scaleX(1);
}

.hero .btn-get-started:hover i {
  color: #fff;
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .hero {
    padding: 110px 0 56px 0;
  }

  /* El glow violáceo lateral quedaba como una mancha rara en pantallas angostas */
  .hero::after {
    display: none;
  }

  .hero-eyebrow {
    font-size: 12.5px;
    letter-spacing: 2.5px;
    padding: 8px 18px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-media::after {
    inset: 12px -12px -12px 12px;
  }
}

/*--------------------------------------------------------------
# Service Hero (sub-page heroes: divorcios, sucesiones, etc.)
--------------------------------------------------------------*/
.service-hero .hero-name-display {
  display: block;
  font-family: var(--heading-font);
  font-size: 64px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--alcayaga-cream);
  margin: 6px 0 22px;
  text-shadow:
    0 4px 28px rgba(0, 0, 0, 0.85),
    0 2px 8px rgba(0, 0, 0, 0.75),
    0 1px 2px rgba(0, 0, 0, 0.6);
}

.service-hero h1 {
  font-family: var(--default-font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.25px;
  color: rgba(250, 241, 232, 0.82);
  text-transform: none;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.6);
  max-width: 920px;
  margin: 0 auto 22px;
  padding: 18px 22px;
  border-top: 1px solid rgba(166, 125, 46, 0.28);
  border-bottom: 1px solid rgba(166, 125, 46, 0.28);
}

.service-hero .service-hero-subtitle {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.4px;
  color: var(--alcayaga-gold-light);
  text-transform: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  max-width: 720px;
  margin: 0 auto 28px;
  display: block;
}

@media (max-width: 768px) {
  .service-hero .hero-name-display {
    font-size: 38px;
    letter-spacing: 2px;
    margin-bottom: 18px;
  }

  .service-hero h1 {
    font-size: 14px;
    padding: 14px 16px;
    line-height: 1.6;
  }

  .service-hero .service-hero-subtitle {
    font-size: 16px;
    margin-bottom: 22px;
  }
}


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about-section {
  padding: 110px 0;
  background: var(--alcayaga-cream);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 40px;
  right: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 125, 46, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.about-section::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 125, 46, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* IMAGE COLUMN */
.about-section .about-image-wrap {
  position: relative;
  padding: 22px 22px 0 0;
}

.about-section .about-image-frame {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 36px;
  left: 22px;
  border: 1.5px solid var(--alcayaga-gold);
  z-index: 1;
  pointer-events: none;
}

.about-section .about-image {
  position: relative;
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
  z-index: 2;
  box-shadow: 0 30px 70px rgba(26, 26, 32, 0.24);
}

.about-section .about-image-caption {
  position: absolute;
  bottom: -16px;
  left: 22px;
  background: var(--alcayaga-navy);
  color: var(--alcayaga-gold-light);
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  z-index: 3;
  box-shadow: 0 12px 28px rgba(26, 26, 32, 0.32);
}

.about-section .about-image-caption .caption-line {
  width: 28px;
  height: 1.5px;
  background: var(--alcayaga-gold);
}

/* CONTENT COLUMN */
.about-section .about-content {
  position: relative;
  padding-left: 12px;
}

.about-section .about-overline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.about-section .about-overline .overline-line {
  width: 50px;
  height: 1.5px;
  background: var(--alcayaga-gold);
}

.about-section .about-overline .overline-text {
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--alcayaga-gold-dark);
}

.about-section .about-title {
  font-family: var(--heading-font);
  font-size: 54px;
  font-weight: 600;
  line-height: 1.05;
  color: var(--alcayaga-navy);
  margin: 0 0 30px;
  letter-spacing: -0.5px;
}

.about-section .about-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--alcayaga-gold-dark);
}

.about-section .about-hook {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--alcayaga-navy);
  margin: 0 0 32px;
  padding-left: 22px;
  border-left: 2px solid var(--alcayaga-gold);
}

.about-section .about-hook::first-letter {
  color: var(--alcayaga-gold-dark);
}

.about-section .about-lead {
  font-family: var(--default-font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: #33322f;
  margin: 0 0 18px;
}

.about-section .about-lead strong {
  color: var(--alcayaga-navy);
  font-weight: 600;
}

.about-section .about-paragraph {
  font-family: var(--default-font);
  font-size: 15.5px;
  line-height: 1.8;
  color: #6b6b6d;
  margin: 0 0 38px;
}

/* PILLARS */
.about-section .about-pillars {
  display: grid;
  gap: 24px;
  margin: 0 0 42px;
  padding: 32px 0;
  border-top: 1px solid rgba(124, 90, 29, 0.22);
  border-bottom: 1px solid rgba(124, 90, 29, 0.22);
}

.about-section .about-pillar {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.about-section .about-pillar .pillar-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--alcayaga-navy);
  color: var(--alcayaga-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 8px 18px rgba(26, 26, 32, 0.25);
  border: 1.5px solid var(--alcayaga-gold);
}

.about-section .about-pillar .pillar-body h3 {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 600;
  color: var(--alcayaga-navy);
  margin: 0 0 4px;
  letter-spacing: 0.3px;
}

.about-section .about-pillar .pillar-body p {
  font-family: var(--default-font);
  font-size: 14.5px;
  line-height: 1.6;
  color: #6b6b6d;
  margin: 0;
}

/* SIGNATURE */
.about-section .about-signature {
  display: flex;
  align-items: center;
  gap: 20px;
}

.about-section .about-signature .signature-flourish {
  width: 44px;
  height: 1.5px;
  background: var(--alcayaga-gold);
}

.about-section .about-signature .signature-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-section .about-signature .signature-name {
  font-family: var(--heading-font);
  font-size: 23px;
  font-weight: 600;
  color: var(--alcayaga-navy);
  font-style: italic;
  letter-spacing: 0.4px;
}

.about-section .about-signature .signature-role {
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--alcayaga-gold-dark);
}

/* Profile CTA — link to trayectoria page */
.about-section .about-profile-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 13px 28px;
  background: transparent;
  border: 1.5px solid var(--alcayaga-navy);
  color: var(--alcayaga-navy);
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.4s ease;
}

.about-section .about-profile-cta i {
  font-size: 14px;
  transition: transform 0.4s ease;
}

.about-section .about-profile-cta:hover {
  background: var(--alcayaga-navy);
  color: var(--alcayaga-gold);
  border-color: var(--alcayaga-navy);
}

.about-section .about-profile-cta:hover i {
  transform: translateX(4px);
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .about-section {
    padding: 80px 0;
  }

  .about-section .about-image {
    height: 440px;
  }

  .about-section .about-content {
    padding-left: 0;
    padding-top: 36px;
  }

  .about-section .about-title {
    font-size: 40px;
  }
}

@media (max-width: 576px) {
  .about-section {
    padding: 56px 0;
  }

  .about-section .about-image-wrap {
    padding: 16px 16px 0 0;
  }

  .about-section .about-image-frame {
    left: 16px;
    bottom: 28px;
  }

  .about-section .about-image {
    height: 340px;
  }

  .about-section .about-title {
    font-size: 32px;
  }

  .about-section .about-image-caption {
    bottom: -14px;
    left: 16px;
    font-size: 10px;
    padding: 10px 16px;
    letter-spacing: 0.18em;
  }

  .about-section .about-pillars {
    padding: 24px 0;
    gap: 18px;
  }

  .about-section .about-pillar .pillar-body h3 {
    font-size: 19px;
  }

  .about-section .about-hook {
    font-size: 18px;
    padding-left: 16px;
  }
}

/*--------------------------------------------------------------
# Process Section
--------------------------------------------------------------*/
.process-section {
  padding: 120px 0;
  background: #0D0B10;
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 125, 46, 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.process-section::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(166, 125, 46, 0.10);
  pointer-events: none;
  z-index: 0;
}

.process-section .container {
  position: relative;
  z-index: 1;
}

/* HEADER */
.process-section .process-header {
  text-align: center;
  margin-bottom: 90px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.process-section .process-overline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.process-section .process-overline .overline-line {
  width: 50px;
  height: 1.5px;
  background: var(--alcayaga-gold);
}

.process-section .process-overline .overline-text {
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--alcayaga-gold);
}

.process-section .process-title {
  font-family: var(--heading-font);
  font-size: 50px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--alcayaga-cream);
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.process-section .process-title em {
  font-style: normal;
  font-weight: 500;
  color: var(--alcayaga-gold);
}

.process-section .process-subtitle {
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.7;
  color: rgba(250, 241, 232, 0.65);
  margin: 0 auto;
  max-width: 600px;
}

/* LEDGER — índice editorial */
.process-section .process-ledger {
  max-width: 980px;
  margin: 0 auto;
  border-top: 1px solid rgba(195, 152, 46, 0.22);
}

.process-section .process-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 44px;
  padding: 36px 24px;
  border-bottom: 1px solid rgba(195, 152, 46, 0.16);
  position: relative;
  transition: background 0.4s ease, padding-left 0.4s ease, transform 0.6s ease, opacity 0.6s ease !important;
}

.process-section .process-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--alcayaga-gold);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.4s ease;
}

.process-section .process-row:hover {
  background: rgba(195, 152, 46, 0.05);
  padding-left: 40px;
}

.process-section .process-row:hover::before {
  transform: scaleY(1);
}

.process-section .row-num {
  font-family: var(--heading-font);
  font-size: 74px;
  font-weight: 600;
  line-height: 1;
  color: var(--alcayaga-gold);
  letter-spacing: -2px;
  font-feature-settings: "lnum";
  transition: color 0.4s ease;
}

.process-section .process-row:hover .row-num {
  color: var(--alcayaga-gold-light);
}

.process-section .row-title {
  font-family: var(--heading-font);
  font-size: 27px;
  font-weight: 600;
  color: var(--alcayaga-cream);
  margin: 0;
  letter-spacing: 0.2px;
}

.process-section .row-desc {
  font-family: var(--default-font);
  font-size: 14.5px;
  line-height: 1.62;
  color: rgba(250, 241, 232, 0.6);
  margin: 7px 0 0;
  max-width: 580px;
}

.process-section .row-icon {
  font-size: 26px;
  color: rgba(195, 152, 46, 0.7);
  transition: color 0.4s ease, transform 0.4s ease;
}

.process-section .process-row:hover .row-icon {
  color: var(--alcayaga-gold);
  transform: scale(1.12);
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .process-section {
    padding: 80px 0;
  }

  .process-section .process-header {
    margin-bottom: 56px;
  }

  .process-section .process-title {
    font-size: 36px;
  }

  .process-section .process-row {
    grid-template-columns: 92px 1fr;
    gap: 24px;
  }

  .process-section .row-num {
    font-size: 56px;
  }

  .process-section .row-icon {
    display: none;
  }
}

@media (max-width: 576px) {
  .process-section {
    padding: 60px 0;
  }

  .process-section .process-title {
    font-size: 30px;
  }

  .process-section .process-row {
    grid-template-columns: 62px 1fr;
    gap: 18px;
    padding: 28px 16px;
  }

  .process-section .process-row:hover {
    padding-left: 20px;
  }

  .process-section .row-num {
    font-size: 42px;
  }

  .process-section .row-title {
    font-size: 22px;
  }
}

/*--------------------------------------------------------------
# Trayectoria Section
--------------------------------------------------------------*/
.trajectory {
  --background-color: #f2eeec;
}

.trajectory .trajectory-image-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent-color), white 70%);
  box-shadow: 0 24px 44px rgba(20, 24, 28, 0.12);
}

.trajectory .trajectory-image {
  width: 100%;
  display: block;
}

.trajectory .trajectory-content {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 34px;
  border: 1px solid color-mix(in srgb, var(--accent-color), white 72%);
  box-shadow: 0 20px 36px rgba(20, 24, 28, 0.07);
}

.trajectory .trajectory-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.trajectory .trajectory-content h3 {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 14px;
  color: color-mix(in srgb, var(--heading-color), black 10%);
}

.trajectory .trajectory-content p {
  font-size: 17px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 18%);
  margin-bottom: 18px;
}

.trajectory .trajectory-points {
  display: grid;
  gap: 12px;
}

.trajectory .trajectory-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: color-mix(in srgb, var(--accent-color), white 95%);
  border: 1px solid color-mix(in srgb, var(--accent-color), white 78%);
  border-radius: 12px;
  padding: 12px;
}

.trajectory .trajectory-point i {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--accent-color);
  background: #fff;
  flex-shrink: 0;
}

.trajectory .trajectory-point span {
  line-height: 1.5;
}

@media (max-width: 991px) {
  .trajectory .trajectory-content {
    padding: 26px;
  }

  .trajectory .trajectory-content h3 {
    font-size: 32px;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services-section {
  padding: 120px 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 125, 46, 0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.services-section::after {
  content: "";
  position: absolute;
  bottom: -180px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 125, 46, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.services-section .container {
  position: relative;
  z-index: 1;
}

/* HEADER */
.services-section .services-header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.services-section .services-overline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.services-section .services-overline .overline-line {
  width: 50px;
  height: 1.5px;
  background: var(--md-gold-dark);
}

.services-section .services-overline .overline-text {
  font-family: var(--display-font);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--md-gold-dark);
}

.services-section .services-title {
  font-family: var(--heading-font);
  font-size: 52px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--heading-color);
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.services-section .services-title em {
  font-style: normal;
  font-weight: 600;
  color: var(--md-rosa-deep);
}

.services-section .services-subtitle {
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.7;
  color: #4a4844;
  margin: 0 auto;
  max-width: 620px;
}

/* Firma decorativa */
.services-section .services-flourish {
  display: block;
  width: 200px;
  height: auto;
  margin: 26px auto 0;
  color: var(--md-gold-dark);
}

/* GRID: 2x2 */
.services-section .services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  counter-reset: svc;
}

/* CARD premium: fondo claro que se rellena de violeta profundo al hover */
.services-section .service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  padding: 40px 42px 34px;
  border: 1px solid rgba(166, 125, 46, 0.14);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(26, 26, 32, 0.07);
  overflow: hidden;
  counter-increment: svc;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease, border-color 0.55s ease;
}

/* Relleno violeta que sube al hover */
.services-section .service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(166, 125, 46, 0.42) 0%, rgba(124, 90, 29, 0.52) 55%, rgba(84, 60, 20, 0.66) 100%),
    url("../img/cta-gn.webp") center center / cover no-repeat;
  opacity: 0;
  transform: translateY(14%);
  transition: opacity 0.55s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

/* Indice grande serif como marca de agua (reemplaza el SVG de la pluma) */
.services-section .service-card::after {
  content: counter(svc, decimal-leading-zero);
  position: absolute;
  top: 22px;
  right: 30px;
  font-family: var(--heading-font);
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
  color: var(--md-rosa);
  opacity: 0.10;
  z-index: 1;
  pointer-events: none;
  transition: color 0.55s ease, opacity 0.55s ease;
}

.services-section .service-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: 0 42px 84px rgba(124, 90, 29, 0.34);
}

.services-section .service-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.services-section .service-card:hover::after {
  color: #ffffff;
  opacity: 0.16;
}

/* Contenido por encima del relleno */
.services-section .service-card > .service-icon,
.services-section .service-card > .service-name,
.services-section .service-card > .service-list,
.services-section .service-card > .service-cta {
  position: relative;
  z-index: 2;
}

/* ICONO */
.services-section .service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #F3EEFB;
  border: 1px solid rgba(166, 125, 46, 0.18);
  margin-bottom: 26px;
  transition: background 0.5s ease, border-color 0.5s ease, transform 0.5s ease;
}

.services-section .service-icon i {
  font-size: 24px;
  line-height: 1;
  color: var(--md-rosa);
  transition: color 0.5s ease;
}

.services-section .service-card:hover .service-icon {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-2px);
}

.services-section .service-card:hover .service-icon i {
  color: #ffffff;
}

/* NOMBRE */
.services-section .service-name {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0 0 16px;
  padding-right: 66px;
  line-height: 1.2;
  transition: color 0.5s ease;
}

.services-section .service-card:hover .service-name {
  color: #ffffff;
}

/* Descripción (una por servicio) */
.services-section .service-desc {
  position: relative;
  z-index: 2;
  font-family: var(--default-font);
  font-size: 15px;
  line-height: 1.65;
  color: #4a4453;
  margin: 0 0 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(166, 125, 46, 0.14);
  flex-grow: 1;
  transition: color 0.5s ease, border-color 0.5s ease;
}

.services-section .service-card:hover .service-desc {
  color: rgba(255, 255, 255, 0.86);
  border-top-color: rgba(255, 255, 255, 0.22);
}

/* LISTA */
.services-section .service-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(166, 125, 46, 0.14);
  display: grid;
  gap: 10px;
  flex-grow: 1;
  transition: border-color 0.5s ease;
}

.services-section .service-card:hover .service-list {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.services-section .service-list li {
  position: relative;
  padding-left: 22px;
  font-family: var(--default-font);
  font-size: 14.5px;
  line-height: 1.5;
  color: #4a4453;
  transition: color 0.5s ease;
}

.services-section .service-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--md-rosa);
  transform: rotate(45deg);
  transition: background 0.5s ease;
}

.services-section .service-card:hover .service-list li {
  color: rgba(255, 255, 255, 0.86);
}

.services-section .service-card:hover .service-list li::before {
  background: #ecdcbc;
}

/* CTA */
.services-section .service-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 13px 26px;
  background: #4a4844;
  color: #ffffff;
  border-radius: 8px;
  font-family: var(--display-font);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(26, 26, 32, 0.18);
  transition: background 0.4s ease, color 0.4s ease, gap 0.35s ease, transform 0.35s ease, box-shadow 0.4s ease;
}

.services-section .service-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
}

.services-section .service-cta-icon i {
  font-size: 16px;
  line-height: 1;
}

.services-section .service-card:hover .service-cta {
  background: #ffffff;
  color: #4a4844;
}

.services-section .service-cta:hover {
  gap: 14px;
  transform: translateY(-1px);
}

.services-section .service-card:hover .service-cta .service-cta-icon {
  transform: translateX(4px);
}

@media (max-width: 991px) {
  .services-section {
    padding: 80px 0;
  }

  .services-section .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .services-section .services-title {
    font-size: 38px;
  }

  .services-section .services-header {
    margin-bottom: 60px;
  }

  .services-section .service-card {
    padding: 30px 26px 26px;
    min-height: 280px;
  }

  .services-section .service-name {
    font-size: 23px;
  }
}

@media (max-width: 576px) {
  .services-section {
    padding: 60px 0;
  }

  .services-section .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .services-section .service-card {
    padding: 28px 24px 24px;
    min-height: auto;
  }

  .services-section .services-title {
    font-size: 30px;
  }
}

/*--------------------------------------------------------------
# CTA Banner (separador con patrón de marca)
--------------------------------------------------------------*/
.cta-banner {
  position: relative;
  padding: 78px 0;
  text-align: center;
  background: #7c5a1d url("../img/cta-gn.webp") center center / cover no-repeat;
  overflow: hidden;
}

/* Velo rosa para unificar y dar contraste al texto */
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(166, 125, 46, 0.35) 0%, rgba(166, 125, 46, 0.15) 50%, rgba(166, 125, 46, 0.35) 100%);
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.cta-banner-title {
  font-family: var(--heading-font);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 12px;
  text-shadow: 0 2px 16px rgba(26, 26, 32, 0.35);
}

.cta-banner-text {
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 auto 30px;
  max-width: 560px;
  text-shadow: 0 1px 10px rgba(26, 26, 32, 0.3);
}

.cta-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  font-family: var(--display-font);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--md-rosa-deep);
  background: #ffffff;
  border-radius: 0;
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(26, 26, 32, 0.28);
  transition: transform 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
}

.cta-banner-btn i {
  font-size: 17px;
  line-height: 1;
}

.cta-banner-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(26, 26, 32, 0.36);
  color: #654a17;
}

@media (max-width: 575px) {
  .cta-banner {
    padding: 56px 0;
  }
}

/*--------------------------------------------------------------
# Equipo Section
--------------------------------------------------------------*/
.equipo-section {
  padding: 120px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.equipo-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.equipo-overline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.equipo-overline .overline-line {
  width: 50px;
  height: 1.5px;
  background: var(--md-gold-dark);
}

.equipo-overline .overline-text {
  font-family: var(--display-font);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--md-gold-dark);
}

.equipo-title {
  font-family: var(--heading-font);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--heading-color);
  margin: 0 0 18px;
}

.equipo-title em {
  font-style: italic;
  color: var(--md-rosa-deep);
}

.equipo-subtitle {
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.7;
  color: #4a4844;
  margin: 0 auto;
  max-width: 620px;
}

.equipo-media {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 30px 70px rgba(26, 26, 32, 0.20);
}

.equipo-media img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.equipo-corner {
  position: absolute;
  width: 46px;
  height: 46px;
  z-index: 2;
  pointer-events: none;
}

.equipo-corner--tl {
  top: -10px;
  left: -10px;
  border-top: 2px solid var(--md-gold);
  border-left: 2px solid var(--md-gold);
}

.equipo-corner--br {
  bottom: -10px;
  right: -10px;
  border-bottom: 2px solid var(--md-gold);
  border-right: 2px solid var(--md-gold);
}

.equipo-legal {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 760px;
  margin: 44px auto 0;
  padding: 26px 30px;
  background: #FCEFF1;
  border-left: 4px solid var(--md-rosa-deep);
  border-radius: 6px;
}

.equipo-legal-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--md-rosa-deep);
  color: #ffffff;
}

.equipo-legal-icon i {
  font-size: 24px;
  line-height: 1;
}

.equipo-legal-text h3 {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 600;
  color: var(--heading-color);
  margin: 0 0 6px;
}

.equipo-legal-text p {
  font-family: var(--default-font);
  font-size: 15px;
  line-height: 1.6;
  color: #4a4844;
  margin: 0;
}

.equipo-legal-text strong {
  color: var(--md-gold-dark);
  font-weight: 700;
}

@media (max-width: 575px) {
  .equipo-section {
    padding: 70px 0;
  }

  .equipo-legal {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/*--------------------------------------------------------------
# Honorarios Section (Jus values)
--------------------------------------------------------------*/
.honorarios-section {
  padding: 100px 0;
  background: var(--alcayaga-cream);
  position: relative;
  overflow: hidden;
}

.honorarios-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 125, 46, 0.10) 0%, transparent 65%);
  pointer-events: none;
}

.honorarios-section::after {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 125, 46, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.honorarios-section .container {
  position: relative;
  z-index: 1;
}

/* HEADER */
.honorarios-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 70px;
}

.honorarios-overline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.honorarios-overline .overline-line {
  width: 50px;
  height: 1.5px;
  background: var(--alcayaga-gold);
}

.honorarios-overline .overline-text {
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--alcayaga-gold-dark);
}

.honorarios-title {
  font-family: var(--heading-font);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--alcayaga-navy);
  margin: 0 0 22px;
  letter-spacing: -0.4px;
}

.honorarios-title em {
  font-style: normal;
  font-weight: 500;
  color: var(--alcayaga-gold-dark);
}

.honorarios-subtitle {
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.7;
  color: #6b6b6d;
  margin: 0 auto;
  max-width: 600px;
}

.honorarios-subtitle strong {
  color: var(--alcayaga-navy);
  font-weight: 600;
}

/* GRID */
.honorarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto 50px;
}

.honorario-card {
  position: relative;
  background: #ffffff;
  padding: 56px 32px 40px;
  border: 1px solid rgba(124, 90, 29, 0.18);
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
}

.honorario-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 1.5px;
  background: var(--alcayaga-gold);
  transition: width 0.55s ease;
}

.honorario-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(26, 26, 32, 0.12);
  border-color: rgba(166, 125, 46, 0.4);
}

.honorario-card:hover::before {
  width: 100%;
}

.honorario-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--alcayaga-navy);
  border: 1.5px solid var(--alcayaga-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--alcayaga-gold);
  font-size: 22px;
  margin: 0 auto 24px;
  transition: background 0.35s ease, color 0.35s ease;
}

.honorario-card:hover .honorario-icon {
  background: var(--alcayaga-gold);
  color: var(--alcayaga-navy-dark);
}

.honorario-value {
  display: block;
  font-family: var(--heading-font);
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--alcayaga-gold-dark);
  margin: 0 0 18px;
}

.honorario-value .honorario-unit {
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--alcayaga-gold-dark);
  vertical-align: super;
}

.honorario-name {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 600;
  color: var(--alcayaga-navy);
  margin: 0 0 12px;
  letter-spacing: 0.2px;
}

.honorario-desc {
  font-family: var(--default-font);
  font-size: 14.5px;
  line-height: 1.6;
  color: #6b6b6d;
  margin: 0;
}

/* FOOTER LINK */
.honorarios-footer {
  text-align: center;
}

.honorarios-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: transparent;
  border: 1.5px solid var(--alcayaga-gold);
  color: var(--alcayaga-navy);
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.4s ease;
}

.honorarios-link i {
  font-size: 14px;
  color: var(--alcayaga-gold-dark);
  transition: transform 0.4s ease;
}

.honorarios-link:hover {
  background: var(--alcayaga-gold);
  color: var(--alcayaga-navy-dark);
  border-color: var(--alcayaga-gold);
}

.honorarios-link:hover i {
  color: var(--alcayaga-navy-dark);
  transform: translate(2px, -2px);
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .honorarios-section {
    padding: 70px 0;
  }

  .honorarios-title {
    font-size: 36px;
  }

  .honorarios-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .honorario-value {
    font-size: 52px;
  }
}

@media (max-width: 576px) {
  .honorarios-section {
    padding: 60px 0;
  }

  .honorarios-title {
    font-size: 28px;
  }

  .honorarios-link {
    font-size: 11px;
    padding: 12px 22px;
  }
}

/*--------------------------------------------------------------
# Consulta CTA Section
--------------------------------------------------------------*/
.consulta-section {
  padding: 110px 0;
  background: var(--alcayaga-navy-dark);
  position: relative;
  overflow: hidden;
}

.consulta-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 125, 46, 0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.consulta-section::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 125, 46, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.consulta-section .container {
  position: relative;
  z-index: 1;
}

/* IMAGE */
.consulta-section .consulta-image-wrap {
  position: relative;
  padding: 22px 22px 0 0;
}

.consulta-section .consulta-image-frame {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 36px;
  left: 22px;
  border: 1.5px solid var(--alcayaga-gold);
  z-index: 1;
  pointer-events: none;
}

.consulta-section .consulta-image {
  position: relative;
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center top;
  z-index: 2;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

/* CONTENT */
.consulta-section .consulta-content {
  position: relative;
  padding-left: 12px;
}

.consulta-section .consulta-overline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.consulta-section .consulta-overline .overline-line {
  width: 50px;
  height: 1.5px;
  background: var(--alcayaga-gold);
}

.consulta-section .consulta-overline .overline-text {
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--alcayaga-gold);
}

.consulta-section .consulta-quote {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--alcayaga-cream);
  margin: 0 0 24px;
  letter-spacing: -0.2px;
  position: relative;
  padding-left: 36px;
}

.consulta-section .consulta-quote::before {
  content: "\201C";
  position: absolute;
  left: -6px;
  top: -22px;
  font-family: var(--heading-font);
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  color: var(--alcayaga-gold);
  opacity: 0.55;
}

.consulta-section .consulta-quote::after {
  content: "\201D";
  font-family: var(--heading-font);
  font-size: 64px;
  font-weight: 700;
  line-height: 0;
  color: var(--alcayaga-gold);
  opacity: 0.55;
  vertical-align: -0.38em;
  margin-left: 6px;
}

.consulta-section .consulta-attribution {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 36px;
  padding-left: 36px;
}

.consulta-section .consulta-attribution .attribution-flourish {
  width: 36px;
  height: 1.5px;
  background: var(--alcayaga-gold);
}

.consulta-section .consulta-attribution .attribution-text {
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--alcayaga-gold-light);
}

.consulta-section .consulta-body {
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(250, 241, 232, 0.72);
  margin: 0 0 40px;
}

/* CTA BUTTON */
.consulta-section .consulta-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 32px;
  background: var(--alcayaga-gold);
  border: 1.5px solid var(--alcayaga-gold);
  color: var(--alcayaga-navy-dark);
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.4s ease;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(232, 217, 184, 0.25) inset;
}

.consulta-section .consulta-cta i {
  font-size: 16px;
  transition: transform 0.4s ease;
}

.consulta-section .consulta-cta:hover {
  background: transparent;
  color: var(--alcayaga-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.consulta-section .consulta-cta:hover i {
  transform: translateX(4px);
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .consulta-section {
    padding: 70px 0;
  }

  .consulta-section .consulta-image {
    height: 460px;
  }

  .consulta-section .consulta-content {
    padding-left: 0;
    padding-top: 30px;
  }

  .consulta-section .consulta-quote {
    font-size: 30px;
    padding-left: 30px;
  }

  .consulta-section .consulta-quote::before {
    font-size: 80px;
  }

  .consulta-section .consulta-quote::after {
    font-size: 50px;
  }

  .consulta-section .consulta-attribution {
    padding-left: 30px;
  }
}

@media (max-width: 576px) {
  .consulta-section {
    padding: 56px 0;
  }

  .consulta-section .consulta-image-wrap {
    padding: 16px 16px 0 0;
  }

  .consulta-section .consulta-image-frame {
    left: 16px;
    bottom: 28px;
  }

  .consulta-section .consulta-image {
    height: auto;
  }

  .consulta-section .consulta-quote {
    font-size: 24px;
    padding-left: 22px;
  }

  .consulta-section .consulta-quote::before {
    font-size: 64px;
    left: -4px;
    top: -16px;
  }

  .consulta-section .consulta-quote::after {
    font-size: 40px;
  }

  .consulta-section .consulta-attribution {
    padding-left: 22px;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: -40px 0 0 40px;
  position: relative;
  z-index: 2;
  border: 6px solid var(--background-color);
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 45px;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 0 0 45px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 0 15px;
  padding: 20px 20px 60px 20px;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  position: relative;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 400;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team {
  --default-color: #ffffff;
}

.team .member {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.team .member .member-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  transition: 0.2s;
}

.team .member .member-info-content {
  position: absolute;
  left: 50px;
  right: 0;
  bottom: 0;
  transition: bottom 0.4s;
}

.team .member .member-info-content h4 {
  color: var(--contrast-color);
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
}

.team .member .member-info-content span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.team .member .social {
  position: absolute;
  left: -50px;
  top: 0;
  bottom: 0;
  width: 50px;
  transition: left ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  text-align: center;
}

.team .member .social a {
  transition: color 0.3s;
  display: block;
  color: var(--default-color);
  margin-top: 15px;
}

.team .member .social a:hover {
  color: var(--accent-color);
}

.team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

.team .member:hover .member-info {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.8) 20%, rgba(255, 255, 255, 0) 100%);
  opacity: 1;
  transition: 0.4s;
}

.team .member:hover .member-info-content {
  bottom: 30px;
  transition: bottom 0.4s;
}

.team .member:hover .social {
  left: 0;
  transition: left ease-in-out 0.3s;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq-section {
  padding: 110px 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: "";
  position: absolute;
  top: 40px;
  left: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 125, 46, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.faq-section::after {
  content: "";
  position: absolute;
  bottom: -180px;
  right: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 125, 46, 0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.faq-section .container {
  position: relative;
  z-index: 1;
}

/* HEAD (centrado) */
/* LAYOUT asimétrico: aside sticky izquierda + lista derecha */
.faq-section .faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}

@media (min-width: 992px) {
  .faq-section .faq-layout {
    grid-template-columns: 5fr 7fr;
    gap: 72px;
    align-items: start;
  }
  .faq-section .faq-aside {
    position: sticky;
    top: 120px;
  }
}

.faq-section .faq-aside {
  text-align: left;
}

.faq-section .faq-overline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.faq-section .faq-overline .overline-line {
  width: 46px;
  height: 1.5px;
  background: var(--md-gold-dark);
}

.faq-section .faq-overline .overline-text {
  font-family: var(--display-font);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--md-gold-dark);
}

.faq-section .faq-title {
  font-family: var(--heading-font);
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--heading-color);
  margin: 0 0 18px;
  letter-spacing: -0.4px;
}

.faq-section .faq-title em {
  font-style: normal;
  color: var(--md-rosa-deep);
}

.faq-section .faq-intro {
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.75;
  color: #4a4453;
  margin: 0 0 30px;
  max-width: 430px;
}

/* CTA dentro del aside */
.faq-section .faq-cta {
  text-align: left;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(166, 125, 46, 0.16);
  max-width: 430px;
}

.faq-section .faq-cta-line {
  display: none;
}

.faq-section .faq-cta-text {
  font-family: var(--heading-font);
  font-size: 19px;
  font-weight: 600;
  color: var(--heading-color);
  margin: 0 0 16px;
}

.faq-section .faq-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: #4a4844;
  color: #ffffff;
  border-radius: 8px;
  font-family: var(--display-font);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(26, 26, 32, 0.20);
  transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.faq-section .faq-cta-btn i {
  font-size: 15px;
}

.faq-section .faq-cta-btn:hover {
  background: var(--md-rosa-deep);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(124, 90, 29, 0.32);
}

/* LISTA (derecha): filas con divisores, sin cajas */
.faq-section .faq-container {
  display: block;
  max-width: none;
  margin: 0;
}

.faq-section .faq-container .faq-item {
  position: relative;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(166, 125, 46, 0.16);
  border-radius: 0;
  padding: 24px 52px 24px 0;
  box-shadow: none;
  transition: none;
}

.faq-section .faq-container .faq-item:last-child {
  border-bottom: 1px solid rgba(166, 125, 46, 0.16);
}

.faq-section .faq-container .faq-item:hover {
  border-color: rgba(166, 125, 46, 0.16);
  box-shadow: none;
}

.faq-section .faq-container .faq-item h3 {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--heading-color);
  font-size: 19px;
  line-height: 1.4;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 16px;
  transition: color 0.3s ease;
}

.faq-section .faq-container .faq-item h3 .faq-num {
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--md-rosa);
  opacity: 0.55;
  flex-shrink: 0;
  min-width: 24px;
  transition: opacity 0.3s ease;
}

.faq-section .faq-container .faq-item h3 .faq-question {
  flex: 1;
}

.faq-section .faq-container .faq-item h3:hover {
  color: var(--md-rosa-deep);
}

/* CONTENIDO expandible */
.faq-section .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, padding-top 0.45s ease;
  opacity: 0;
}

.faq-section .faq-container .faq-item .faq-content > p {
  overflow: hidden;
  margin: 0;
  padding-left: 40px;
  padding-right: 6px;
  font-family: var(--default-font);
  font-size: 15px;
  line-height: 1.78;
  color: #4a4453;
}

.faq-section .faq-container .faq-item .faq-content > p strong {
  color: var(--heading-color);
  font-weight: 700;
}

/* TOGGLE: chevron minimal a la derecha */
.faq-section .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 24px;
  right: 4px;
  font-size: 16px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  color: var(--md-rosa-deep);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

/* ACTIVO */
.faq-section .faq-container .faq-active h3 {
  color: var(--md-rosa-deep);
}

.faq-section .faq-container .faq-active h3 .faq-num {
  opacity: 1;
}

.faq-section .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-top: 16px;
}

.faq-section .faq-container .faq-active .faq-toggle {
  transform: rotate(180deg);
}

@media (max-width: 991px) {
  .faq-section {
    padding: 70px 0;
  }

  .faq-section .faq-container .faq-item h3 {
    font-size: 19px;
    gap: 14px;
  }

  .faq-section .faq-container .faq-item .faq-content > p {
    padding-left: 0;
    font-size: 14.5px;
  }
}

@media (max-width: 576px) {
  .faq-section {
    padding: 56px 0;
  }

  .faq-section .faq-container .faq-item h3 {
    gap: 12px;
    font-size: 17px;
  }

  .faq-section .faq-container .faq-item h3 .faq-num {
    font-size: 16px;
    min-width: 24px;
  }

  .faq-section .faq-cta-text {
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# Testimonios (Google reviews)
--------------------------------------------------------------*/
.tst-section {
  padding: 110px 0;
  position: relative;
  background: #a67d2e url("../img/fondo-tetsimonios.jpg") center center / cover;
  overflow: hidden;
}

/* Velo dorado muy leve para unificar */
.tst-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(232, 217, 184, 0.35) 0%, rgba(166, 125, 46, 0.15) 100%);
  pointer-events: none;
}

.tst-section .container {
  position: relative;
  z-index: 1;
}

/* HEADER */
.tst-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.tst-overline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.tst-overline .overline-line {
  width: 46px;
  height: 1.5px;
  background: #7A5A22;
}

.tst-overline .overline-text {
  font-family: var(--display-font);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7A5A22;
}

.tst-title {
  font-family: var(--heading-font);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.12;
  color: #3C2E17;
  margin: 0 0 26px;
}

.tst-title em {
  font-style: italic;
  color: var(--md-rosa-deep);
}

/* Rating resumen */
.tst-rating {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 16px 26px;
  background: #ffffff;
  border-radius: 60px;
  box-shadow: 0 16px 40px rgba(120, 85, 30, 0.20);
}

.tst-rating-num {
  font-family: var(--heading-font);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: #3C2E17;
}

.tst-rating-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: left;
}

.tst-rating-stars {
  color: #E0A93E;
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 1;
}

.tst-rating-label {
  font-family: var(--default-font);
  font-size: 12px;
  color: #6B5A42;
}

.tst-rating-label .bi-google {
  color: #4285F4;
  margin-right: 3px;
}

.tst-google-btn {
  font-family: var(--display-font);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--md-rosa-deep);
  padding: 11px 22px;
  border-radius: 40px;
  text-decoration: none;
  transition: background 0.35s ease, transform 0.35s ease;
}

.tst-google-btn:hover {
  background: #654a17;
  transform: translateY(-2px);
}

/* GRID masonry */
.tst-grid {
  column-width: 320px;
  column-gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

/* CARD */
.tst-card {
  position: relative;
  break-inside: avoid;
  margin: 0 0 24px;
  background: #ffffff;
  border-radius: 12px;
  padding: 26px 26px 24px;
  box-shadow: 0 14px 34px rgba(120, 85, 30, 0.16);
}

.tst-source {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 18px;
  color: #4285F4;
  line-height: 1;
}

.tst-who {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}

.tst-avatar {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--default-font);
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 0.5px;
  background: var(--md-rosa-deep);
}

.tst-card:nth-child(even) .tst-avatar {
  background: var(--md-gold-dark);
}

.tst-card:nth-child(3n) .tst-avatar {
  background: #b5566b;
}

.tst-who-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tst-name {
  font-family: var(--heading-font);
  font-size: 17px;
  font-weight: 600;
  color: var(--heading-color);
  line-height: 1.2;
}

.tst-meta {
  font-family: var(--default-font);
  font-size: 12px;
  color: #9a8f84;
  margin-top: 2px;
}

.tst-stars {
  display: block;
  color: #E0A93E;
  font-size: 14px;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  line-height: 1;
}

.tst-text {
  font-family: var(--default-font);
  font-size: 14.5px;
  line-height: 1.7;
  color: #4a4844;
  margin: 0;
}

/* Slider */
.tst-swiper {
  padding-bottom: 46px;
}

.tst-swiper .swiper-slide {
  height: auto;
}

.tst-swiper .swiper-slide .tst-card {
  height: 100%;
  margin: 0;
}

.tst-swiper .swiper-pagination {
  bottom: 6px;
}

.tst-swiper .swiper-pagination-bullet {
  background: #ffffff;
  opacity: 0.75;
  width: 9px;
  height: 9px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tst-swiper .swiper-pagination-bullet-active {
  background: var(--md-rosa-deep);
  opacity: 1;
  transform: scale(1.2);
}

@media (max-width: 575px) {
  .tst-section {
    padding: 64px 0;
  }
  .tst-rating {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    border-radius: 20px;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-map {
  margin-top: 56px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(124, 90, 29, 0.16);
  border: 1px solid rgba(166, 125, 46, 0.14);
  line-height: 0;
}

.contact-map iframe {
  display: block;
  width: 100%;
}

.contact-section {
  padding: 120px 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 125, 46, 0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.contact-section::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 125, 46, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

/* HEADER */
.contact-section .contact-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 80px;
}

.contact-section .contact-overline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-section .contact-overline .overline-line {
  width: 50px;
  height: 1.5px;
  background: var(--md-gold-dark);
}

.contact-section .contact-overline .overline-text {
  font-family: var(--display-font);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--md-gold-dark);
}

.contact-section .contact-title {
  font-family: var(--heading-font);
  font-size: 50px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--heading-color);
  margin: 0 0 22px;
  letter-spacing: -0.4px;
}

.contact-section .contact-title em {
  font-style: italic;
  color: var(--md-rosa-deep);
}

.contact-section .contact-subtitle {
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.7;
  color: #4a4844;
  margin: 0 auto;
  max-width: 600px;
}

/* CONTACT METHODS (left column) */
.contact-section .contact-methods {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-section .contact-method,
.contact-section .contact-note {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 60px 22px 26px;
  background: #ffffff;
  border: 1px solid rgba(13, 11, 16, 0.08);
  border-left: 2px solid transparent;
  box-shadow: 0 10px 26px rgba(13, 11, 16, 0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease, border-color 0.4s ease, border-left-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.contact-section .contact-note {
  padding-right: 26px;
}

.contact-section .contact-method:hover {
  transform: translateY(-3px);
  border-color: rgba(166, 125, 46, 0.4);
  border-left-color: var(--md-rosa-deep);
  box-shadow: 0 22px 44px rgba(166, 125, 46, 0.14);
}

.contact-section .contact-method .method-icon,
.contact-section .contact-note .method-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F3EEFB 0%, #f3eada 100%);
  color: var(--md-rosa-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 1px solid rgba(166, 125, 46, 0.25);
  transition: background 0.35s ease, color 0.35s ease, transform 0.4s ease, border-color 0.35s ease;
}

.contact-section .contact-method:hover .method-icon {
  background: var(--md-rosa-deep);
  border-color: var(--md-rosa-deep);
  color: #ffffff;
  transform: scale(1.05);
}

.contact-section .contact-method .method-body,
.contact-section .contact-note .method-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.contact-section .contact-method .method-label,
.contact-section .contact-note .method-label {
  font-family: var(--nav-font);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--alcayaga-gold-dark);
}

.contact-section .contact-method .method-value,
.contact-section .contact-note .method-value {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 600;
  color: var(--heading-color);
  line-height: 1.25;
  letter-spacing: 0.2px;
}

.contact-section .method-value--email {
  font-family: var(--default-font);
  font-size: 16px;
  font-weight: 600;
  word-break: break-word;
}

/* Números del footer — legibilidad (tabular) */
.footer-section .footer-contact-list a[href*="wa.me"],
.footer-section .footer-contact-list a[href^="tel:"] {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.footer-section .footer-contact-list a[href*="wa.me"] {
  color: #ffffff;
}

.footer-section .footer-contact-list a[href*="wa.me"]:hover {
  color: #e8d9b8;
}

.contact-section .contact-method .method-meta,
.contact-section .contact-note .method-meta {
  font-family: var(--default-font);
  font-size: 12.5px;
  color: #6b6760;
  line-height: 1.5;
}

.contact-section .contact-method .method-arrow {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--alcayaga-gold);
  opacity: 0.45;
  transition: opacity 0.35s ease, transform 0.4s ease;
}

.contact-section .contact-method:hover .method-arrow {
  opacity: 1;
  transform: translateY(-50%) translate(4px, -4px);
}

/* MAP */
.contact-section .contact-map-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  border: 1px solid rgba(166, 125, 46, 0.28);
  overflow: hidden;
  margin-top: 6px;
}

.contact-section .contact-map-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 32, 0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
}

.contact-section .contact-map {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(35%) contrast(1.05) brightness(0.96);
}

/* FORM (right column) */
.contact-section .contact-form {
  position: relative;
  padding: 42px;
  background: #ffffff;
  border: 1px solid rgba(166, 125, 46, 0.18);
  border-radius: 10px;
  box-shadow: 0 30px 70px rgba(26, 26, 32, 0.10);
}

.contact-section .form-intro {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.contact-section .form-intro-line {
  width: 40px;
  height: 1.5px;
  background: var(--md-gold-dark);
}

.contact-section .form-intro-text {
  font-family: var(--display-font);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--md-gold-dark);
}

.contact-section .contact-label {
  display: block;
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B5A52;
  margin-bottom: 8px;
}

.contact-section .contact-input {
  width: 100%;
  padding: 13px 16px;
  background: #FBF7F2;
  border: 1px solid rgba(26, 26, 32, 0.14);
  border-radius: 6px;
  color: #4a4844;
  font-family: var(--default-font);
  font-size: 15px;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.contact-section .contact-input::placeholder {
  color: #a89e94;
}

.contact-section .contact-input:focus {
  outline: none;
  border-color: var(--md-rosa-deep);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(166, 125, 46, 0.14);
}

.contact-section .contact-textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--default-font);
}

.contact-section select.contact-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237733C0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.contact-section select.contact-select:invalid {
  color: #a89e94;
}

/* SUBMIT BUTTON */
.contact-section .contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 15px 36px;
  background: var(--md-rosa-deep);
  border: 1.5px solid var(--md-rosa-deep);
  color: #ffffff;
  font-family: var(--display-font);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.4s ease;
  box-shadow: 0 14px 32px rgba(166, 125, 46, 0.32);
}

.contact-section .contact-submit i {
  font-size: 16px;
  transition: transform 0.4s ease;
}

.contact-section .contact-submit:hover {
  background: #654a17;
  border-color: #654a17;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(166, 125, 46, 0.42);
}

.contact-section .contact-submit:hover i {
  transform: translateX(4px);
}

/* PHP-email-form helpers (Netlify status) — override colors for dark bg */
.contact-section .php-email-form .loading {
  background: transparent;
  color: var(--md-rosa-deep);
}

.contact-section .php-email-form .sent-message {
  background: rgba(166, 125, 46, 0.10);
  border: 1px solid rgba(166, 125, 46, 0.35);
  color: #7a3a4a;
}

.contact-section .php-email-form .error-message {
  background: rgba(180, 30, 50, 0.08);
  border: 1px solid rgba(180, 30, 50, 0.3);
  color: #9a3040;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .contact-section {
    padding: 80px 0;
  }

  .contact-section .contact-title {
    font-size: 36px;
  }

  .contact-section .contact-header {
    margin-bottom: 56px;
  }

  .contact-section .contact-form {
    padding: 28px;
  }
}

@media (max-width: 576px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-section .contact-title {
    font-size: 28px;
  }

  .contact-section .contact-method {
    padding: 18px 50px 18px 18px;
    gap: 16px;
  }

  .contact-section .contact-method .method-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .contact-section .contact-method .method-value {
    font-size: 16px;
  }

  .contact-section .contact-form {
    padding: 24px;
  }
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Trayectoria / Profile Page
--------------------------------------------------------------*/
body.trayectoria-page {
  background: var(--alcayaga-cream);
  margin: 0;
}

/* HERO */
.profile-hero-section {
  padding: 130px 0 90px;
  background: var(--alcayaga-cream);
  position: relative;
  overflow: hidden;
}

.profile-hero-section::before {
  content: "";
  position: absolute;
  top: 40px;
  right: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 125, 46, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.profile-hero-section::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 125, 46, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.profile-hero-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.profile-image-wrap {
  position: relative;
  padding: 22px 22px 0 0;
}

.profile-image-frame {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 36px;
  left: 22px;
  border: 1.5px solid var(--alcayaga-gold);
  z-index: 1;
  pointer-events: none;
}

.profile-image {
  position: relative;
  display: block;
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center top;
  z-index: 2;
  box-shadow: 0 30px 70px rgba(26, 26, 32, 0.22);
}

.profile-image-badge {
  position: absolute;
  bottom: -16px;
  left: 22px;
  background: var(--alcayaga-navy);
  color: var(--alcayaga-gold-light);
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  z-index: 3;
  box-shadow: 0 12px 28px rgba(26, 26, 32, 0.32);
}

.profile-image-badge .badge-line {
  width: 28px;
  height: 1.5px;
  background: var(--alcayaga-gold);
}

/* Hero content right column */
.profile-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.profile-eyebrow .overline-line {
  width: 50px;
  height: 1.5px;
  background: var(--alcayaga-gold);
}

.profile-eyebrow .overline-text {
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--alcayaga-gold-dark);
}

.profile-name-display {
  display: block;
  font-family: var(--heading-font);
  font-size: 42px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--alcayaga-navy);
  margin: 0 0 18px;
}

.profile-title {
  font-family: var(--heading-font);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.3px;
  color: var(--alcayaga-navy);
  margin: 0 0 24px;
}

.profile-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--alcayaga-gold-dark);
}

.profile-intro {
  font-family: var(--default-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: #33322f;
  margin: 0 0 36px;
  max-width: 580px;
}

.profile-intro strong {
  color: var(--alcayaga-navy);
  font-weight: 600;
}

/* Stats */
.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 26px 0 0;
  border-top: 1px solid rgba(124, 90, 29, 0.22);
}

.profile-stats .stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-stats .stat-number {
  font-family: var(--heading-font);
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--alcayaga-gold-dark);
}

.profile-stats .stat-label {
  font-family: var(--nav-font);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6b6b6d;
}

/* TIMELINE SECTION */
.profile-timeline-section {
  padding: 100px 0;
  background: var(--alcayaga-cream);
  position: relative;
}

.profile-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 70px;
}

.profile-overline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.profile-overline .overline-line {
  width: 50px;
  height: 1.5px;
  background: var(--alcayaga-gold);
}

.profile-overline .overline-text {
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--alcayaga-gold-dark);
}

.profile-section-title {
  font-family: var(--heading-font);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--alcayaga-navy);
  margin: 0 0 18px;
  letter-spacing: -0.4px;
}

.profile-section-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--alcayaga-gold-dark);
}

.profile-section-subtitle {
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.7;
  color: #6b6b6d;
  margin: 0 auto;
  max-width: 580px;
}

/* Light variants for dark backgrounds */
.profile-overline-light .overline-text {
  color: var(--alcayaga-gold);
}

.profile-section-title-light {
  color: var(--alcayaga-cream);
}

.profile-section-title-light em {
  color: var(--alcayaga-gold);
}

.profile-section-subtitle-light {
  color: rgba(250, 241, 232, 0.7);
}

/* Timeline list (vertical) */
.profile-timeline-list {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}

.profile-timeline-list::before {
  content: "";
  position: absolute;
  top: 32px;
  bottom: 32px;
  left: 132px;
  width: 1px;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(166, 125, 46, 0.45) 0,
    rgba(166, 125, 46, 0.45) 7px,
    transparent 7px,
    transparent 16px
  );
}

.profile-timeline-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 36px;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

.profile-timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  text-align: right;
}

.timeline-year {
  display: block;
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--alcayaga-gold-dark);
  margin: 0 0 14px;
}

.timeline-node {
  position: absolute;
  top: 18px;
  left: 108px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--alcayaga-navy);
  border: 1.5px solid var(--alcayaga-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--alcayaga-gold);
  font-size: 18px;
  box-shadow: 0 8px 18px rgba(26, 26, 32, 0.22), 0 0 0 6px var(--alcayaga-cream);
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.profile-timeline-item:hover .timeline-node {
  background: var(--alcayaga-gold);
  color: var(--alcayaga-navy-dark);
  transform: scale(1.06);
}

.timeline-content {
  padding-top: 12px;
}

.timeline-place {
  display: block;
  font-family: var(--nav-font);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--alcayaga-gold-dark);
  margin: 0 0 8px;
}

.timeline-title {
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 600;
  color: var(--alcayaga-navy);
  margin: 0 0 14px;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.timeline-desc {
  font-family: var(--default-font);
  font-size: 15px;
  line-height: 1.75;
  color: #6b6b6d;
  margin: 0;
  max-width: 580px;
}

/* AREAS SECTION (navy) */
.profile-areas-section {
  padding: 110px 0;
  background: var(--alcayaga-navy-dark);
  position: relative;
  overflow: hidden;
}

.profile-areas-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 125, 46, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.profile-areas-section .container {
  position: relative;
  z-index: 1;
}

.profile-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
}

.profile-area-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--alcayaga-navy);
  padding: 40px 32px;
  border: 1px solid rgba(166, 125, 46, 0.28);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  overflow: hidden;
}

.profile-area-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 1.5px;
  background: var(--alcayaga-gold);
  transition: width 0.55s ease;
}

.profile-area-card:hover {
  transform: translateY(-6px);
  border-color: rgba(166, 125, 46, 0.6);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.4);
}

.profile-area-card:hover::before {
  width: 100%;
}

.area-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--alcayaga-navy-dark);
  border: 1.5px solid var(--alcayaga-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--alcayaga-gold);
  font-size: 24px;
  margin-bottom: 24px;
  transition: background 0.35s ease, color 0.35s ease;
}

.profile-area-card:hover .area-icon {
  background: var(--alcayaga-gold);
  color: var(--alcayaga-navy-dark);
}

.area-name {
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 600;
  color: var(--alcayaga-cream);
  margin: 0 0 14px;
  letter-spacing: 0.2px;
}

.area-desc {
  font-family: var(--default-font);
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(250, 241, 232, 0.7);
  margin: 0;
}

/* PHILOSOPHY (cream) */
.profile-philosophy-section {
  padding: 110px 0;
  background: var(--alcayaga-cream);
  position: relative;
  overflow: hidden;
}

.profile-philosophy-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 125, 46, 0.10) 0%, transparent 65%);
  pointer-events: none;
}

.philosophy-wrap {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.philosophy-quote-mark {
  font-family: var(--heading-font);
  font-size: 130px;
  font-weight: 700;
  line-height: 0.8;
  color: var(--alcayaga-gold);
  opacity: 0.55;
  margin-bottom: -20px;
}

.philosophy-quote {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--alcayaga-navy);
  margin: 0 0 36px;
  letter-spacing: 0.2px;
}

.philosophy-attribution {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 44px;
}

.philosophy-attribution .attribution-flourish {
  width: 44px;
  height: 1.5px;
  background: var(--alcayaga-gold);
}

.philosophy-attribution .attribution-text {
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--alcayaga-gold-dark);
}

.philosophy-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 32px;
  background: var(--alcayaga-gold);
  border: 1.5px solid var(--alcayaga-gold);
  color: var(--alcayaga-navy-dark);
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.4s ease;
  box-shadow: 0 14px 32px rgba(26, 26, 32, 0.18), 0 0 0 1px rgba(232, 217, 184, 0.25) inset;
}

.philosophy-cta i {
  font-size: 16px;
  transition: transform 0.4s ease;
}

.philosophy-cta:hover {
  background: var(--alcayaga-navy-dark);
  color: var(--alcayaga-gold);
  border-color: var(--alcayaga-gold);
}

.philosophy-cta:hover i {
  transform: translateX(4px);
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .profile-hero-section {
    padding: 110px 0 70px;
  }

  .profile-hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .profile-image {
    height: 440px;
  }

  .profile-name-display {
    font-size: 34px;
    letter-spacing: 2px;
  }

  .profile-title {
    font-size: 28px;
  }

  .profile-stats {
    grid-template-columns: 1fr 1fr;
  }

  .profile-stats .stat-number {
    font-size: 30px;
  }

  .profile-section-title {
    font-size: 34px;
  }

  .profile-timeline-list::before {
    left: 22px;
  }

  .profile-timeline-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-left: 60px;
  }

  .timeline-marker {
    text-align: left;
  }

  .timeline-node {
    left: 0;
    top: 0;
  }

  .timeline-year {
    padding-left: 60px;
  }

  .profile-areas-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .philosophy-quote {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .profile-hero-section {
    padding: 100px 0 56px;
  }

  .profile-image {
    height: 340px;
  }

  .profile-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .profile-name-display {
    font-size: 28px;
  }

  .profile-title {
    font-size: 24px;
  }

  .profile-section-title {
    font-size: 28px;
  }

  .timeline-title {
    font-size: 22px;
  }

  .philosophy-quote {
    font-size: 21px;
  }

  .philosophy-quote-mark {
    font-size: 90px;
  }
}

/*--------------------------------------------------------------
# Gracias Page
--------------------------------------------------------------*/
body.gracias-page {
  background: var(--alcayaga-cream);
  margin: 0;
  min-height: 100vh;
}

.gracias-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}

.gracias-section::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 125, 46, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.gracias-section::after {
  content: "";
  position: absolute;
  bottom: -180px;
  left: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 125, 46, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.gracias-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
}

.gracias-column {
  width: 70px;
  height: auto;
  color: var(--alcayaga-gold);
  display: block;
  margin: 0 auto 34px;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: gracias-column-draw 1.6s cubic-bezier(0.65, 0, 0.35, 1) 0.2s forwards;
}

@keyframes gracias-column-draw {
  to { stroke-dashoffset: 0; }
}

.gracias-overline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  opacity: 0;
  animation: gracias-fade-in 0.7s ease 0.7s forwards;
}

.gracias-overline .overline-line {
  width: 44px;
  height: 1.5px;
  background: var(--alcayaga-gold);
}

.gracias-overline .overline-text {
  font-family: var(--nav-font);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--alcayaga-gold-dark);
}

.gracias-title {
  font-family: var(--heading-font);
  font-size: 56px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--alcayaga-navy);
  margin: 0 0 28px;
  letter-spacing: -0.5px;
  opacity: 0;
  animation: gracias-fade-in 0.7s ease 0.9s forwards;
}

.gracias-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--alcayaga-gold-dark);
}

.gracias-body {
  font-family: var(--default-font);
  font-size: 17px;
  line-height: 1.75;
  color: #33322f;
  margin: 0 auto 38px;
  max-width: 520px;
  opacity: 0;
  animation: gracias-fade-in 0.7s ease 1.1s forwards;
}

.gracias-body strong {
  color: var(--alcayaga-navy);
  font-weight: 600;
}

.gracias-signature {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 40px;
  opacity: 0;
  animation: gracias-fade-in 0.7s ease 1.3s forwards;
}

.gracias-signature .signature-flourish {
  width: 44px;
  height: 1.5px;
  background: var(--alcayaga-gold);
}

.gracias-signature .signature-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.gracias-signature .signature-name {
  font-family: var(--heading-font);
  font-size: 21px;
  font-weight: 600;
  color: var(--alcayaga-navy);
  font-style: italic;
  letter-spacing: 0.3px;
}

.gracias-signature .signature-role {
  font-family: var(--nav-font);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--alcayaga-gold-dark);
}

.gracias-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  animation: gracias-fade-in 0.7s ease 1.5s forwards;
}

.gracias-cta-primary,
.gracias-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  font-family: var(--nav-font);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.4s ease;
}

.gracias-cta-primary {
  background: var(--alcayaga-gold);
  border: 1.5px solid var(--alcayaga-gold);
  color: var(--alcayaga-navy-dark);
  box-shadow: 0 14px 32px rgba(26, 26, 32, 0.18), 0 0 0 1px rgba(232, 217, 184, 0.25) inset;
}

.gracias-cta-primary:hover {
  background: var(--alcayaga-navy-dark);
  color: var(--alcayaga-gold);
  border-color: var(--alcayaga-gold);
}

.gracias-cta-primary i {
  font-size: 15px;
  transition: transform 0.4s ease;
}

.gracias-cta-primary:hover i {
  transform: scale(1.12) rotate(-8deg);
}

.gracias-cta-secondary {
  background: transparent;
  border: 1.5px solid var(--alcayaga-navy);
  color: var(--alcayaga-navy);
}

.gracias-cta-secondary i {
  font-size: 14px;
  transition: transform 0.4s ease;
}

.gracias-cta-secondary:hover {
  background: var(--alcayaga-navy);
  color: var(--alcayaga-gold);
}

.gracias-cta-secondary:hover i {
  transform: translateX(4px);
}

@keyframes gracias-fade-in {
  to { opacity: 1; }
}

@media (max-width: 576px) {
  .gracias-title {
    font-size: 38px;
  }
  .gracias-body {
    font-size: 15.5px;
  }
  .gracias-ctas {
    flex-direction: column;
    width: 100%;
  }
  .gracias-cta-primary,
  .gracias-cta-secondary {
    width: 100%;
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# 404 Error Page
--------------------------------------------------------------*/
body.error-page {
  background: var(--alcayaga-cream);
  margin: 0;
  min-height: 100vh;
}

.error-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}

.error-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 125, 46, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.error-section::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 125, 46, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.error-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 580px;
}

.error-column {
  width: 60px;
  height: auto;
  color: var(--alcayaga-gold);
  display: block;
  margin: 0 auto 30px;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: error-column-draw 1.5s cubic-bezier(0.65, 0, 0.35, 1) 0.2s forwards;
}

@keyframes error-column-draw {
  to { stroke-dashoffset: 0; }
}

.error-number {
  font-family: var(--heading-font);
  font-size: 138px;
  font-weight: 600;
  color: var(--alcayaga-gold);
  line-height: 1;
  letter-spacing: -3px;
  margin: 0 0 22px;
  opacity: 0;
  animation: error-fade-in 0.7s ease 0.6s forwards;
}

.error-overline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  opacity: 0;
  animation: error-fade-in 0.7s ease 0.9s forwards;
}

.error-overline .overline-line {
  width: 40px;
  height: 1.5px;
  background: var(--alcayaga-gold);
}

.error-overline .overline-text {
  font-family: var(--nav-font);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--alcayaga-gold-dark);
}

.error-title {
  font-family: var(--heading-font);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.12;
  color: var(--alcayaga-navy);
  margin: 0 0 22px;
  letter-spacing: -0.4px;
  opacity: 0;
  animation: error-fade-in 0.7s ease 1.05s forwards;
}

.error-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--alcayaga-gold-dark);
}

.error-body {
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.75;
  color: #6b6b6d;
  margin: 0 auto 36px;
  max-width: 480px;
  opacity: 0;
  animation: error-fade-in 0.7s ease 1.2s forwards;
}

.error-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 32px;
  background: var(--alcayaga-gold);
  border: 1.5px solid var(--alcayaga-gold);
  color: var(--alcayaga-navy-dark);
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.4s ease;
  box-shadow: 0 14px 32px rgba(26, 26, 32, 0.18), 0 0 0 1px rgba(232, 217, 184, 0.25) inset;
  opacity: 0;
  animation: error-fade-in 0.7s ease 1.35s forwards;
}

.error-cta i {
  font-size: 16px;
  transition: transform 0.4s ease;
}

.error-cta:hover {
  background: var(--alcayaga-navy-dark);
  color: var(--alcayaga-gold);
  border-color: var(--alcayaga-gold);
}

.error-cta:hover i {
  transform: translateX(4px);
}

@keyframes error-fade-in {
  to { opacity: 1; }
}

@media (max-width: 576px) {
  .error-number {
    font-size: 100px;
  }
  .error-title {
    font-size: 28px;
  }
}

/*--------------------------------------------------------------
# About — Martín Ruiz (problema → solución, video vertical)
--------------------------------------------------------------*/
.mr-about {
  background-color: transparent;
  position: relative;
  overflow: hidden;
}

.mr-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 992px) {
  .mr-about-grid {
    grid-template-columns: 7fr 5fr;
    gap: 72px;
    align-items: start;
  }
}

/* ---- Columna imagen ---- */
.mr-about-media {
  position: relative;
}

@media (min-width: 992px) {
  .mr-about-media {
    position: sticky;
    top: 110px;
  }
}

.mr-photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 30px 70px rgba(26, 26, 32, 0.25);
}

.mr-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mr-video-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #0D0B10;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(13, 11, 16, 0.30);
}

.mr-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Capa oscura para resaltar el botón (se oculta al reproducir) */
.mr-video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(13, 11, 16, 0.25) 0%, rgba(13, 11, 16, 0.55) 100%);
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.mr-video-frame.is-playing::after {
  opacity: 0;
}

/* Botón de play */
.mr-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  z-index: 5;
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.mr-video-frame.is-playing .mr-video-play {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.7);
}

/* Núcleo dorado del botón */
.mr-play-core {
  position: absolute;
  inset: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #e6c378 0%, var(--alcayaga-gold) 50%, #a9822f 100%);
  box-shadow: 0 10px 30px rgba(195, 152, 46, 0.55), 0 0 0 1px rgba(255, 245, 220, 0.35) inset;
  z-index: 2;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mr-play-core i {
  font-size: 26px;
  color: #0D0B10;
  margin-left: 4px;
  line-height: 1;
}

/* Destello que barre el botón cada cierto tiempo */
.mr-play-core::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.85) 50%, transparent 100%);
  transform: skewX(-18deg);
  animation: mr-play-shine 4.5s ease-in-out infinite;
}

@keyframes mr-play-shine {
  0%, 62% { left: -120%; }
  78%, 100% { left: 150%; }
}

/* Anillos que pulsan hacia afuera */
.mr-play-pulse {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 2px solid var(--alcayaga-gold);
  z-index: 1;
  animation: mr-play-pulse 2.8s ease-out infinite;
}

.mr-play-pulse--2 {
  animation-delay: 1.4s;
}

@keyframes mr-play-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.9); opacity: 0; }
}

.mr-video-play:hover .mr-play-core {
  transform: scale(1.08);
  box-shadow: 0 14px 38px rgba(195, 152, 46, 0.7), 0 0 0 1px rgba(255, 245, 220, 0.5) inset;
}

.mr-video-corner {
  position: absolute;
  width: 42px;
  height: 42px;
  z-index: 3;
  pointer-events: none;
}

.mr-video-corner--tl {
  top: 16px;
  left: 16px;
  border-top: 2px solid var(--alcayaga-gold);
  border-left: 2px solid var(--alcayaga-gold);
}

.mr-video-corner--br {
  bottom: 16px;
  right: 16px;
  border-bottom: 2px solid var(--alcayaga-gold);
  border-right: 2px solid var(--alcayaga-gold);
}

.mr-media-badge {
  position: absolute;
  left: -16px;
  right: auto;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 22px;
  background: var(--md-rosa-deep);
  border-left: 4px solid #e8d9b8;
  box-shadow: 0 18px 40px rgba(166, 125, 46, 0.38);
  z-index: 4;
}

.mr-badge-num {
  font-size: 26px;
  line-height: 1;
  color: #ffffff;
}

.mr-badge-label {
  font-family: var(--nav-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  line-height: 1.5;
  color: #ffffff;
}

/* ---- Columna contenido ---- */
.mr-overline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.mr-overline-line {
  width: 46px;
  height: 1px;
  background: var(--alcayaga-gold);
}

.mr-overline-text {
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--alcayaga-gold-dark);
}

.mr-about-title {
  font-family: var(--heading-font);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--heading-color);
  margin: 0 0 22px;
}

.mr-about-title em {
  font-style: normal;
  color: var(--md-rosa);
}

.mr-about-lead {
  font-family: var(--default-font);
  font-size: 16.5px;
  line-height: 1.75;
  color: #3a3a3a;
  margin: 0 0 34px;
}

.mr-about-lead strong {
  color: var(--heading-color);
  font-weight: 600;
}

/* Etiquetas de bloque */
.mr-block-label {
  display: inline-block;
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.mr-block-label--problem {
  color: #9a9288;
  padding-left: 16px;
  position: relative;
}

.mr-block-label--problem::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border: 1.5px solid #b8b0a4;
  border-radius: 50%;
}

/* Lista de problemas */
.mr-problem-list {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.mr-problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: var(--default-font);
  font-size: 15px;
  line-height: 1.55;
  color: #4a4843;
}

.mr-problem-list i {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(13, 11, 16, 0.14);
  border-radius: 50%;
  font-size: 15px;
  color: #6b6760;
  background: rgba(255, 255, 255, 0.5);
  margin-top: 1px;
}

.mr-problem-list strong {
  color: var(--heading-color);
  font-weight: 600;
}

/* Panel solución (grafito + dorado) */
.mr-solution {
  position: relative;
  background: #F3EEFB;
  color: #4a4453;
  padding: 30px 36px 34px;
  border-left: 4px solid var(--md-rosa-deep);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 24px 55px rgba(166, 125, 46, 0.14);
}

.mr-block-label--solution {
  color: var(--md-rosa-deep);
  padding-left: 16px;
  position: relative;
}

.mr-block-label--solution::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--md-rosa-deep);
  border-radius: 50%;
}

.mr-solution-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 14px;
}

.mr-solution-title em {
  font-style: normal;
  color: var(--alcayaga-gold);
}

.mr-solution-text {
  font-family: var(--default-font);
  font-size: 15px;
  line-height: 1.75;
  color: rgba(239, 233, 223, 0.82);
  margin: 0 0 28px;
}

.mr-solution-text strong {
  color: #ffffff;
  font-weight: 600;
}

.mr-solution-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .mr-solution-pillars {
    grid-template-columns: 1fr 1fr;
    gap: 18px 28px;
  }
}

.mr-pillar {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-family: var(--default-font);
  font-size: 14px;
  line-height: 1.5;
  color: #4a4453;
}

.mr-pillar i {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 15px;
  color: #ffffff;
  background: var(--md-rosa);
  box-shadow: 0 6px 14px rgba(166, 125, 46, 0.28);
}

.mr-pillar strong {
  color: var(--heading-color);
  font-weight: 700;
}

/* ---- "Cómo trabajamos": índice editorial numerado (sin caja) ---- */
.gn-approach {
  margin: 6px 0 4px;
}

.gn-approach-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--md-rosa-deep);
  margin-bottom: 4px;
}

.gn-approach-label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--md-rosa);
}

.gn-approach-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 620px) {
  .gn-approach-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 46px;
  }
}

.gn-approach-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 22px 2px 20px;
  border-top: 1px solid rgba(166, 125, 46, 0.15);
}

.gn-approach-num {
  flex: 0 0 auto;
  font-family: var(--heading-font);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  color: var(--md-rosa);
  opacity: 0.48;
}

.gn-approach-body h4 {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--heading-color);
  margin: 0 0 6px;
}

.gn-approach-body p {
  font-family: var(--default-font);
  font-size: 14px;
  line-height: 1.55;
  color: #4a4453;
  margin: 0;
}

/* Pie: firma + CTA */
.mr-about-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
}

.mr-signature {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mr-signature-flourish {
  width: 38px;
  height: 1px;
  background: var(--alcayaga-gold);
}

.mr-signature-block {
  display: flex;
  flex-direction: column;
}

.mr-signature-name {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--heading-color);
}

.mr-signature-role {
  font-family: var(--nav-font);
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #8a857c;
}

.mr-about-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 34px;
  font-family: var(--display-font);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--md-rosa-deep);
  border: 1px solid var(--md-rosa-deep);
  text-decoration: none;
  transition: color 0.45s ease, letter-spacing 0.45s ease, box-shadow 0.45s ease;
}

.mr-about-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #654a17;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
}

.mr-about-cta span,
.mr-about-cta i {
  position: relative;
  z-index: 1;
}

.mr-about-cta i {
  font-size: 17px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mr-about-cta:hover {
  color: #ffffff;
  letter-spacing: 3.2px;
  box-shadow: 0 18px 40px rgba(166, 125, 46, 0.42);
}

.mr-about-cta:hover::before {
  transform: scaleX(1);
}

.mr-about-cta:hover i {
  transform: scale(1.15);
}

/* ---- Sign-off: sello monograma + identidad + CTA ---- */
.mr-signoff {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(166, 125, 46, 0.16);
}

.mr-seal {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding-right: 20px;
  margin-right: 2px;
  border-right: 1px solid rgba(166, 125, 46, 0.18);
}

.mr-seal-iso {
  height: 62px;
  width: auto;
  display: block;
}

.mr-signoff-id {
  display: flex;
  flex-direction: column;
  margin-right: auto;
}

.mr-signoff-name {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--heading-color);
}

.mr-signoff-role {
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--md-rosa-deep);
  margin-top: 5px;
}

.mr-signoff-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  background: var(--md-rosa);
  color: #ffffff;
  font-family: var(--display-font);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(166, 125, 46, 0.30);
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.mr-signoff-cta i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.mr-signoff-cta:hover {
  background: var(--md-rosa-deep);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(124, 90, 29, 0.36);
}

.mr-signoff-cta:hover i {
  transform: translateX(5px);
}

@media (max-width: 575px) {
  .mr-signoff {
    gap: 16px;
  }
  .mr-signoff-id {
    margin-right: 0;
    flex-basis: calc(100% - 86px);
  }
  .mr-signoff-cta {
    width: 100%;
    justify-content: center;
  }
}

/* Responsive */
@media (max-width: 991px) {
  .mr-media-badge {
    left: auto;
    right: 16px;
    bottom: 16px;
  }
  .mr-video-frame,
  .mr-photo-frame {
    aspect-ratio: 3 / 4;
    max-width: 460px;
    margin: 0 auto;
  }
}

@media (max-width: 575px) {
  .mr-solution {
    padding: 30px 24px 32px;
  }
  .mr-about-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}


/*--------------------------------------------------------------
# Páginas de servicio (subpáginas)
--------------------------------------------------------------*/
.svc-hero {
  position: relative;
  padding: 150px 0 60px;
  overflow: hidden;
}

.svc-breadcrumb {
  font-family: var(--nav-font);
  font-size: 13px;
  color: #6a6472;
  margin-bottom: 28px;
}

.svc-breadcrumb a {
  color: var(--md-rosa-deep);
  text-decoration: none;
  transition: color 0.3s ease;
}

.svc-breadcrumb a:hover {
  color: var(--md-rosa);
}

.svc-breadcrumb span {
  margin: 0 8px;
  color: #9a948c;
}

.svc-hero-inner {
  max-width: 780px;
}

.svc-overline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.svc-overline .overline-line {
  width: 46px;
  height: 1.5px;
  background: var(--md-rosa);
}

.svc-overline .overline-text {
  font-family: var(--display-font);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--md-rosa-deep);
}

.svc-hero-title {
  font-family: var(--heading-font);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--heading-color);
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.svc-hero-title em {
  font-style: normal;
  color: var(--md-rosa);
}

.svc-hero-lead {
  font-family: var(--default-font);
  font-size: 17px;
  line-height: 1.75;
  color: #4a4453;
  margin: 0 0 32px;
  max-width: 640px;
}

.svc-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.svc-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 32px;
  background: var(--md-rosa);
  color: #ffffff;
  border-radius: 8px;
  border: 1.5px solid var(--md-rosa);
  font-family: var(--display-font);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(166, 125, 46, 0.30);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.svc-btn i {
  font-size: 16px;
}

.svc-btn:hover {
  background: var(--md-rosa-deep);
  border-color: var(--md-rosa-deep);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(124, 90, 29, 0.36);
}

.svc-btn--ghost {
  background: transparent;
  color: var(--md-rosa-deep);
  box-shadow: none;
}

.svc-btn--ghost:hover {
  background: var(--md-rosa);
  border-color: var(--md-rosa);
  color: #ffffff;
}

.svc-content {
  padding: 10px 0 30px;
}

.svc-content .container {
  max-width: 840px;
}

.svc-content h2 {
  font-family: var(--heading-font);
  font-size: clamp(25px, 3vw, 33px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--heading-color);
  margin: 0 0 18px;
}

.svc-content p {
  font-family: var(--default-font);
  font-size: 16.5px;
  line-height: 1.8;
  color: #4a4453;
  margin: 0 0 20px;
}

.svc-content p strong {
  color: var(--heading-color);
  font-weight: 600;
}

@media (max-width: 991px) {
  .svc-hero {
    padding: 120px 0 40px;
  }
}

/*--------------------------------------------------------------
# HERO · Escribanía Ferreira
# Foto a sangre (object-fit: cover) + velo crema hacia la izquierda.
# Paleta: crema #FAF5EC + dorado camel #A67D2E + amarillo de acento.
--------------------------------------------------------------*/

/* Header: crema translúcido con hairline dorada */
.header {
  background-color: rgba(250, 245, 236, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--ef-line);
  box-shadow: none;
}

.scrolled .header {
  background-color: rgba(250, 245, 236, 0.94);
  border-bottom: 1px solid var(--ef-line);
  box-shadow: 0 10px 30px -18px rgba(60, 44, 12, 0.45);
}

.ef-hero {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: min(100svh, 880px);
  padding: 120px 0 64px;
  overflow: hidden;
  background: var(--ef-cream);
}

/* ---------- Foto de fondo ---------- */
.ef-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* X manda cuando la pantalla es angosta; Y manda cuando es muy ancha
     (ahí el recorte es vertical y hay que sostener la cabeza arriba). */
  object-position: var(--ef-photo-x, 72%) var(--ef-photo-y, 12%);
  filter: saturate(0.95) contrast(1.03) brightness(1.02);
}

/* Velo crema: opaco donde va el texto, se abre hacia la derecha para
   dejar ver a Marcela. Suma un tinte dorado que acerca el gris del
   estudio al crema de la marca. */
.ef-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(250, 245, 236, 0.97) 0%,
      rgba(250, 245, 236, 0.95) 36%,
      rgba(250, 245, 236, 0.82) 52%,
      rgba(250, 245, 236, 0.34) 70%,
      rgba(250, 245, 236, 0.04) 88%),
    linear-gradient(180deg, rgba(250, 245, 236, 0.72) 0%, rgba(250, 245, 236, 0) 20%),
    linear-gradient(0deg, rgba(250, 245, 236, 0.62) 0%, rgba(250, 245, 236, 0) 24%),
    radial-gradient(70% 90% at 88% 42%, rgba(242, 194, 48, 0.14) 0%, rgba(166, 125, 46, 0.06) 45%, transparent 76%);
}

/* Hairline inferior que cierra la sección */
.ef-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ef-gold-soft) 22%, var(--ef-gold-soft) 78%, transparent);
  opacity: 0.55;
}

.ef-hero .container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1240px;
  padding-left: clamp(16px, 3.2vw, 40px);
  padding-right: clamp(16px, 3.2vw, 40px);
}

/* ---------- Texto ---------- */
.ef-hero-text {
  max-width: 620px;
}

h1.ef-hero-eyebrow {
  font-family: var(--display-font);
}

.ef-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 24px;
  font-family: var(--display-font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ef-gold-deep);
}

.ef-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ef-yellow);
  box-shadow: 0 0 0 4px rgba(242, 194, 48, 0.24);
  animation: ef-dot-pulse 2.6s ease-in-out infinite;
}

@keyframes ef-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(242, 194, 48, 0.24); }
  50% { box-shadow: 0 0 0 8px rgba(242, 194, 48, 0.10); }
}

.ef-hero-title {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--ef-ink);
  text-wrap: balance;
}

/* "Escribana": itálica gris, igual que ESCRIBANIA (gris) sobre FERREIRA (dorado) en el logo */
.ef-hero-kicker {
  display: block;
  margin-bottom: 2px;
  font-family: var(--heading-font);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(21px, 2.3vw, 29px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--ef-gray);
}

.ef-hero-name {
  display: block;
  font-size: clamp(44px, 6.4vw, 78px);
  line-height: 1.0;
  letter-spacing: -0.012em;
}

.ef-name-gold {
  color: var(--ef-gold);
}

.ef-hero-claim {
  display: block;
  position: relative;
  z-index: 0;
  margin: 14px 0 0;
  font-family: var(--display-font);
  font-size: clamp(18px, 2.1vw, 25px);
  font-weight: 300;
  line-height: 1.32;
  color: var(--ef-gray);
}

/* Subrayado amarillo tipo marcador (detalle de marketing) */
.ef-mark {
  position: relative;
  font-style: normal;
  font-weight: 400;
  color: var(--ef-ink);
}

.ef-mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -5px;
  right: -5px;
  bottom: 0.02em;
  height: 0.5em;
  background: linear-gradient(90deg, rgba(242, 194, 48, 0.32) 0%, rgba(242, 194, 48, 0.78) 55%, rgba(242, 194, 48, 0.38) 100%);
  border-radius: 3px 11px 4px 13px;
  transform: rotate(-0.5deg);
}

/* Frase-promesa: cursiva editorial con un filete dorado que la resalta
   sin repetir el marcador amarillo que ya usa la frase de arriba. */
.ef-hero-promise {
  position: relative;
  margin: 24px 0 0;
  padding-left: 18px;
  max-width: 510px;
  font-family: var(--heading-font);
  font-style: italic;
  font-size: clamp(16.5px, 1.7vw, 21px);
  line-height: 1.5;
  color: var(--ef-ink);
}

.ef-hero-promise::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  bottom: 0.28em;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--ef-gold), var(--ef-yellow));
}

.ef-hero-lead {
  margin: 26px 0 0;
  max-width: 565px;
  font-family: var(--default-font);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ef-gray);
}

.ef-hero-lead strong {
  color: var(--ef-gold-deep);
  font-weight: 700;
}

/* ---------- Botones del hero ----------
   Nada de "pill dorada + sombra glow": lenguaje de papelería notarial.
   Primario = SELLO: bloque grabado de esquina casi recta, doble filete
   interior, filete divisorio entre el ícono y el texto, y un reflejo dorado
   que recorre el filo (conic-gradient rotando sobre --ef-angle).
   Secundario = no es una segunda caja: es una línea con regla que se dibuja. */

@property --ef-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.ef-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 34px;
  margin-top: 34px;
}

/* ---- Primario: sello ---- */
.ef-seal,
.ef-seal:hover,
.ef-seal:focus,
.ef-seal:active {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  border-radius: 3px;
  color: #FFFDF8;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Halo: la misma luz del anillo, desenfocada, por fuera del bloque */
.ef-seal::before {
  content: "";
  position: absolute;
  inset: -13px;
  z-index: 0;
  border-radius: 12px;
  background: conic-gradient(from var(--ef-angle),
      rgba(166, 125, 46, 0) 0deg,
      rgba(201, 164, 91, 0.60) 38deg,
      rgba(242, 194, 48, 0.95) 62deg,
      rgba(255, 247, 222, 1) 74deg,
      rgba(242, 194, 48, 0.90) 86deg,
      rgba(201, 164, 91, 0.50) 116deg,
      rgba(166, 125, 46, 0) 166deg,
      rgba(166, 125, 46, 0) 360deg);
  filter: blur(14px);
  opacity: 0.20;
  animation: ef-angle-spin 6.5s linear infinite;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.ef-seal:hover::before {
  opacity: 0.55;
}

/* Anillo: mismo conic, recortado a una banda de 1.5px sobre el filo */
.ef-seal-ring {
  position: absolute;
  inset: -2px;
  z-index: 3;
  padding: 2px;
  border-radius: 4px;
  background: conic-gradient(from var(--ef-angle),
      rgba(166, 125, 46, 0) 0deg,
      rgba(201, 164, 91, 0.65) 38deg,
      rgba(242, 194, 48, 1) 62deg,
      rgba(255, 251, 238, 1) 74deg,
      rgba(242, 194, 48, 0.95) 86deg,
      rgba(201, 164, 91, 0.55) 116deg,
      rgba(166, 125, 46, 0) 166deg,
      rgba(166, 125, 46, 0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: ef-angle-spin 6.5s linear infinite;
  pointer-events: none;
}

@keyframes ef-angle-spin {
  to { --ef-angle: 360deg; }
}

/* Cara: el bloque dorado propiamente dicho */
.ef-seal-face {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 3px;
  background: linear-gradient(135deg, #B58C36 0%, #A67D2E 44%, #86611F 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 253, 248, 0.18),
    inset 0 1px 0 rgba(255, 253, 248, 0.22),
    0 12px 26px -16px rgba(60, 44, 12, 0.8);
  transition: box-shadow 0.45s ease;
}

/* Doble filete interior: el grabado de una papelería/certificado */
.ef-seal-face::before {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: 3;
  border: 1px solid rgba(255, 253, 248, 0.30);
  border-radius: 1px;
  pointer-events: none;
  transition: inset 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.45s ease;
}

/* Destello que barre una sola vez al pasar el mouse */
.ef-seal-face::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  z-index: 2;
  width: 42%;
  background: linear-gradient(100deg, transparent, rgba(255, 253, 248, 0.28), transparent);
  transform: skewX(-16deg);
  opacity: 0;
  pointer-events: none;
}

.ef-seal-icon {
  position: relative;
  z-index: 4;
  color: #FFFDF8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  font-size: 15px;
  line-height: 1;
}

/* Filete divisorio ícono | texto */
.ef-seal-icon::after {
  content: "";
  position: absolute;
  right: 0;
  top: 17px;
  bottom: 17px;
  width: 1px;
  background: rgba(255, 253, 248, 0.32);
}

.ef-seal-label {
  position: relative;
  z-index: 4;
  color: #FFFDF8;
  padding: 18px 32px 18px 24px;
  font-family: var(--display-font);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ef-seal:hover {
  transform: translateY(-1px);
}

.ef-seal:hover .ef-seal-face {
  box-shadow:
    inset 0 0 0 1px rgba(255, 253, 248, 0.28),
    inset 0 1px 0 rgba(255, 253, 248, 0.30),
    0 18px 34px -18px rgba(60, 44, 12, 0.9);
}

.ef-seal:hover .ef-seal-face::before {
  inset: 4px;
  border-color: rgba(255, 253, 248, 0.5);
}

.ef-seal:hover .ef-seal-face::after {
  animation: ef-seal-sheen 1.05s cubic-bezier(0.4, 0, 0.2, 1) 1;
}

@keyframes ef-seal-sheen {
  0% { left: -60%; opacity: 0; }
  18% { opacity: 1; }
  100% { left: 125%; opacity: 0; }
}

.ef-seal:focus-visible {
  outline: 2px solid var(--ef-gold-deep);
  outline-offset: 4px;
}

/* ---- Secundario: línea con regla, no una segunda caja ---- */
.ef-quiet {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 8px 2px 11px;
  font-family: var(--display-font);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ef-ink);
  transition: color 0.4s ease;
}

.ef-quiet::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ef-gold-soft);
  opacity: 0.55;
}

.ef-quiet::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ef-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.ef-quiet i {
  font-size: 13px;
  line-height: 1;
  color: var(--ef-gold);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ef-quiet:hover {
  color: var(--ef-gold-deep);
}

.ef-quiet:hover::after {
  transform: scaleX(1);
}

.ef-quiet:hover i {
  transform: translateX(6px);
}

.ef-quiet:focus-visible {
  outline: 2px solid var(--ef-gold-deep);
  outline-offset: 4px;
}

/* ---------- Franja de confianza ---------- */
.ef-hero-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 20px 26px;
  margin: 36px 0 0;
  padding: 26px 0 0;
  list-style: none;
  border-top: 1px solid var(--ef-line);
}

.ef-hero-trust li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.ef-hero-trust i {
  margin-top: 2px;
  font-size: 17px;
  line-height: 1;
  color: var(--ef-gold);
}

.ef-hero-trust span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ef-hero-trust strong {
  font-family: var(--display-font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ef-ink);
}

.ef-hero-trust em {
  font-family: var(--default-font);
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--ef-gray);
}

/* ---------- Cita de marca (la pluma) ---------- */
.ef-hero-quote {
  position: relative;
  max-width: 620px;
  margin: 48px 0 0;
  padding: 22px 0 0 0;
  border-top: 1px solid var(--ef-line);
  font-family: var(--heading-font);
  font-style: italic;
  font-size: clamp(15.5px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--ef-gray);
}

.ef-hero-quote span {
  color: var(--ef-gold-deep);
  font-style: normal;
}

/* ---------- Credencial flotante ---------- */
.ef-hero-badge {
  position: absolute;
  z-index: 4;
  right: clamp(16px, 3.2vw, 40px);
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
  padding: 15px 22px 15px 19px;
  background: rgba(253, 250, 244, 0.90);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--ef-line);
  border-radius: 14px;
  box-shadow: 0 26px 50px -26px rgba(60, 44, 12, 0.55);
}

.ef-hero-badge::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  bottom: 15px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--ef-yellow);
}

.ef-badge-num {
  font-family: var(--heading-font);
  font-size: 40px;
  font-weight: 600;
  line-height: 0.9;
  color: var(--ef-gold);
}

.ef-badge-txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
}

.ef-badge-txt strong {
  font-family: var(--display-font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ef-ink);
}

.ef-badge-txt em {
  font-family: var(--default-font);
  font-style: normal;
  font-size: 12.5px;
  color: var(--ef-gray);
}

/* ---------- Alturas cortas ----------
   Notebooks (y Windows al 125%, que deja el viewport en ~690px de alto):
   el hero pide ~830px y la credencial + la cita quedaban cortadas abajo del
   fold. Se comprime el ritmo vertical en vez de dejar que desborde. */
@media (min-width: 992px) and (max-height: 900px) {
  .ef-hero {
    padding: 106px 0 50px;
  }

  .ef-hero-eyebrow {
    margin-bottom: 16px;
  }

  .ef-hero-kicker {
    font-size: clamp(18px, 2vw, 25px);
  }

  .ef-hero-name {
    font-size: clamp(40px, 5.2vw, 64px);
  }

  .ef-hero-claim {
    margin-top: 10px;
    font-size: clamp(17px, 1.8vw, 22px);
  }

  .ef-hero-promise {
    margin-top: 18px;
    font-size: clamp(15.5px, 1.6vw, 19px);
    line-height: 1.45;
  }

  .ef-hero-cta {
    margin-top: 24px;
  }

  .ef-seal-label {
    padding: 15px 28px 15px 21px;
  }

  .ef-seal-icon {
    width: 48px;
  }

  .ef-hero-trust {
    margin-top: 24px;
    padding-top: 18px;
    gap: 14px 24px;
  }

  .ef-hero-quote {
    margin-top: 26px;
    padding-top: 16px;
    font-size: 16px;
  }

  .ef-hero-badge {
    bottom: 4px;
    padding: 12px 18px 12px 16px;
    gap: 13px;
  }

  .ef-badge-num {
    font-size: 34px;
  }
}

@media (min-width: 992px) and (max-height: 760px) {
  .ef-hero {
    padding: 96px 0 40px;
  }

  .ef-hero-kicker {
    font-size: clamp(17px, 1.8vw, 22px);
  }

  .ef-hero-name {
    font-size: clamp(36px, 4.5vw, 55px);
  }

  .ef-hero-claim {
    font-size: clamp(16px, 1.6vw, 20px);
  }

  .ef-hero-promise {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.42;
  }

  .ef-hero-trust {
    margin-top: 20px;
    padding-top: 14px;
  }

  .ef-hero-quote {
    margin-top: 20px;
    padding-top: 12px;
    font-size: 15px;
  }

  .ef-badge-num {
    font-size: 30px;
  }
}

/* ---------- Responsive ----------
   En vertical el recorte "cover" dejaría solo un primerísimo plano y el
   texto encima quedaría ilegible: abajo de 992px la foto sale del fondo y
   pasa a ser un bloque a lo ancho, debajo del texto. */
@media (max-width: 991.98px) {
  .ef-hero {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 112px 0 60px;
  }

  .ef-hero .container {
    order: 1;
  }

  .ef-hero-bg {
    position: relative;
    order: 2;
    width: calc(100% - 2 * clamp(16px, 3.2vw, 40px));
    height: auto;
    aspect-ratio: 5 / 4;
    margin: 34px auto 0;
    border-radius: 18px;
    object-position: 70% 10%;
    box-shadow: 0 34px 64px -34px rgba(60, 44, 12, 0.55);
  }

  .ef-hero-veil {
    display: none;
  }

  .ef-hero-text,
  .ef-hero-quote {
    max-width: none;
  }

  .ef-hero-badge {
    position: static;
    display: inline-flex;
    margin-top: 30px;
    background: var(--ef-cream-card);
  }

  .ef-hero-quote {
    margin-top: 40px;
  }
}

@media (max-width: 575.98px) {
  .ef-hero {
    padding: 100px 0 50px;
  }

  .ef-hero-bg {
    aspect-ratio: 1 / 1;
    border-radius: 16px;
  }

  .ef-hero-cta {
    gap: 12px;
  }

  .ef-hero-cta .ef-seal {
    width: 100%;
  }

  .ef-hero-cta .ef-seal-face {
    flex: 1;
  }

  .ef-hero-cta .ef-seal-label {
    flex: 1;
    text-align: center;
    padding-right: 54px;
  }

  .ef-hero-trust {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ef-badge-num {
    font-size: 34px;
  }
}

/* ---------- Entrada del hero (sin AOS) ----------
   AOS dejaba el texto en opacity:0 cuando el trigger caía justo en el borde
   del viewport. Esto arranca cuando termina el preloader (body.ef-ready) y,
   sin JS, el hero se ve normal porque la regla depende de .js. */
.js .ef-reveal {
  opacity: 0;
  transform: translateY(20px);
}

.js .ef-ready .ef-reveal,
body.ef-ready .ef-reveal {
  animation: ef-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--r, 0) * 0.085s);
}

@keyframes ef-rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .ef-reveal,
  body.ef-ready .ef-reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .ef-eyebrow-dot,
  .ef-seal::before,
  .ef-seal-ring,
  .ef-seal:hover .ef-seal-face::after {
    animation: none;
  }

  .ef-draw.is-drawing path {
    animation: none;
    fill-opacity: 1;
    stroke-opacity: 0;
  }
}

/*--------------------------------------------------------------
# ABOUT · "De la pluma al trazo digital"
# Foto sangrando por el borde izquierdo + texto a la derecha:
# invierte el eje del hero para que las dos secciones no se repitan.
--------------------------------------------------------------*/
.ef-about {
  position: relative;
  padding: 0;
  background: var(--ef-cream-deep);
  overflow: clip;
}

.ef-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 992px) {
  .ef-about-grid {
    grid-template-columns: minmax(0, 47%) minmax(0, 53%);
    align-items: center;
  }
}

/* ---------- Foto ---------- */
.ef-about-media {
  position: relative;
  margin: 0;
  align-self: center;
}

.ef-about-media img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 40px 80px -50px rgba(40, 28, 10, 0.75);
}

/* Degradé hacia el crema del texto: la foto no corta en seco contra la sección */
.ef-about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 62%, rgba(243, 234, 218, 0.28) 100%);
}

@media (min-width: 992px) {
  .ef-about-media::after {
    background:
      linear-gradient(90deg, transparent 66%, rgba(243, 234, 218, 0.42) 100%),
      linear-gradient(180deg, rgba(59, 50, 43, 0.22) 0%, transparent 26%);
  }
}

/* Ficha en crema, mismo lenguaje que la credencial "112" del hero */
.ef-about-caption {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 24px 14px 22px;
  background: rgba(253, 250, 244, 0.93);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--ef-line);
  border-left: 0;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 24px 46px -26px rgba(40, 28, 10, 0.6);
}

.ef-about-caption::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  background: var(--ef-yellow);
}

.ef-about-caption strong {
  font-family: var(--display-font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ef-ink);
}

.ef-about-caption em {
  font-family: var(--default-font);
  font-style: normal;
  font-size: 12.5px;
  color: var(--ef-gray);
}

/* ---------- Texto ---------- */
.ef-about-body {
  display: flex;
  align-items: center;
  padding: 76px clamp(20px, 5vw, 64px);
}

@media (min-width: 992px) {
  .ef-about-body {
    padding: 110px clamp(40px, 5vw, 88px);
  }
}

.ef-about-inner {
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
}

.ef-overline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-family: var(--display-font);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ef-gold-deep);
}

.ef-overline-rule {
  width: 46px;
  height: 1px;
  background: var(--ef-gold);
  opacity: 0.7;
}

.ef-about-title {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(33px, 3.5vw, 50px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.008em;
  color: var(--ef-ink);
  text-wrap: balance;
}

.ef-about-title em {
  font-style: normal;
  color: var(--ef-gold);
}

.ef-about-lead {
  margin: 24px 0 0;
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.78;
  color: var(--ef-gray);
}

/* ---------- Ayer / Hoy ---------- */
.ef-then-now {
  display: grid;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--ef-line);
}

.ef-tn {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 22px 0;
}

.ef-tn:first-child {
  padding-top: 0;
}

.ef-tn:last-child {
  padding-bottom: 0;
}

.ef-tn + .ef-tn {
  border-top: 1px solid var(--ef-line);
}

@media (min-width: 576px) {
  .ef-tn {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }
}

.ef-tn-body p + p {
  margin-top: 11px;
}

.ef-tn-label {
  display: block;
  padding-top: 6px;
  font-family: var(--display-font);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ef-gold);
}

.ef-tn-title {
  margin: 0 0 9px;
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ef-ink);
}

.ef-tn p {
  margin: 0;
  font-family: var(--default-font);
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--ef-gray);
}

.ef-about-constant {
  position: relative;
  z-index: 0;
  margin: 30px 0 0;
  font-family: var(--heading-font);
  font-style: italic;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.45;
  color: var(--ef-ink);
}

.ef-about-constant .ef-mark {
  font-style: italic;
}

/* ---------- Firma ---------- */
.ef-signoff {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 30px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--ef-line);
}

.ef-signoff-id {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ef-signoff-id strong {
  font-family: var(--heading-font);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ef-ink);
}

.ef-signoff-id em {
  font-family: var(--display-font);
  font-style: normal;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ef-gray);
}

/* ---------- Reveal al entrar en viewport ----------
   No se usa AOS: dejaba bloques enteros en opacity:0 cuando su trigger caía
   en el borde del viewport (ya pasó con el H1 del hero y con este About).
   La regla de ocultamiento cuelga de .js, así que sin JS todo se ve normal. */
.js .ef-in {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--r, 0) * 0.09s);
}

.js .ef-in--soft {
  transform: none;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.js .ef-in.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .ef-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/*--------------------------------------------------------------
# SERVICIOS · índice notarial
# Fachada del local de fondo, en monocromo cálido y muy velada.
# El listado va como índice editorial (fila por área), no como
# grilla de tarjetas con ícono: hay demasiado contenido para eso.
--------------------------------------------------------------*/
/* ---------- Fondo de papel de marca ----------
   Las dos secciones crema grandes comparten el patrón de monogramas. El About
   queda liso a propósito, con su crema más profundo: si la textura estuviera en
   todas, se pierde el contraste que hace que cada sección se lea como un capítulo
   distinto, y el watermark deja de ser un detalle para volverse empapelado. */
.ef-services,
.ef-contact {
  /* El color coincide con el fondo del patrón para que no se note el escalón
     contra las secciones vecinas. */
  background-color: #F9F2E4;
  /* Baldosa recortada al período exacto del patrón (364 x 514 px): la imagen
     original no calzaba al repetir y partía los monogramas en la costura. */
  /* Velo del mismo crema encima del patrón: baja el contraste del monograma
     de ~32 a ~13 niveles, para que se lea como textura y no como logos sueltos.
     Para hacerlo más o menos sutil, mover solo este 0.58. */
  background-image:
    linear-gradient(rgba(249, 242, 228, 0.58), rgba(249, 242, 228, 0.58)),
    url("../img/patron-ef.webp");
  background-repeat: repeat, repeat;
  background-size: auto, 330px auto;
  background-position: center top, center top;
}

.ef-services {
  position: relative;
  padding: 104px 0 96px;
}

.ef-services .container {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  padding-left: clamp(16px, 3.2vw, 40px);
  padding-right: clamp(16px, 3.2vw, 40px);
}

/* ---------- Encabezado ---------- */
.ef-svc-header {
  max-width: 640px;
}

.ef-svc-title {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.008em;
  color: var(--ef-ink);
  text-wrap: balance;
}

.ef-svc-title em {
  font-style: normal;
  color: var(--ef-gold);
}

.ef-svc-lead {
  margin: 22px 0 0;
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.78;
  color: var(--ef-gray);
}

.ef-svc-lead strong {
  color: var(--ef-gold-deep);
  font-weight: 700;
}

/* ---------- Diligencia previa ---------- */
.ef-svc-diligence {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 22px;
  margin: 46px 0 0;
  padding: 26px 30px;
  background: rgba(253, 250, 244, 0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--ef-line);
  border-radius: 3px;
  box-shadow: 0 26px 52px -34px rgba(60, 44, 12, 0.5);
}

.ef-svc-diligence::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--ef-yellow);
}

.ef-diligence-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ef-gold-soft);
  border-radius: 50%;
  font-size: 17px;
  color: var(--ef-gold);
}

.ef-diligence-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display-font);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ef-gold);
}

.ef-diligence-body h3 {
  margin: 0 0 8px;
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ef-ink);
}

.ef-diligence-body p {
  margin: 0;
  max-width: 700px;
  font-family: var(--default-font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ef-gray);
}

.ef-diligence-body strong {
  color: var(--ef-gold-deep);
  font-weight: 700;
}

/* ---------- Índice de áreas ---------- */
.ef-svc-ledger {
  display: grid;
  gap: 20px;
  margin-top: 46px;
}

.ef-svc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: 30px clamp(20px, 2.4vw, 32px) 30px;
  /* Sin backdrop-filter a propósito: cinco superficies desenfocadas cuestan
     caro al scrollear y a esta opacidad no aportan nada. */
  background: rgba(253, 250, 244, 0.90);
  border: 1px solid var(--ef-line);
  border-radius: 3px;
  box-shadow: 0 22px 44px -34px rgba(60, 44, 12, 0.5);
  transition: background-color 0.4s ease, box-shadow 0.45s ease, transform 0.45s ease;
}

@media (min-width: 768px) {
  .ef-svc-row {
    grid-template-columns: minmax(230px, 0.82fr) minmax(0, 1.18fr);
    gap: 40px;
    padding: 36px clamp(24px, 2.6vw, 38px) 34px;
  }

  .ef-svc-row:hover {
    background-color: rgba(253, 250, 244, 0.97);
    box-shadow: 0 30px 56px -32px rgba(60, 44, 12, 0.6);
    transform: translateY(-2px);
  }
}

.ef-svc-head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* El botón cae al pie de la celda: llena el hueco que dejaba el listado largo */
.ef-svc-head .ef-seal {
  margin-top: auto;
}

.ef-svc-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ef-gold);
}

.ef-svc-head h3 {
  margin: 0 0 9px;
  font-family: var(--heading-font);
  font-size: clamp(23px, 2.1vw, 28px);
  font-weight: 600;
  line-height: 1.14;
  color: var(--ef-ink);
  text-wrap: balance;
}

.ef-svc-head p {
  margin: 0 0 26px;
  max-width: 330px;
  font-family: var(--default-font);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ef-gray);
}

.ef-svc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 992px) {
  .ef-svc-list {
    column-count: 2;
    column-gap: 38px;
  }
}

.ef-svc-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 19px;
  break-inside: avoid;
  font-family: var(--default-font);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ef-ink);
}

/* Guion dorado en vez de bullet: más papelería, menos lista de features */
.ef-svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 1px;
  background: var(--ef-gold);
  opacity: 0.85;
}

/* ---------- Turnos ---------- */
.ef-svc-turnos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px 44px;
  margin-top: 34px;
  padding: 30px clamp(18px, 2.6vw, 34px);
  background: rgba(253, 250, 244, 0.88);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  border: 1px solid var(--ef-line);
  border-radius: 3px;
}

.ef-turno {
  flex: 1 1 260px;
}

.ef-turno-label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--display-font);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ef-gold);
}

.ef-turno p {
  margin: 0;
  font-family: var(--default-font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ef-gray);
}

.ef-turno strong {
  color: var(--ef-ink);
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .ef-services {
    padding: 76px 0 72px;
  }

  .ef-svc-diligence {
    flex-direction: column;
    gap: 16px;
    padding: 24px 22px;
  }

  .ef-svc-ledger {
    margin-top: 44px;
  }
}

/* ---------- Sello chico (botones de cada área de servicio) ---------- */
.ef-seal--sm::before {
  opacity: 0;
  animation: none;
}

.ef-seal--sm:hover::before {
  opacity: 0.5;
  animation: ef-angle-spin 6.5s linear infinite;
}

.ef-seal--sm .ef-seal-icon {
  width: 44px;
  font-size: 14px;
}

.ef-seal--sm .ef-seal-icon::after {
  top: 13px;
  bottom: 13px;
}

.ef-seal--sm .ef-seal-label {
  padding: 14px 26px 14px 19px;
  font-size: 11px;
  letter-spacing: 0.2em;
}

.ef-seal--sm .ef-seal-face::before {
  inset: 4px;
}

.ef-seal--sm:hover .ef-seal-face::before {
  inset: 3px;
}

/*--------------------------------------------------------------
# FAQ · sección oscura
# Rompe el ritmo de crema del resto: espresso cálido, de la misma
# familia que el empapelado del About, con el iso de marca sangrando
# por el costado derecho de cada fila.
--------------------------------------------------------------*/
.ef-faq {
  position: relative;
  padding: 104px 0 100px;
  overflow: clip;
  background:
    radial-gradient(120% 90% at 88% 8%, rgba(166, 125, 46, 0.20) 0%, transparent 62%),
    linear-gradient(180deg, #3A322A 0%, #2E2822 58%, #332C25 100%);
  --ef-faq-cream: #F1E9DB;
  --ef-faq-soft: #B9AD9B;
  --ef-faq-gold: #D2AE68;
  --ef-faq-line: rgba(210, 174, 104, 0.22);
}

.ef-faq .container {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  padding-left: clamp(16px, 3.2vw, 40px);
  padding-right: clamp(16px, 3.2vw, 40px);
}

.ef-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 46px;
}

@media (min-width: 992px) {
  .ef-faq-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 70px;
    align-items: start;
  }

  .ef-faq-aside {
    position: sticky;
    top: 118px;
  }
}

/* ---------- Columna izquierda ---------- */
.ef-faq .ef-overline {
  color: var(--ef-faq-gold);
  text-shadow: none;
}

.ef-faq .ef-overline-rule {
  background: var(--ef-faq-gold);
  opacity: 0.6;
}

.ef-faq-title {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(32px, 3.3vw, 46px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.008em;
  color: var(--ef-faq-cream);
  text-wrap: balance;
}

.ef-faq-title em {
  font-style: normal;
  color: var(--ef-faq-gold);
}

.ef-faq-intro {
  margin: 20px 0 0;
  max-width: 420px;
  font-family: var(--default-font);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ef-faq-soft);
}

.ef-faq-help {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--ef-faq-line);
}

.ef-faq-help p {
  margin: 0 0 16px;
  font-family: var(--display-font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ef-faq-soft);
}

/* ---------- Acordeón ---------- */
.ef-faq-list {
  border-top: 1px solid var(--ef-faq-line);
}

.ef-faq-item {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ef-faq-line);
  transition: background-color 0.5s ease;
}

/* Iso de marca sangrando por el costado derecho, recortado por la fila */
.ef-faq-item::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -74px;
  width: 230px;
  height: 230px;
  transform: translateY(-50%) rotate(-4deg);
  background: url("../img/iso-ef.svg") center / contain no-repeat;
  opacity: 0.038;
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.ef-faq-item:not(.is-closed) {
  background: rgba(241, 233, 219, 0.035);
}

.ef-faq-item:not(.is-closed)::after {
  opacity: 0.15;
  transform: translateY(-50%) rotate(-4deg) scale(1.1);
}

.ef-faq-item h3 {
  margin: 0;
  font: inherit;
  color: inherit;
}

.ef-faq-q {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px;
  width: 100%;
  padding: 26px 4px 26px 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--ef-faq-cream);
  transition: color 0.35s ease;
}

.ef-faq-q:hover {
  color: var(--ef-faq-gold);
}

.ef-faq-q:focus-visible {
  outline: 2px solid var(--ef-faq-gold);
  outline-offset: 3px;
}

.ef-faq-num {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: 0.12em;
  color: var(--ef-faq-gold);
  opacity: 0.75;
}

.ef-faq-text {
  font-family: var(--heading-font);
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 600;
  line-height: 1.32;
  text-wrap: balance;
}

/* Marca "+" que gira a "−": dos filetes, sin ícono de librería */
.ef-faq-mark {
  position: relative;
  width: 15px;
  height: 15px;
  margin-top: 9px;
  flex: none;
}

.ef-faq-mark::before,
.ef-faq-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--ef-faq-gold);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.ef-faq-mark::before {
  width: 15px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.ef-faq-mark::after {
  width: 1.5px;
  height: 15px;
  transform: translate(-50%, -50%);
}

.ef-faq-item:not(.is-closed) .ef-faq-mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.ef-faq-item:not(.is-closed) .ef-faq-mark::before {
  transform: translate(-50%, -50%) rotate(180deg);
}

/* Apertura por grid-template-rows: anima alto real sin JS de medición */
.ef-faq-a {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.ef-faq-item.is-closed .ef-faq-a {
  grid-template-rows: 0fr;
}

.ef-faq-a-inner {
  overflow: hidden;
  transition: opacity 0.45s ease;
}

.ef-faq-item.is-closed .ef-faq-a-inner {
  opacity: 0;
}

.ef-faq-a-inner p {
  margin: 0;
  padding: 0 56px 30px 46px;
  max-width: 680px;
  font-family: var(--default-font);
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--ef-faq-soft);
}

.ef-faq-a-inner strong {
  color: var(--ef-faq-cream);
  font-weight: 700;
}

/* El sello dorado sobre fondo oscuro: se le baja el halo, que ahí sí destaca solo */
.ef-faq .ef-seal--sm .ef-seal-face {
  box-shadow:
    inset 0 0 0 1px rgba(255, 253, 248, 0.22),
    inset 0 1px 0 rgba(255, 253, 248, 0.26),
    0 14px 30px -18px rgba(0, 0, 0, 0.8);
}

@media (max-width: 767.98px) {
  .ef-faq {
    padding: 74px 0 76px;
  }

  .ef-faq-q {
    gap: 14px;
    padding: 22px 2px 22px 0;
  }

  .ef-faq-a-inner p {
    padding: 0 8px 26px 36px;
  }

  .ef-faq-item::after {
    right: -96px;
    width: 190px;
    height: 190px;
    opacity: 0.035;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ef-faq-a {
    transition: none;
  }
}

/* ---------- Foto concreta de la fachada ----------
   Va antes del listado: una vez que viste el frente nítido, el fondo velado
   de la sección se lee como el mismo edificio en vez de una mancha. */
.ef-svc-place {
  position: relative;
  margin: 46px 0 0;
  border: 1px solid var(--ef-line);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 34px 66px -42px rgba(60, 44, 12, 0.62);
}

.ef-svc-place img {
  display: block;
  width: 100%;
  /* La foto va completa: sin aspect-ratio forzado ni object-fit, toma su proporción real */
  height: auto;
}

/* Filete dorado por dentro: mismo recurso grabado que el sello */
.ef-svc-place::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 253, 248, 0.20);
  border-radius: 2px;
  pointer-events: none;
}

.ef-svc-place-tag {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 24px 14px 22px;
  background: rgba(253, 250, 244, 0.93);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--ef-line);
  border-left: 0;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 22px 44px -26px rgba(40, 28, 10, 0.7);
}

.ef-svc-place-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  background: var(--ef-yellow);
}

.ef-svc-place-tag strong {
  font-family: var(--display-font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ef-ink);
}

.ef-svc-place-tag em {
  font-family: var(--default-font);
  font-style: normal;
  font-size: 12.5px;
  color: var(--ef-gray);
}

@media (max-width: 767.98px) {
  .ef-svc-place {
    margin-top: 34px;
  }



  .ef-svc-place-tag {
    bottom: 16px;
    padding: 12px 18px 12px 16px;
  }
}

/*--------------------------------------------------------------
# CONTACTO
# Ficha notarial + formulario de campos subrayados (sin cajas) y
# mapa a sangre con filtro cálido para que Google no rompa la paleta.
--------------------------------------------------------------*/
.ef-contact {
  position: relative;
  padding: 100px 0 0;
}

.ef-contact .container {
  max-width: 1240px;
  padding-left: clamp(16px, 3.2vw, 40px);
  padding-right: clamp(16px, 3.2vw, 40px);
}

.ef-contact-header {
  max-width: 640px;
  margin-bottom: 52px;
}

.ef-contact-title {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.008em;
  color: var(--ef-ink);
}

.ef-contact-title em {
  font-style: normal;
  color: var(--ef-gold);
}

.ef-contact-lead {
  margin: 20px 0 0;
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.78;
  color: var(--ef-gray);
}

.ef-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  padding-bottom: 92px;
}

@media (min-width: 992px) {
  .ef-contact-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 68px;
    align-items: start;
  }
}

/* ---------- Ficha ---------- */
.ef-ficha {
  padding: 30px clamp(20px, 2.6vw, 34px) 28px;
  background: var(--ef-cream-card);
  border: 1px solid var(--ef-line);
  border-radius: 3px;
  box-shadow: 0 30px 60px -44px rgba(60, 44, 12, 0.5);
}

.ef-ficha-head {
  margin: 0 0 6px;
  font-family: var(--display-font);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ef-gold);
}

.ef-ficha-list {
  margin: 0;
}

.ef-ficha-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--ef-line);
}

.ef-ficha-row:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

.ef-ficha-row dt {
  font-family: var(--display-font);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ef-gray);
}

.ef-ficha-row dd {
  margin: 0;
  font-family: var(--default-font);
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--ef-ink);
}

.ef-ficha-row dd span {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  color: var(--ef-gray);
}

.ef-ficha-row dd a {
  color: var(--ef-ink);
  background-image: linear-gradient(var(--ef-gold), var(--ef-gold));
  background-size: 0% 1px;
  background-position: left bottom;
  background-repeat: no-repeat;
  transition: background-size 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease;
}

.ef-ficha-row dd a:hover {
  color: var(--ef-gold-deep);
  background-size: 100% 1px;
}

.ef-ficha-mail {
  word-break: break-all;
}

.ef-ficha-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--ef-line);
}

.ef-ficha-foot p {
  margin: 0;
  max-width: 210px;
  font-family: var(--default-font);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ef-gray);
}

/* ---------- Formulario: campos subrayados, sin cajas ---------- */
.ef-form-hp {
  position: absolute;
  left: -9999px;
}

.ef-field {
  position: relative;
  margin-bottom: 30px;
}

.ef-field input,
.ef-field select,
.ef-field textarea {
  width: 100%;
  padding: 14px 2px 11px;
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ef-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ef-gold-soft);
  border-radius: 0;
  transition: border-color 0.35s ease;
  appearance: none;
}

.ef-field textarea {
  resize: vertical;
  min-height: 120px;
}

.ef-field label {
  position: absolute;
  left: 2px;
  top: 14px;
  font-family: var(--default-font);
  font-size: 16px;
  color: var(--ef-gray);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease;
}

/* La etiqueta sube cuando el campo tiene foco o contenido */
.ef-field input:focus + label,
.ef-field input:not(:placeholder-shown) + label,
.ef-field textarea:focus + label,
.ef-field textarea:not(:placeholder-shown) + label,
.ef-field select:focus + label,
.ef-field select:valid + label {
  transform: translateY(-19px) scale(0.68);
  color: var(--ef-gold-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--display-font);
  font-weight: 500;
}

/* Filete dorado que se dibuja de izquierda a derecha al enfocar */
.ef-field::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ef-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ef-field:focus-within::after {
  transform: scaleX(1);
}

.ef-field input:focus,
.ef-field select:focus,
.ef-field textarea:focus {
  outline: none;
}

.ef-field--select i {
  position: absolute;
  right: 4px;
  top: 18px;
  font-size: 13px;
  color: var(--ef-gold);
  pointer-events: none;
}

.ef-field select:invalid {
  color: transparent;
}

.ef-form-send {
  margin-top: 4px;
}

.ef-form-send .ef-seal-face {
  border: 0;
}

.ef-form-note {
  margin: 18px 0 0;
  font-family: var(--default-font);
  font-size: 13px;
  color: var(--ef-gray);
}

/* ---------- Mapa ---------- */
.ef-map {
  position: relative;
  height: clamp(300px, 42vw, 460px);
  border-top: 1px solid var(--ef-line);
  background: var(--ef-cream-deep);
}

.ef-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  /* Google trae azules y verdes que rompen la paleta: se lleva a duotono
     cálido y recupera su color al pasar el mouse. */
  filter: grayscale(1) sepia(0.30) contrast(0.95) brightness(1.03) saturate(1.1);
  transition: filter 0.7s ease;
}

.ef-map:hover iframe {
  filter: grayscale(0) sepia(0) contrast(1) brightness(1) saturate(1);
}

.ef-map-tag {
  position: absolute;
  z-index: 2;
  left: clamp(16px, 3.2vw, 40px);
  top: 26px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 15px 22px 15px 19px;
  background: rgba(253, 250, 244, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--ef-line);
  border-radius: 3px;
  box-shadow: 0 24px 46px -26px rgba(40, 28, 10, 0.6);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ef-map-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  bottom: 15px;
  width: 3px;
  background: var(--ef-yellow);
}

.ef-map-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 56px -26px rgba(40, 28, 10, 0.7);
}

.ef-map-tag strong {
  font-family: var(--display-font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ef-ink);
}

.ef-map-tag em {
  font-family: var(--default-font);
  font-style: normal;
  font-size: 12.5px;
  color: var(--ef-gray);
}

/*--------------------------------------------------------------
# FOOTER · cierra oscuro, haciendo par con la sección de preguntas
--------------------------------------------------------------*/
.ef-footer {
  position: relative;
  padding: 74px 0 30px;
  background:
    radial-gradient(90% 120% at 12% 0%, rgba(166, 125, 46, 0.16) 0%, transparent 60%),
    linear-gradient(180deg, #332C25 0%, #2A241E 100%);
  --ef-ft-cream: #EFE7D9;
  --ef-ft-soft: #A99D8C;
  --ef-ft-gold: #D2AE68;
  --ef-ft-line: rgba(210, 174, 104, 0.18);
}

.ef-footer .container {
  max-width: 1240px;
  padding-left: clamp(16px, 3.2vw, 40px);
  padding-right: clamp(16px, 3.2vw, 40px);
}

.ef-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 46px;
}

@media (min-width: 992px) {
  .ef-footer-top {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.55fr);
    gap: 64px;
  }
}

.ef-footer-logo img {
  display: block;
  width: auto;
  height: 54px;
  margin-bottom: 22px;
}

.ef-footer-tagline {
  margin: 0;
  max-width: 380px;
  font-family: var(--default-font);
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--ef-ft-soft);
}

.ef-footer-sign {
  margin: 18px 0 0;
  font-family: var(--display-font);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ef-ft-gold);
}

.ef-footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 36px 30px;
}

.ef-footer-col h3 {
  margin: 0 0 18px;
  font-family: var(--display-font);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ef-ft-cream);
}

.ef-footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ef-footer-col li {
  margin-bottom: 11px;
  font-family: var(--default-font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ef-ft-soft);
}

.ef-footer-col a {
  color: var(--ef-ft-soft);
  transition: color 0.3s ease;
}

.ef-footer-col a:hover {
  color: var(--ef-ft-gold);
}

.ef-footer-contact li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.ef-footer-contact i {
  margin-top: 3px;
  font-size: 13px;
  color: var(--ef-ft-gold);
  opacity: 0.85;
}

/* Cierre del sitio: centrado y con jerarquía propia, no como una nota al pie.
   El filete corto dorado reemplaza a la línea de ancho completo para que la
   frase se lea como un remate y no como otro separador más. */
.ef-footer-quote {
  position: relative;
  max-width: 780px;
  margin: 66px auto 0;
  padding-top: 46px;
  text-align: center;
  font-family: var(--heading-font);
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.38;
  letter-spacing: 0.005em;
  color: var(--ef-ft-cream);
}

.ef-footer-quote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 64px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--ef-ft-gold), transparent);
}

.ef-footer-quote span {
  font-style: normal;
  color: var(--ef-ft-gold);
}

.ef-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 28px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--ef-ft-line);
  font-family: var(--default-font);
  font-size: 12.5px;
  color: rgba(169, 157, 140, 0.75);
}

@media (max-width: 767.98px) {
  .ef-contact {
    padding-top: 72px;
  }

  .ef-contact-grid {
    padding-bottom: 64px;
  }

  .ef-ficha-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .ef-map-tag {
    top: auto;
    bottom: 20px;
    left: 16px;
  }

  .ef-footer {
    padding-top: 58px;
  }

  .ef-footer-quote {
    margin-top: 40px;
  }
}

/* ---------- Escuadras de esquina ----------
   En vez de sumar un segundo borde completo, cada superficie de "papel" lleva
   dos escuadras doradas en las esquinas opuestas: rima con el doble filete del
   sello y con la papelería notarial, y no encierra la tarjeta. */
.ef-svc-row,
.ef-svc-turnos,
.ef-ficha {
  position: relative;
}

.ef-svc-row::before,
.ef-svc-row::after,
.ef-svc-turnos::before,
.ef-svc-turnos::after,
.ef-ficha::before,
.ef-ficha::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  border: 0 solid var(--ef-gold);
  opacity: 0.58;
  pointer-events: none;
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.45s ease;
}

.ef-svc-row::before,
.ef-svc-turnos::before,
.ef-ficha::before {
  top: 9px;
  left: 9px;
  border-top-width: 1px;
  border-left-width: 1px;
  border-top-left-radius: 2px;
}

.ef-svc-row::after,
.ef-svc-turnos::after,
.ef-ficha::after {
  right: 9px;
  bottom: 9px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-bottom-right-radius: 2px;
}

/* Al pasar el mouse la escuadra se estira: el trazo "sigue" el recorrido */
.ef-svc-row:hover::before,
.ef-svc-row:hover::after {
  width: 46px;
  height: 46px;
  opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
  .ef-svc-row::before,
  .ef-svc-row::after {
    transition: none;
  }
}

/* Cierre de lista abierta ("Entre otras…"): sin guión y en cursiva, para que se
   lea como aclaración y no como un ítem más del listado. */
.ef-svc-list li.ef-svc-more {
  padding-left: 0;
  font-family: var(--heading-font);
  font-style: italic;
  font-size: 16px;
  color: var(--ef-gold-deep);
}

.ef-svc-list li.ef-svc-more::before {
  content: none;
}

/* En celular la foto es chica: la etiqueta encima tapaba los escalones.
   Pasa abajo de la imagen para que la fachada se vea completa. */
@media (max-width: 767.98px) {
  .ef-svc-place-tag {
    position: relative;
    left: auto;
    bottom: auto;
    border-left: 1px solid var(--ef-line);
    border-radius: 0;
    border-width: 1px 0 0 0;
    box-shadow: none;
    background: var(--ef-cream-card);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
