/**
* 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: "Montserrat", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Cormorant Garamond", Georgia, serif;
  --nav-font: "Montserrat", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #FFFFFF; /* Background color for the entire website, including individual sections */
  --default-color: #14181c; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #1B2A52; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #C23D6E; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Brand Palette - Nahir M. Alvarez (navy + rosa + crema, tomada del logo) */
:root {
  --nahir-navy: #1B2A52;
  --nahir-navy-dark: #13203F;
  --nahir-rose: #C23D6E;
  --nahir-rose-dark: #9B2F57;
  --nahir-rose-light: #E7B3C8;
  --nahir-cream: #EAE6DF;
  --nahir-mist: #D8D3CB;
  --nahir-mist-shadow: #BEB7AF;

  /* Aliases de compatibilidad: el template referencia --alcayaga-* en todo el CSS.
     Los mapeamos a la nueva marca para rebrandear el sitio entero de una. */
  --alcayaga-navy: var(--nahir-navy);
  --alcayaga-navy-dark: var(--nahir-navy-dark);
  --alcayaga-gold: var(--nahir-rose);
  --alcayaga-gold-dark: var(--nahir-rose-dark);
  --alcayaga-gold-light: var(--nahir-rose-light);
  --alcayaga-cream: var(--nahir-cream);
  --alcayaga-mountain: var(--nahir-mist);
  --alcayaga-mountain-shadow: var(--nahir-mist-shadow);
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #1B2A52;  /* The default color of the main navmenu links */
  --nav-hover-color: #C23D6E; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #FFFFFF; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #FFFFFF; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #1B2A52; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #C23D6E; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* 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: #F6F6F7;
  --surface-color: #ffffff;
}

.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);
  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(--alcayaga-navy);
  color: var(--alcayaga-gold);
}

::-moz-selection {
  background: var(--alcayaga-navy);
  color: var(--alcayaga-gold);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--alcayaga-navy-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--alcayaga-gold);
  border: 2px solid var(--alcayaga-navy-dark);
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--alcayaga-gold-light);
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--alcayaga-gold) var(--alcayaga-navy-dark);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--alcayaga-gold);
  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: #14181c;
  --heading-color: #1B2A52;
  --nav-color: #1B2A52;
  color: var(--default-color);
  background-color: var(--background-color);
  border-bottom: 1px solid rgba(194, 61, 110, 0.18);
  padding: 16px 0;
  transition: all 0.5s;
  z-index: 997;
  box-shadow: 0 8px 24px rgba(20, 24, 28, 0.06);
}

.header .logo {
  line-height: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header .logo img {
  max-height: 46px;
  margin-right: 8px;
}

.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: #14181c;
  --heading-color: #1B2A52;
  --nav-color: #1B2A52;
  box-shadow: none;
  border-bottom: 1px solid rgba(194, 61, 110, 0.18);
}

.scrolled .header .logo {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: #FFFFFF;
}

/*--------------------------------------------------------------
# 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 9px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 12.5px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 500;
    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: 10px 0;
    background: #FFFFFF;
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 0;
    border: 1px solid rgba(194, 61, 110, 0.15);
    z-index: 99;
    box-shadow: 0 14px 36px rgba(21, 41, 71, 0.12);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    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;
  }

  .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(194, 61, 110, 0.20);
    box-shadow: 0 18px 48px rgba(21, 41, 71, 0.18);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--alcayaga-navy);
    padding: 12px 22px;
    font-family: var(--nav-font);
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.18em;
    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(198, 160, 98, 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(--alcayaga-gold-dark);
    background: rgba(198, 160, 98, 0.08);
    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(198, 160, 98, 0.07);
    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.16em;
    font-size: 12px;
    padding: 9px 20px;
    color: var(--alcayaga-navy);
  }

  .navmenu .dropdown ul a:hover {
    color: var(--alcayaga-gold-dark);
    background: rgba(194, 61, 110, 0.10);
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(198, 160, 98, 0.04);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: var(--alcayaga-gold);
    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(21, 41, 71, 0.82);
    backdrop-filter: blur(4px);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer-section {
  background: linear-gradient(160deg, #1F3160 0%, #1B2A52 45%, #13203F 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 90px 0 28px;
  position: relative;
  overflow: hidden;
  font-family: var(--default-font);
}

/* Redes sociales en el footer */
.footer-section .footer-social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.footer-section .footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid rgba(231, 179, 200, 0.35);
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.footer-section .footer-social a:hover {
  background: var(--nahir-rose);
  border-color: var(--nahir-rose);
  color: #fff;
  transform: translateY(-3px);
}

.footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(198, 160, 98, 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(198, 160, 98, 0.06) 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(198, 160, 98, 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-name {
  display: block;
  font-family: var(--heading-font);
  font-size: 30px;
  font-weight: 600;
  color: var(--alcayaga-gold);
  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(250, 241, 232, 0.7);
  margin: 0 0 22px;
}

.footer-section .footer-signature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(198, 160, 98, 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(--nav-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--alcayaga-gold);
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(198, 160, 98, 0.18);
}

.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(250, 241, 232, 0.7);
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-block;
}

.footer-section .footer-list a:hover {
  color: var(--alcayaga-gold);
  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: var(--alcayaga-gold);
  padding-top: 4px;
  flex-shrink: 0;
}

.footer-section .footer-contact-list span,
.footer-section .footer-contact-list a {
  color: rgba(250, 241, 232, 0.7);
}

/* 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(250, 241, 232, 0.45);
}

.footer-section .footer-credits a {
  color: var(--alcayaga-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section .footer-credits a:hover {
  color: var(--alcayaga-gold-light);
}

@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: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

#preloader.preloader-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  width: 260px;
  max-width: 64vw;
  height: auto;
  opacity: 0;
  animation: preloader-logo-in 0.9s ease forwards, preloader-logo-breathe 2.4s ease-in-out 0.9s infinite;
}

@keyframes preloader-logo-in {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@keyframes preloader-logo-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: visible;
  opacity: 1;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
  background: linear-gradient(135deg, #0e7a5a 0%, #075E54 60%, #094f44 100%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1.5px solid rgba(198, 160, 98, 0.85);
  box-shadow:
    0 14px 32px rgba(7, 94, 84, 0.42),
    0 4px 10px rgba(21, 41, 71, 0.25),
    0 0 0 4px rgba(198, 160, 98, 0.10);
  transition: transform 0.35s 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(198, 160, 98, 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 60%, #0a5a4c 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(21, 41, 71, 0.32),
    0 0 0 4px rgba(198, 160, 98, 0.22);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# 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: var(--background-color);
  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-size: 32px;
  font-weight: 300;
  margin-bottom: 15px;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  z-index: 1;
  filter: none;
}

.hero:before {
  content: "";
  background:
    radial-gradient(ellipse at center, rgba(21, 41, 71, 0.55) 0%, rgba(21, 41, 71, 0.0) 65%),
    linear-gradient(180deg, rgba(21, 41, 71, 0.88) 0%, rgba(28, 53, 87, 0.82) 50%, rgba(21, 41, 71, 0.92) 100%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* En mobile el overlay se aclara para que la foto del hero se note
   (el text-shadow del título mantiene la legibilidad). */
@media (max-width: 768px) {
  .hero:before {
    background:
      radial-gradient(ellipse at center, rgba(21, 41, 71, 0.45) 0%, rgba(21, 41, 71, 0.0) 72%),
      linear-gradient(180deg, rgba(21, 41, 71, 0.55) 0%, rgba(28, 53, 87, 0.46) 45%, rgba(21, 41, 71, 0.64) 100%);
  }
}

.hero .container {
  position: relative;
  z-index: 3;
  max-width: 980px;
}

.hero h1,
.hero h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--alcayaga-cream);
  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);
  text-wrap: balance;
}

.hero p {
  margin: 0 0 22px 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--alcayaga-gold-light);
  text-shadow:
    0 3px 18px rgba(0, 0, 0, 0.85),
    0 1px 4px rgba(0, 0, 0, 0.7);
  display: block;
}

.hero .btn-get-started {
  position: relative;
  overflow: hidden;
  color: var(--alcayaga-navy-dark);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 32px;
  margin: 38px 0 0 0;
  border-radius: 0;
  transition: color 0.4s ease, background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  background: var(--alcayaga-gold);
  border: 1.5px solid var(--alcayaga-gold);
  box-shadow: 0 14px 32px rgba(21, 41, 71, 0.45), 0 0 0 1px rgba(227, 208, 168, 0.25) inset;
}

.hero .btn-get-started::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 248, 230, 0.55) 50%,
    transparent 100%
  );
  pointer-events: none;
  animation: hero-cta-shine 2.8s ease-in-out infinite;
  z-index: 1;
}

.hero .btn-get-started > span,
.hero .btn-get-started > i {
  position: relative;
  z-index: 2;
}

@keyframes hero-cta-shine {
  0%, 55% { left: -130%; }
  85%, 100% { left: 140%; }
}

.hero .btn-get-started i {
  display: inline-block;
  color: var(--alcayaga-navy-dark);
  font-size: 18px;
  line-height: 1;
  transform: rotate(0deg) scale(1);
  transition: color 0.4s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}

.hero .btn-get-started:hover {
  color: var(--alcayaga-gold);
  background: var(--alcayaga-navy-dark);
  border-color: var(--alcayaga-gold);
  box-shadow: 0 16px 36px rgba(21, 41, 71, 0.55), 0 0 0 1px rgba(198, 160, 98, 0.35) inset;
}

.hero .btn-get-started:hover i {
  color: var(--alcayaga-gold);
  transform: rotate(-14deg) scale(1.22);
  filter: drop-shadow(0 4px 8px rgba(198, 160, 98, 0.35));
}

/* ============================================================
   Hero Slider (símil marinpistachia: 4 slides, flechas + dots)
   ============================================================ */
.hero.hero-slider-section {
  padding: 0;
  overflow: hidden;
}

/* En el home el overlay es por-slide; desactivamos el global SOLO acá.
   Las páginas internas (.service-hero) conservan su .hero:before. */
.hero.hero-slider-section:before {
  content: none;
}

.hero-slider {
  width: 100%;
  height: 100vh;
  min-height: 580px;
  --swiper-navigation-size: 26px;
}

.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide {
  height: 100%;
}

.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--nahir-navy-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(19, 32, 63, 0.45) 0%, rgba(19, 32, 63, 0) 70%),
    linear-gradient(180deg, rgba(19, 32, 63, 0.88) 0%, rgba(27, 42, 82, 0.78) 50%, rgba(19, 32, 63, 0.93) 100%);
}

.hero-slide .container {
  position: relative;
  z-index: 2;
}

.hero-slide-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-slide-content .hero-overline {
  margin: 0 0 18px 0;
}

/* Titular del slide: serif en MAYÚSCULAS (en línea con el nav) */
.hero-slide-content h2 {
  margin: 0;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-slide-content .btn-get-started {
  margin-top: 34px;
}

/* Flechas de navegación */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
  color: var(--nahir-cream);
  width: 52px;
  height: 52px;
  border: 1.5px solid rgba(231, 179, 200, 0.45);
  border-radius: 50%;
  background: rgba(19, 32, 63, 0.35);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
  background: var(--nahir-rose);
  border-color: var(--nahir-rose);
  color: #fff;
}

/* Dots de paginación */
.hero-slider .swiper-pagination {
  bottom: 28px;
}

.hero-slider .swiper-pagination-bullet {
  width: 11px;
  height: 11px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  opacity: 1;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
  background: var(--nahir-rose);
  border-color: var(--nahir-rose);
  transform: scale(1.15);
}

/* Util: ocultar visualmente pero accesible (H1 SEO) */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 992px) {
  .hero-slide-content h2 {
    font-size: 34px;
    letter-spacing: 1.5px;
  }
}

@media (max-width: 768px) {
  .hero p,
  .hero-slide-content .hero-overline {
    font-size: 13px;
    letter-spacing: 4px;
  }

  .hero-slide-content h2 {
    font-size: 25px;
    line-height: 1.3;
    letter-spacing: 1px;
  }

  .hero-slider {
    min-height: 480px;
  }

  .hero-slider .swiper-button-next,
  .hero-slider .swiper-button-prev {
    display: none;
  }
}

/*--------------------------------------------------------------
# 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(198, 160, 98, 0.28);
  border-bottom: 1px solid rgba(198, 160, 98, 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;
  }
}


/*--------------------------------------------------------------
# Áreas Section (2 tarjetas: Trabajo / Tránsito)
--------------------------------------------------------------*/
.areas-section {
  padding: 100px 0;
  background: #FFFFFF;
  position: relative;
}

.areas-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.areas-overline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.areas-overline .overline-line {
  width: 34px;
  height: 1.5px;
  background: var(--nahir-rose);
  display: inline-block;
}

.areas-overline .overline-text {
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--nahir-rose-dark);
}

.areas-title {
  font-family: var(--heading-font);
  font-size: 40px;
  font-weight: 600;
  color: var(--nahir-navy);
  margin: 0 0 14px;
}

.areas-title em {
  font-style: italic;
  color: var(--nahir-rose);
}

.areas-subtitle {
  font-family: var(--nav-font);
  font-size: 16px;
  line-height: 1.6;
  color: #50555c;
  margin: 0;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.area-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 46px 42px 42px;
  color: #fff;
  box-shadow: 0 24px 50px rgba(19, 32, 63, 0.16);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.area-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 66px rgba(19, 32, 63, 0.26);
}

.area-card--trabajo {
  background: linear-gradient(150deg, #20335f 0%, #13203F 100%);
}

.area-card--transito {
  background: linear-gradient(150deg, #C23D6E 0%, #8E2B50 100%);
}

.area-card-watermark {
  position: absolute;
  top: -26px;
  right: -18px;
  font-size: 190px;
  line-height: 1;
  opacity: 0.07;
  transform: rotate(-10deg);
  pointer-events: none;
  transition: transform 0.5s ease;
}

.area-card:hover .area-card-watermark {
  transform: rotate(-10deg) translateX(-8px) scale(1.04);
}

.area-overline {
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 18px;
  position: relative;
}

.area-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.area-card--trabajo .area-icon {
  color: var(--nahir-rose-light);
}

.area-card--transito .area-icon {
  color: #fff;
}

.area-card h3 {
  font-family: var(--heading-font);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0.4px;
  color: #fff;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.area-desc {
  font-family: var(--nav-font);
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
  margin: 0 0 24px;
}

.area-links {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.area-links li {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.area-links li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.area-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 2px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--nav-font);
  font-size: 13.5px;
  font-weight: 500;
  transition: padding 0.3s ease, color 0.3s ease;
}

.area-links a:hover {
  color: #fff;
  padding-left: 8px;
}

.area-links a i {
  font-size: 13px;
  opacity: 0.55;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.area-links a:hover i {
  transform: translateX(4px);
  opacity: 1;
}

.area-cta {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 28px;
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: #fff;
  color: var(--nahir-navy);
  border: 1.5px solid #fff;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.area-card--transito .area-cta {
  color: var(--nahir-rose-dark);
}

.area-cta i {
  font-size: 15px;
  transition: transform 0.35s ease;
}

.area-card:hover .area-cta {
  background: transparent;
  color: #fff;
}

.area-cta:hover i {
  transform: translateX(4px);
}

@media (max-width: 992px) {
  .areas-grid {
    grid-template-columns: 1fr;
  }

  .areas-title {
    font-size: 32px;
  }
}

@media (max-width: 576px) {
  .area-card {
    padding: 38px 26px 34px;
  }

  .area-card h3 {
    font-size: 23px;
  }
}

/*--------------------------------------------------------------
# Calculadoras Section (2 tarjetas CTA: Trabajo / Tránsito)
--------------------------------------------------------------*/
.calc-section {
  padding: 100px 0;
  background: #FFFFFF;
  position: relative;
}

.calc-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.calc-overline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.calc-overline .overline-line {
  width: 34px;
  height: 1.5px;
  background: var(--nahir-rose);
  display: inline-block;
}

.calc-overline .overline-text {
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--nahir-rose-dark);
}

.calc-title {
  font-family: var(--heading-font);
  font-size: 40px;
  font-weight: 600;
  color: var(--nahir-navy);
  margin: 0 0 14px;
}

.calc-title em {
  font-style: italic;
  color: var(--nahir-rose);
}

.calc-subtitle {
  font-family: var(--nav-font);
  font-size: 16px;
  line-height: 1.6;
  color: #50555c;
  margin: 0;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.calc-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 44px 42px;
  color: #fff;
  box-shadow: 0 24px 50px rgba(19, 32, 63, 0.16);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.calc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 66px rgba(19, 32, 63, 0.28);
  color: #fff;
}

.calc-card--trabajo {
  background: linear-gradient(150deg, #20335f 0%, #13203F 100%);
}

.calc-card--transito {
  background: linear-gradient(150deg, #C23D6E 0%, #8E2B50 100%);
}

.calc-watermark {
  position: absolute;
  bottom: -34px;
  left: -16px;
  font-size: 200px;
  line-height: 1;
  opacity: 0.08;
  transform: rotate(-8deg);
  pointer-events: none;
  transition: transform 0.5s ease;
}

.calc-card:hover .calc-watermark {
  transform: rotate(-8deg) scale(1.05);
}

.calc-card-overline {
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
}

.calc-card h3 {
  font-family: var(--heading-font);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
}

.calc-card-desc {
  font-family: var(--nav-font);
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  max-width: 64%;
}

.calc-arrow {
  position: absolute;
  right: 42px;
  bottom: 38px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  font-size: 24px;
  color: #fff;
  transition: background 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}

.calc-card:hover .calc-arrow {
  background: #fff;
  border-color: #fff;
  transform: translateX(6px);
}

.calc-arrow i {
  transition: color 0.35s ease;
}

.calc-card--trabajo:hover .calc-arrow i {
  color: var(--nahir-navy);
}

.calc-card--transito:hover .calc-arrow i {
  color: var(--nahir-rose-dark);
}

@media (max-width: 992px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }

  .calc-title {
    font-size: 32px;
  }
}

@media (max-width: 576px) {
  .calc-card {
    padding: 36px 28px;
  }

  .calc-card h3 {
    font-size: 32px;
  }

  .calc-card-desc {
    max-width: 78%;
  }

  .calc-arrow {
    right: 28px;
    bottom: 28px;
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# ¿Por qué elegirnos? Section (3 valores conectados)
--------------------------------------------------------------*/
.whyus-section {
  padding: 100px 0;
  background: #F7F7F8;
  position: relative;
}

.whyus-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.whyus-overline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.whyus-overline .overline-line {
  width: 34px;
  height: 1.5px;
  background: var(--nahir-rose);
  display: inline-block;
}

.whyus-overline .overline-text {
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--nahir-rose-dark);
}

.whyus-title {
  font-family: var(--heading-font);
  font-size: 40px;
  font-weight: 600;
  color: var(--nahir-navy);
  margin: 0 0 14px;
}

.whyus-title em {
  font-style: italic;
  color: var(--nahir-rose);
}

.whyus-subtitle {
  font-family: var(--nav-font);
  font-size: 16px;
  line-height: 1.6;
  color: #50555c;
  margin: 0;
}

.whyus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  position: relative;
}

/* Línea conectora detrás de los círculos (embudo) */
.whyus-grid::before {
  content: "";
  position: absolute;
  top: 47px;
  left: 18%;
  right: 18%;
  height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--nahir-rose-light) 0 8px, transparent 8px 16px);
  opacity: 0.7;
  z-index: 0;
}

.whyus-item {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 14px;
}

.whyus-circle {
  width: 94px;
  height: 94px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: var(--nahir-rose-light);
  background: linear-gradient(150deg, #20335f 0%, #13203F 100%);
  box-shadow: 0 16px 34px rgba(19, 32, 63, 0.22);
  border: 4px solid #F7F7F8;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.whyus-item:hover .whyus-circle {
  transform: translateY(-6px);
}

.whyus-num {
  display: block;
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--nahir-rose);
  margin-bottom: 10px;
}

.whyus-name {
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--nahir-navy);
  margin: 0 0 10px;
}

.whyus-tagline {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--nahir-rose-dark);
  margin: 0 auto 14px;
  max-width: 300px;
}

.whyus-desc {
  font-family: var(--nav-font);
  font-size: 14.5px;
  line-height: 1.65;
  color: #565b62;
  margin: 0 auto;
  max-width: 320px;
}

@media (max-width: 992px) {
  .whyus-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 440px;
    margin: 0 auto;
  }

  .whyus-grid::before {
    display: none;
  }

  .whyus-title {
    font-size: 32px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about-section {
  padding: 110px 0;
  background: #FFFFFF;
  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(198, 160, 98, 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(28, 53, 87, 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(21, 41, 71, 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(21, 41, 71, 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: #2c3340;
  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: #4a5260;
  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(140, 106, 59, 0.22);
  border-bottom: 1px solid rgba(140, 106, 59, 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(21, 41, 71, 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: #4a5260;
  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: "Allura", cursive;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  color: var(--nahir-navy);
  font-style: normal;
  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: var(--alcayaga-navy-dark);
  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(198, 160, 98, 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(198, 160, 98, 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: italic;
  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;
}

/* TIMELINE */
.process-section .process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

.process-section .process-timeline::before {
  content: "";
  position: absolute;
  top: 105px;
  left: 12%;
  right: 12%;
  height: 1px;
  background-image: repeating-linear-gradient(
    to right,
    rgba(198, 160, 98, 0.45) 0,
    rgba(198, 160, 98, 0.45) 7px,
    transparent 7px,
    transparent 16px
  );
  z-index: 1;
}

.process-section .process-step {
  position: relative;
  text-align: center;
  z-index: 2;
}

.process-section .step-figure {
  position: relative;
  height: 150px;
  margin: 0 0 24px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.process-section .step-numeral {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--heading-font);
  font-size: 130px;
  font-weight: 500;
  line-height: 1;
  color: rgba(198, 160, 98, 0.16);
  letter-spacing: -4px;
  pointer-events: none;
  z-index: 1;
  font-feature-settings: "lnum";
}

.process-section .step-node {
  position: relative;
  z-index: 2;
  width: 78px;
  height: 78px;
  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: 26px;
  box-shadow: 0 0 0 6px rgba(21, 41, 71, 1), 0 14px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.process-section .step-node::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(198, 160, 98, 0.20);
  transition: inset 0.4s ease, border-color 0.4s ease;
}

.process-section .process-step:hover .step-node {
  background: var(--alcayaga-gold);
  color: var(--alcayaga-navy-dark);
  transform: scale(1.06);
  box-shadow: 0 0 0 6px rgba(21, 41, 71, 1), 0 18px 40px rgba(198, 160, 98, 0.32);
}

.process-section .process-step:hover .step-node::before {
  inset: -14px;
  border-color: rgba(198, 160, 98, 0.55);
}

.process-section .process-step:hover .step-numeral {
  color: rgba(198, 160, 98, 0.28);
}

.process-section .step-title {
  font-family: var(--heading-font);
  font-size: 25px;
  font-weight: 600;
  color: var(--alcayaga-cream);
  margin: 0 0 10px;
  letter-spacing: 0.3px;
}

.process-section .step-desc {
  font-family: var(--default-font);
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(250, 241, 232, 0.65);
  margin: 0 auto;
  max-width: 260px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .process-section {
    padding: 80px 0;
  }

  .process-section .process-header {
    margin-bottom: 64px;
  }

  .process-section .process-title {
    font-size: 36px;
  }

  .process-section .process-timeline {
    grid-template-columns: 1fr;
    gap: 56px;
    max-width: 480px;
    margin: 0 auto;
  }

  .process-section .process-timeline::before {
    top: 16px;
    bottom: 16px;
    left: 50%;
    right: auto;
    width: 1px;
    height: auto;
    background-image: repeating-linear-gradient(
      to bottom,
      rgba(198, 160, 98, 0.45) 0,
      rgba(198, 160, 98, 0.45) 7px,
      transparent 7px,
      transparent 16px
    );
  }
}

@media (max-width: 576px) {
  .process-section {
    padding: 60px 0;
  }

  .process-section .process-title {
    font-size: 30px;
  }

  .process-section .step-figure {
    height: 130px;
  }

  .process-section .step-numeral {
    font-size: 110px;
  }

  .process-section .step-node {
    width: 68px;
    height: 68px;
    font-size: 22px;
  }

  .process-section .step-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: var(--alcayaga-navy-dark);
  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(198, 160, 98, 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(198, 160, 98, 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(--alcayaga-gold);
}

.services-section .services-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);
}

.services-section .services-title {
  font-family: var(--heading-font);
  font-size: 52px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--alcayaga-cream);
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.services-section .services-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--alcayaga-gold);
}

.services-section .services-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;
}

/* GRID */
.services-section .services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* CARD */
.services-section .service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--alcayaga-navy);
  padding: 38px 32px 30px;
  border: 1px solid rgba(198, 160, 98, 0.28);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
  overflow: hidden;
  min-height: 320px;
}

.services-section .service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 1.5px;
  background: var(--alcayaga-gold);
  transition: width 0.55s ease;
  z-index: 1;
}

.services-section .service-card:hover::before {
  width: 100%;
}

.services-section .service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 1.5px;
  background: var(--alcayaga-gold);
  transition: width 0.55s ease;
  z-index: 1;
}

.services-section .service-card:hover::after {
  width: 56px;
}

.services-section .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(198, 160, 98, 0.15);
  border-color: rgba(198, 160, 98, 0.6);
  background: color-mix(in srgb, var(--alcayaga-navy) 88%, #ffffff 12%);
}

/* COLUMN WATERMARK (hover) — self-drawing Doric line effect */
.services-section .service-card .card-mountain {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42%;
  max-width: 170px;
  height: auto;
  color: var(--alcayaga-gold);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -52%) scale(0.92);
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition:
    opacity 0.45s ease,
    transform 0.7s ease,
    stroke-dashoffset 1.4s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 0;
}

.services-section .service-card:hover .card-mountain {
  opacity: 0.22;
  transform: translate(-50%, -50%) scale(1);
  stroke-dashoffset: 0;
}

/* Keep card content above the watermark */
.services-section .service-card > .service-number,
.services-section .service-card > .service-name,
.services-section .service-card > .service-desc,
.services-section .service-card > .service-cta {
  position: relative;
  z-index: 1;
}

/* NUMBER */
.services-section .service-number {
  display: inline-block;
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--alcayaga-gold);
  margin: 0 0 32px;
}

.services-section .service-name {
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 600;
  color: var(--alcayaga-cream);
  margin: 0 0 14px;
  letter-spacing: 0.2px;
  line-height: 1.18;
}

.services-section .service-desc {
  font-family: var(--default-font);
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(250, 241, 232, 0.65);
  margin: 0 0 28px;
  flex-grow: 1;
}

/* CTA — base state: text + icon, no border */
.services-section .service-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--alcayaga-gold);
  text-decoration: none;
  align-self: flex-start;
  background: transparent;
  transition: color 0.35s ease, gap 0.35s ease;
}

/* Top + bottom borders (animate width) */
.services-section .service-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid var(--alcayaga-gold);
  border-bottom: 1px solid var(--alcayaga-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
}

/* Left + right borders (animate height, delayed) */
.services-section .service-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 1px solid var(--alcayaga-gold);
  border-right: 1px solid var(--alcayaga-gold);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1) 0.22s;
  pointer-events: none;
}

/* Icon container — both arrow and plus stacked, swap on hover */
.services-section .service-cta-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.services-section .service-cta-icon i {
  position: absolute;
  top: 50%;
  left: 50%;
  line-height: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.services-section .service-cta-icon-arrow {
  font-size: 14px;
  opacity: 1;
}

.services-section .service-cta-icon-plus {
  font-size: 14px;
  opacity: 0;
}

.services-section .service-cta-icon .bi-whatsapp {
  font-size: 15px;
  opacity: 1;
}

/* CARD hover: text lighter, gap widens, arrow shifts a touch */
.services-section .service-card:hover .service-cta {
  color: var(--alcayaga-gold-light);
  gap: 18px;
}

.services-section .service-card:hover .service-cta-icon-arrow {
  transform: translate(-50%, -50%) translateX(3px);
}

/* BUTTON hover (mouse directly over CTA): border draws, arrow → plus, plus grows */
.services-section .service-cta:hover::before {
  transform: scaleX(1);
}

.services-section .service-cta:hover::after {
  transform: scaleY(1);
}

.services-section .service-cta:hover .service-cta-icon-arrow {
  opacity: 0;
  transform: translate(-50%, -50%) translateX(10px);
}

.services-section .service-cta:hover .service-cta-icon-plus {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* RESPONSIVE */
@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;
  }
}

/*--------------------------------------------------------------
# Honorarios Section (Jus values)
--------------------------------------------------------------*/
.honorarios-section {
  padding: 100px 0;
  background: #FFFFFF;
  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(198, 160, 98, 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(28, 53, 87, 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: italic;
  font-weight: 500;
  color: var(--alcayaga-gold-dark);
}

.honorarios-subtitle {
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.7;
  color: #4a5260;
  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(140, 106, 59, 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(21, 41, 71, 0.12);
  border-color: rgba(198, 160, 98, 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: #4a5260;
  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(198, 160, 98, 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(198, 160, 98, 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(227, 208, 168, 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: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: "";
  position: absolute;
  top: 60px;
  left: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 160, 98, 0.10) 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(28, 53, 87, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.faq-section .container {
  position: relative;
  z-index: 1;
}

/* SIDEBAR */
.faq-section .faq-sidebar {
  position: sticky;
  top: 120px;
  padding-right: 20px;
}

.faq-section .faq-overline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.faq-section .faq-overline .overline-line {
  width: 50px;
  height: 1.5px;
  background: var(--alcayaga-gold);
}

.faq-section .faq-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);
}

.faq-section .faq-title {
  font-family: var(--heading-font);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.12;
  color: var(--alcayaga-navy);
  margin: 0 0 26px;
  letter-spacing: -0.4px;
}

.faq-section .faq-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--alcayaga-gold-dark);
}

.faq-section .faq-intro {
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.75;
  color: #4a5260;
  margin: 0 0 38px;
}

.faq-section .faq-signature {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid rgba(140, 106, 59, 0.24);
}

.faq-section .faq-signature .signature-flourish {
  width: 42px;
  height: 1.5px;
  background: var(--alcayaga-gold);
}

.faq-section .faq-signature .signature-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq-section .faq-signature .signature-name {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 600;
  color: var(--alcayaga-navy);
  font-style: italic;
  letter-spacing: 0.4px;
}

.faq-section .faq-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);
}

/* FAQ ITEMS */
.faq-section .faq-container .faq-item {
  position: relative;
  background: #ffffff;
  padding: 22px 70px 22px 28px;
  margin-bottom: 14px;
  border: 1px solid rgba(140, 106, 59, 0.18);
  border-left: 2px solid transparent;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease, border-left-color 0.35s ease;
}

.faq-section .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq-section .faq-container .faq-item:hover {
  border-color: rgba(198, 160, 98, 0.45);
  box-shadow: 0 14px 30px rgba(21, 41, 71, 0.08);
}

.faq-section .faq-container .faq-item h3 {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--alcayaga-navy);
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: 0.1px;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: color 0.3s ease;
}

.faq-section .faq-container .faq-item h3 .faq-num {
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--alcayaga-gold-dark);
  padding-top: 5px;
  flex-shrink: 0;
  min-width: 22px;
}

.faq-section .faq-container .faq-item h3 .faq-question {
  flex: 1;
}

.faq-section .faq-container .faq-item h3:hover {
  color: var(--alcayaga-navy-dark);
}

/* CONTENT (expandable) */
.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;
  font-family: var(--default-font);
  font-size: 15px;
  line-height: 1.78;
  color: #4a5260;
}

.faq-section .faq-container .faq-item .faq-content > p strong {
  color: var(--alcayaga-navy);
  font-weight: 600;
}

/* TOGGLE — plus icon, rotates 45deg to X on active */
.faq-section .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 18px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(198, 160, 98, 0.55);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
  color: var(--alcayaga-gold-dark);
  background: transparent;
}

.faq-section .faq-container .faq-item:hover .faq-toggle {
  background: var(--alcayaga-gold-light);
  color: var(--alcayaga-navy-dark);
  border-color: var(--alcayaga-gold);
}

/* ACTIVE STATE */
.faq-section .faq-container .faq-active {
  background: #ffffff;
  border-left-color: var(--alcayaga-gold);
  border-color: rgba(198, 160, 98, 0.45);
  box-shadow: 0 22px 44px rgba(21, 41, 71, 0.12);
  transform: translateY(-1px);
}

.faq-section .faq-container .faq-active h3 {
  color: var(--alcayaga-navy-dark);
}

.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(45deg);
  background: var(--alcayaga-navy);
  color: var(--alcayaga-gold);
  border-color: var(--alcayaga-navy);
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .faq-section {
    padding: 70px 0;
  }

  .faq-section .faq-sidebar {
    position: static;
    padding-right: 0;
    margin-bottom: 18px;
  }

  .faq-section .faq-title {
    font-size: 32px;
  }

  .faq-section .faq-container .faq-item {
    padding: 20px 60px 20px 22px;
  }

  .faq-section .faq-container .faq-item h3 {
    font-size: 17px;
    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-title {
    font-size: 26px;
  }

  .faq-section .faq-intro {
    font-size: 15px;
  }

  .faq-section .faq-container .faq-item h3 {
    gap: 10px;
    font-size: 16px;
  }

  .faq-section .faq-container .faq-item h3 .faq-num {
    min-width: auto;
    font-size: 10px;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-section {
  padding: 120px 0;
  background: var(--alcayaga-navy-dark);
  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(198, 160, 98, 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(198, 160, 98, 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(--alcayaga-gold);
}

.contact-section .contact-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);
}

.contact-section .contact-title {
  font-family: var(--heading-font);
  font-size: 50px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--alcayaga-cream);
  margin: 0 0 22px;
  letter-spacing: -0.4px;
}

.contact-section .contact-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--alcayaga-gold);
}

.contact-section .contact-subtitle {
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.7;
  color: rgba(250, 241, 232, 0.7);
  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 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 60px 22px 26px;
  background: var(--alcayaga-navy);
  border: 1px solid rgba(198, 160, 98, 0.22);
  border-left: 2px solid transparent;
  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-method:hover {
  transform: translateY(-3px);
  border-color: rgba(198, 160, 98, 0.55);
  border-left-color: var(--alcayaga-gold);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.4);
  background: color-mix(in srgb, var(--alcayaga-navy) 90%, #ffffff 10%);
}

.contact-section .contact-method .method-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--alcayaga-navy-dark);
  color: var(--alcayaga-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 1.5px solid var(--alcayaga-gold);
  transition: background 0.35s ease, color 0.35s ease, transform 0.4s ease;
}

.contact-section .contact-method:hover .method-icon {
  background: var(--alcayaga-gold);
  color: var(--alcayaga-navy-dark);
  transform: scale(1.05);
}

.contact-section .contact-method .method-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.contact-section .contact-method .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);
}

.contact-section .contact-method .method-value {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 600;
  color: var(--alcayaga-cream);
  line-height: 1.25;
  letter-spacing: 0.2px;
}

/* WhatsApp number — readability across the site */
.contact-section .contact-method[href*="wa.me"] .method-value,
.footer-section .footer-contact-list a[href*="wa.me"] {
  font-family: var(--nav-font);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.contact-section .contact-method[href*="wa.me"] .method-value {
  font-size: 22px;
  color: var(--alcayaga-gold-light);
}

.footer-section .footer-contact-list a[href*="wa.me"] {
  font-size: 15px;
  color: var(--alcayaga-gold-light);
}

.footer-section .footer-contact-list a[href*="wa.me"]:hover {
  color: var(--alcayaga-gold);
}

.contact-section .contact-method .method-meta {
  font-family: var(--default-font);
  font-size: 12.5px;
  color: rgba(250, 241, 232, 0.55);
  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(198, 160, 98, 0.28);
  overflow: hidden;
  margin-top: 6px;
}

.contact-section .contact-map-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(21, 41, 71, 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: 38px;
  background: rgba(28, 53, 87, 0.45);
  border: 1px solid rgba(198, 160, 98, 0.22);
}

.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(--alcayaga-gold);
}

.contact-section .form-intro-text {
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--alcayaga-gold);
}

.contact-section .contact-label {
  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);
  margin-bottom: 8px;
}

.contact-section .contact-input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(21, 41, 71, 0.55);
  border: 1px solid rgba(198, 160, 98, 0.22);
  border-radius: 0;
  color: var(--alcayaga-cream);
  font-family: var(--default-font);
  font-size: 15px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.contact-section .contact-input::placeholder {
  color: rgba(250, 241, 232, 0.35);
}

.contact-section .contact-input:focus {
  outline: none;
  border-color: var(--alcayaga-gold);
  background: rgba(21, 41, 71, 0.8);
  box-shadow: 0 0 0 3px rgba(198, 160, 98, 0.12);
}

.contact-section .contact-textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--default-font);
}

/* SUBMIT BUTTON */
.contact-section .contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  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;
  cursor: pointer;
  transition: 0.4s ease;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(227, 208, 168, 0.25) inset;
}

.contact-section .contact-submit i {
  font-size: 16px;
  transition: transform 0.4s ease;
}

.contact-section .contact-submit:hover {
  background: transparent;
  color: var(--alcayaga-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.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(--alcayaga-gold);
}

.contact-section .php-email-form .sent-message {
  background: rgba(11, 107, 77, 0.4);
  border: 1px solid rgba(198, 160, 98, 0.3);
  color: var(--alcayaga-cream);
}

.contact-section .php-email-form .error-message {
  background: rgba(180, 30, 50, 0.3);
  border: 1px solid rgba(198, 160, 98, 0.3);
  color: var(--alcayaga-cream);
}

/* 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: #FFFFFF;
  margin: 0;
}

/* HERO */
.profile-hero-section {
  padding: 130px 0 90px;
  background: #FFFFFF;
  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(198, 160, 98, 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(28, 53, 87, 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(21, 41, 71, 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(21, 41, 71, 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: #2c3340;
  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(140, 106, 59, 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: #4a5260;
}

/* TIMELINE SECTION */
.profile-timeline-section {
  padding: 100px 0;
  background: #FFFFFF;
  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: #4a5260;
  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(198, 160, 98, 0.45) 0,
    rgba(198, 160, 98, 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(21, 41, 71, 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: #4a5260;
  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(198, 160, 98, 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(198, 160, 98, 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(198, 160, 98, 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: #FFFFFF;
  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(198, 160, 98, 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(21, 41, 71, 0.18), 0 0 0 1px rgba(227, 208, 168, 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;
  }
}

/* ============================================================
   Páginas internas — Contenido legal (derechos, áreas, etc.)
   ============================================================ */
.legal-content {
  padding: 80px 0;
  background: #fff;
}

.legal-content--alt {
  background: #F7F7F8;
}

.legal-wrap {
  max-width: 880px;
  margin: 0 auto;
}

.legal-overline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.legal-overline .overline-line {
  width: 34px;
  height: 1.5px;
  background: var(--nahir-rose);
  display: inline-block;
}

.legal-overline .overline-text {
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--nahir-rose-dark);
}

.legal-content p {
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.75;
  color: #41464e;
  margin: 0 0 18px;
}

.legal-content .legal-lead {
  font-size: 19px;
  line-height: 1.7;
  color: #2c3038;
}

.legal-content strong {
  color: var(--nahir-navy);
  font-weight: 600;
}

.legal-block {
  margin-bottom: 46px;
}

.legal-block:last-child {
  margin-bottom: 0;
}

.legal-block h2 {
  font-family: var(--heading-font);
  font-size: 32px;
  font-weight: 600;
  color: var(--nahir-navy);
  line-height: 1.2;
  margin: 0 0 20px;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.legal-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.65;
  color: #41464e;
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  background: var(--nahir-rose);
  border-radius: 2px;
}

.legal-inline-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid rgba(27, 42, 82, 0.12);
  border-left: 4px solid var(--nahir-rose);
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(19, 32, 63, 0.07);
}

.legal-inline-cta > i {
  font-size: 30px;
  color: var(--nahir-rose);
}

.legal-inline-cta > div {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.legal-inline-cta strong {
  font-family: var(--heading-font);
  font-size: 19px;
  color: var(--nahir-navy);
}

.legal-inline-cta span {
  font-family: var(--default-font);
  font-size: 14px;
  color: #565b62;
}

.legal-inline-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--nahir-navy);
  color: #fff;
  font-family: var(--nav-font);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.3s ease;
}

.legal-inline-btn:hover {
  background: var(--nahir-rose);
  color: #fff;
  transform: translateX(3px);
}

/* 5 derechos — cards claras */
.rights-section {
  padding: 90px 0;
  background: #fff;
}

.rights-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.rights-title {
  font-family: var(--heading-font);
  font-size: 38px;
  font-weight: 600;
  color: var(--nahir-navy);
  margin: 0 0 12px;
}

.rights-title em {
  font-style: italic;
  color: var(--nahir-rose);
}

.rights-subtitle {
  font-family: var(--nav-font);
  font-size: 16px;
  line-height: 1.6;
  color: #50555c;
  margin: 0;
}

.rights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.right-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(27, 42, 82, 0.1);
  border-radius: 6px;
  padding: 34px 30px;
  box-shadow: 0 14px 34px rgba(19, 32, 63, 0.06);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.right-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(19, 32, 63, 0.14);
  border-color: rgba(194, 61, 110, 0.3);
}

/* Tarjetas con botón (Formularios, Reclamos): alinear el botón abajo y con aire */
.right-card {
  display: flex;
  flex-direction: column;
}

.right-card .legal-inline-btn {
  margin-top: auto;
  align-self: flex-start;
}

.right-card p:has(+ .legal-inline-btn) {
  margin-bottom: 22px;
}

.right-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  background: linear-gradient(150deg, #20335f, #13203F);
  margin-bottom: 18px;
}

.right-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--heading-font);
  font-size: 40px;
  font-weight: 700;
  color: rgba(194, 61, 110, 0.14);
  line-height: 1;
}

.right-card h3 {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 600;
  color: var(--nahir-navy);
  line-height: 1.25;
  margin: 0 0 10px;
}

.right-card p {
  font-family: var(--default-font);
  font-size: 14.5px;
  line-height: 1.6;
  color: #565b62;
  margin: 0;
}

.disease-prof {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(27, 42, 82, 0.08);
  font-family: var(--nav-font);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--nahir-rose-dark);
}

.rights-foot {
  text-align: center;
  margin: 44px 0 0;
  font-family: var(--default-font);
  font-size: 16px;
  color: #50555c;
}

.rights-foot a {
  color: var(--nahir-rose-dark);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

.rights-foot a:hover {
  color: var(--nahir-rose);
}

.legal-subheading {
  font-family: var(--heading-font);
  font-size: 23px;
  font-weight: 600;
  color: var(--nahir-navy);
  margin: 26px 0 14px;
}

/* Pasos del reclamo */
.steps-section {
  padding: 90px 0;
  background: #F7F7F8;
}

.steps-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.steps-title {
  font-family: var(--heading-font);
  font-size: 38px;
  font-weight: 600;
  color: var(--nahir-navy);
  margin: 0 0 12px;
}

.steps-title em {
  font-style: italic;
  color: var(--nahir-rose);
}

.steps-subtitle {
  font-family: var(--nav-font);
  font-size: 16px;
  line-height: 1.6;
  color: #50555c;
  margin: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  position: relative;
  text-align: center;
  padding: 10px 14px;
}

.step-numeral {
  display: block;
  font-family: var(--heading-font);
  font-size: 46px;
  font-weight: 700;
  color: rgba(27, 42, 82, 0.1);
  line-height: 1;
  margin-bottom: -22px;
}

.step-node {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--nahir-rose-light);
  background: linear-gradient(150deg, #20335f, #13203F);
  box-shadow: 0 14px 30px rgba(19, 32, 63, 0.2);
  position: relative;
}

.step-card h3 {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--nahir-navy);
  margin: 0 0 8px;
}

.step-card p {
  font-family: var(--default-font);
  font-size: 14px;
  line-height: 1.55;
  color: #565b62;
  margin: 0;
}

/* CTA destacada "solo cobramos si cobrás" */
.cta-highlight-section {
  padding: 80px 0;
  background: #fff;
}

.cta-highlight {
  position: relative;
  overflow: hidden;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 54px 40px;
  border-radius: 8px;
  background: linear-gradient(150deg, #1F3160 0%, #1B2A52 45%, #13203F 100%);
  box-shadow: 0 30px 60px rgba(19, 32, 63, 0.28);
}

.cta-highlight-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  background: var(--nahir-rose);
}

.cta-highlight h2 {
  font-family: var(--heading-font);
  font-size: 34px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 14px;
}

.cta-highlight p {
  font-family: var(--default-font);
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 28px;
  max-width: 600px;
}

.cta-highlight p strong {
  color: #fff;
}

.cta-highlight-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 34px;
  background: var(--nahir-rose);
  color: #fff;
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.cta-highlight-btn:hover {
  background: #fff;
  color: var(--nahir-navy);
  transform: translateY(-3px);
}

.cta-highlight-btn i {
  font-size: 17px;
}

@media (max-width: 992px) {
  .rights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
}

@media (max-width: 768px) {
  .legal-content .legal-lead {
    font-size: 17px;
  }

  .legal-block h2,
  .rights-title,
  .steps-title {
    font-size: 28px;
  }

  .cta-highlight h2 {
    font-size: 26px;
  }
}

@media (max-width: 576px) {
  .rights-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .legal-inline-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Timeline vertical (procesos de 5+ pasos) */
.flow-section {
  padding: 90px 0;
  background: #fff;
}

.flow-timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.flow-timeline::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--nahir-rose-light) 0%, rgba(231, 179, 200, 0.3) 100%);
}

.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 26px;
  padding-bottom: 34px;
}

.flow-step:last-child {
  padding-bottom: 0;
}

.flow-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  color: var(--nahir-rose-light);
  background: linear-gradient(150deg, #20335f, #13203F);
  box-shadow: 0 12px 26px rgba(19, 32, 63, 0.22);
  border: 4px solid #fff;
  position: relative;
  z-index: 1;
}

.flow-content {
  padding-top: 8px;
}

.flow-content h3 {
  font-family: var(--heading-font);
  font-size: 23px;
  font-weight: 600;
  color: var(--nahir-navy);
  line-height: 1.25;
  margin: 0 0 8px;
}

.flow-content p {
  font-family: var(--default-font);
  font-size: 15.5px;
  line-height: 1.65;
  color: #41464e;
  margin: 0;
}

.flow-content strong {
  color: var(--nahir-navy);
  font-weight: 600;
}

@media (max-width: 576px) {
  .flow-step {
    grid-template-columns: 50px 1fr;
    gap: 18px;
  }

  .flow-num {
    width: 50px;
    height: 50px;
    font-size: 21px;
  }

  .flow-timeline::before {
    left: 24px;
  }

  .flow-content h3 {
    font-size: 20px;
  }
}

/* ============================================================
   Calculadora de indemnización (herramienta)
   ============================================================ */
.calc-tool-section {
  padding: 90px 0;
  background: #fff;
}

.calc-tool-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.calc-tool-header .legal-overline {
  justify-content: center;
}

.calc-tool-title {
  font-family: var(--heading-font);
  font-size: 38px;
  font-weight: 600;
  color: var(--nahir-navy);
  margin: 12px 0 12px;
}

.calc-tool-title em {
  font-style: italic;
  color: var(--nahir-rose);
}

.calc-tool-subtitle {
  font-family: var(--nav-font);
  font-size: 16px;
  line-height: 1.6;
  color: #50555c;
  margin: 0;
}

.calc-tool {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(27, 42, 82, 0.1);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(19, 32, 63, 0.12);
  padding: 40px;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-field > label {
  font-family: var(--nav-font);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--nahir-navy);
}

.calc-field input[type="number"] {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--default-font);
  font-size: 16px;
  color: #1f2329;
  background: #fff;
  border: 1.5px solid rgba(27, 42, 82, 0.18);
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -moz-appearance: textfield;
}

.calc-field input[type="number"]::-webkit-outer-spin-button,
.calc-field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calc-field input[type="number"]:focus {
  outline: none;
  border-color: var(--nahir-rose);
  box-shadow: 0 0 0 3px rgba(194, 61, 110, 0.12);
}

.calc-field small {
  font-size: 12.5px;
  color: #6b7077;
}

.calc-label-opt {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #9aa0a6;
}

.calc-field select {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--default-font);
  font-size: 15px;
  color: #1f2329;
  background: #fff;
  border: 1.5px solid rgba(27, 42, 82, 0.18);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none' stroke='%231B2A52' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

.calc-field select:focus {
  outline: none;
  border-color: var(--nahir-rose);
  box-shadow: 0 0 0 3px rgba(194, 61, 110, 0.12);
}

.calc-input-affix {
  position: relative;
  display: flex;
  align-items: center;
}

.calc-input-affix .calc-affix {
  position: absolute;
  left: 15px;
  font-family: var(--default-font);
  font-weight: 600;
  color: #6b7077;
  pointer-events: none;
}

.calc-input-affix input {
  padding-left: 30px;
}

.calc-input-affix--right .calc-affix {
  left: auto;
  right: 15px;
}

.calc-input-affix--right input {
  padding-left: 16px;
  padding-right: 36px;
}

.calc-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.calc-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calc-toggle label {
  text-align: center;
  padding: 12px;
  border: 1.5px solid rgba(27, 42, 82, 0.18);
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--nahir-navy);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.calc-toggle input:checked + label {
  background: linear-gradient(150deg, #20335f, #13203F);
  color: #fff;
  border-color: var(--nahir-navy-dark);
}

.calc-submit {
  margin-top: 6px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px;
  background: linear-gradient(150deg, #C23D6E 0%, #9B2F57 100%);
  color: #fff;
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.calc-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(194, 61, 110, 0.35);
}

.calc-submit i {
  font-size: 17px;
}

.calc-result {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px dashed rgba(27, 42, 82, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.calc-result-label {
  font-family: var(--nav-font);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nahir-rose-dark);
}

.calc-result-amount {
  font-family: var(--heading-font);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: var(--nahir-navy);
}

.calc-result-note {
  font-family: var(--default-font);
  font-size: 13.5px;
  line-height: 1.55;
  color: #565b62;
  margin: 8px 0 16px;
  max-width: 420px;
}

.calc-result-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: var(--nahir-rose);
  color: #fff;
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.calc-result-cta:hover {
  background: var(--nahir-navy);
  color: #fff;
  transform: translateY(-2px);
}

.calc-disclaimer {
  max-width: 720px;
  margin: 32px auto 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 22px;
  background: #F7F7F8;
  border-left: 4px solid var(--nahir-rose);
  border-radius: 4px;
}

.calc-disclaimer i {
  color: var(--nahir-rose);
  font-size: 20px;
  padding-top: 2px;
  flex-shrink: 0;
}

.calc-disclaimer p {
  margin: 0;
  font-family: var(--default-font);
  font-size: 13.5px;
  line-height: 1.6;
  color: #50555c;
}

@media (max-width: 576px) {
  .calc-tool {
    padding: 28px 22px;
  }

  .calc-tool-title {
    font-size: 30px;
  }

  .calc-result-amount {
    font-size: 38px;
  }
}

/* ============================================================
   Blog / Novedades
   ============================================================ */
.blog-head {
  padding: 150px 0 30px;
  background: #fff;
  text-align: center;
}

.blog-head-inner {
  max-width: 720px;
  margin: 0 auto;
}

.blog-overline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.blog-overline .overline-line {
  width: 34px;
  height: 1.5px;
  background: var(--nahir-rose);
}

.blog-overline .overline-text {
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--nahir-rose-dark);
}

.blog-title {
  font-family: var(--heading-font);
  font-size: 56px;
  font-weight: 600;
  color: var(--nahir-navy);
  margin: 0 0 14px;
}

.blog-subtitle {
  font-family: var(--nav-font);
  font-size: 16.5px;
  line-height: 1.65;
  color: #50555c;
  margin: 0;
}

/* Filtros */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 4px;
}

.blog-filter {
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--nahir-navy);
  padding: 9px 20px;
  border: 1.5px solid rgba(27, 42, 82, 0.16);
  border-radius: 30px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.blog-filter:hover {
  border-color: var(--nahir-rose);
  color: var(--nahir-rose-dark);
}

.blog-filter.active {
  background: var(--nahir-navy);
  border-color: var(--nahir-navy);
  color: #fff;
}

.blog-section {
  padding: 40px 0 90px;
  background: #fff;
}

.blog-empty {
  text-align: center;
  font-family: var(--default-font);
  font-size: 16px;
  color: #6b7077;
  padding: 40px 0;
}

/* Badge de categoría */
.blog-badge {
  display: inline-block;
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--badge, #1B2A52);
  padding: 6px 14px;
  border-radius: 30px;
}

/* Meta (fecha, lectura) */
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--nav-font);
  font-size: 12.5px;
  color: #8a9099;
}

.blog-meta i {
  color: var(--nahir-rose);
  margin-right: 4px;
}

/* Nota destacada */
.blog-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(27, 42, 82, 0.08);
  box-shadow: 0 24px 60px rgba(19, 32, 63, 0.1);
  margin-bottom: 50px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.blog-featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 70px rgba(19, 32, 63, 0.18);
}

.blog-featured-media {
  position: relative;
  min-height: 340px;
  overflow: hidden;
}

.blog-featured-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-featured:hover .blog-featured-media img {
  transform: scale(1.05);
}

.blog-featured-body {
  padding: 44px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured-title {
  font-family: var(--heading-font);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--nahir-navy);
  margin: 18px 0 14px;
}

.blog-featured-excerpt {
  font-family: var(--default-font);
  font-size: 15.5px;
  line-height: 1.65;
  color: #565b62;
  margin: 0 0 20px;
}

.blog-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nahir-rose-dark);
}

.blog-featured:hover .blog-readmore i {
  transform: translateX(4px);
}

.blog-readmore i {
  transition: transform 0.3s ease;
}

/* Grid de notas */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(27, 42, 82, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(19, 32, 63, 0.06);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(19, 32, 63, 0.14);
}

.blog-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.06);
}

.blog-card-media .blog-badge {
  position: absolute;
  top: 14px;
  left: 14px;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 26px;
}

.blog-card-title {
  font-family: var(--heading-font);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.28;
  margin: 0 0 12px;
}

.blog-card-title a {
  color: var(--nahir-navy);
  transition: color 0.25s ease;
}

.blog-card-title a:hover {
  color: var(--nahir-rose);
}

.blog-excerpt {
  font-family: var(--default-font);
  font-size: 14.5px;
  line-height: 1.6;
  color: #565b62;
  margin: 0 0 18px;
}

.blog-card-body .blog-meta {
  margin-top: auto;
}

/* Paginación */
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.blog-pagination a {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--nahir-navy);
  border: 1.5px solid rgba(27, 42, 82, 0.16);
  border-radius: 8px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.blog-pagination a:hover {
  border-color: var(--nahir-rose);
  color: var(--nahir-rose-dark);
}

.blog-pagination a.active {
  background: var(--nahir-navy);
  border-color: var(--nahir-navy);
  color: #fff;
}

/* ===== Nota individual ===== */
.post-hero {
  min-height: 68vh;
}

.post-hero-badge {
  display: inline-block;
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--badge, #1B2A52);
  padding: 7px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.post-hero .post-hero-title {
  font-family: var(--heading-font);
  font-size: 46px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.3px;
  text-transform: none;
  color: #fff;
  margin: 0 0 22px;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.6);
  text-wrap: balance;
}

.post-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  font-family: var(--nav-font);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
}

.post-hero-meta i {
  color: var(--nahir-rose-light);
  margin-right: 6px;
}

.post-body {
  padding: 70px 0;
  background: #fff;
}

.post-wrap {
  max-width: 760px;
  margin: 0 auto;
}

/* Tipografía de lectura */
.post-content {
  font-family: var(--default-font);
  font-size: 17px;
  line-height: 1.8;
  color: #2f343b;
}

.post-content p {
  margin: 0 0 22px;
}

.post-content h2 {
  font-family: var(--heading-font);
  font-size: 30px;
  font-weight: 600;
  color: var(--nahir-navy);
  margin: 40px 0 16px;
  line-height: 1.25;
}

.post-content h3 {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 600;
  color: var(--nahir-navy);
  margin: 32px 0 12px;
}

.post-content a {
  color: var(--nahir-rose-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-content a:hover {
  color: var(--nahir-rose);
}

.post-content strong {
  color: var(--nahir-navy);
  font-weight: 600;
}

.post-content ul,
.post-content ol {
  margin: 0 0 22px;
  padding-left: 24px;
}

.post-content li {
  margin-bottom: 9px;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 26px 0;
}

.post-content blockquote {
  margin: 28px 0;
  padding: 6px 0 6px 22px;
  border-left: 4px solid var(--nahir-rose);
  font-family: var(--heading-font);
  font-style: italic;
  font-size: 21px;
  line-height: 1.5;
  color: var(--nahir-navy);
}

/* Compartir */
.post-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(27, 42, 82, 0.1);
}

.post-share-label {
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a9099;
  margin-right: 4px;
}

.post-share a,
.post-share-copy {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid rgba(27, 42, 82, 0.16);
  background: #fff;
  color: var(--nahir-navy);
  font-size: 17px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.post-share a:hover,
.post-share-copy:hover {
  background: var(--nahir-rose);
  border-color: var(--nahir-rose);
  color: #fff;
  transform: translateY(-3px);
}

/* Relacionadas */
.post-related {
  padding: 80px 0;
  background: #F7F7F8;
}

.related-header {
  text-align: center;
  margin-bottom: 44px;
}

.related-title {
  font-family: var(--heading-font);
  font-size: 34px;
  font-weight: 600;
  color: var(--nahir-navy);
  margin: 0;
}

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-featured {
    grid-template-columns: 1fr;
  }

  .blog-featured-media {
    min-height: 240px;
  }
}

@media (max-width: 768px) {
  .blog-title {
    font-size: 40px;
  }

  .post-hero .post-hero-title {
    font-size: 30px;
  }

  .post-content {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-featured-body {
    padding: 30px 26px;
  }
}

/* ============================================================
   Contacto
   ============================================================ */
.contacto-section {
  padding: 140px 0 90px;
  background: #fff;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contacto-overline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.contacto-overline .overline-line {
  width: 34px;
  height: 1.5px;
  background: var(--nahir-rose);
}

.contacto-overline .overline-text {
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--nahir-rose-dark);
}

.contacto-h2 {
  font-family: var(--heading-font);
  font-size: 38px;
  font-weight: 600;
  color: var(--nahir-navy);
  margin: 0 0 12px;
}

.contacto-intro {
  font-family: var(--nav-font);
  font-size: 15.5px;
  line-height: 1.6;
  color: #50555c;
  margin: 0 0 28px;
}

.contacto-method {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border: 1px solid rgba(27, 42, 82, 0.12);
  border-radius: 10px;
  margin-bottom: 14px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

a.contacto-method:hover {
  border-color: var(--nahir-rose);
  transform: translateX(4px);
  box-shadow: 0 14px 30px rgba(19, 32, 63, 0.08);
}

.contacto-method--static { cursor: default; }

.contacto-method-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  color: var(--nahir-rose-light);
  background: linear-gradient(150deg, #20335f, #13203F);
}

.contacto-method-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contacto-method-label {
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nahir-rose-dark);
}

.contacto-method-value {
  font-family: var(--default-font);
  font-size: 15px;
  font-weight: 500;
  color: var(--nahir-navy);
  word-break: break-word;
}

.contacto-method-arrow {
  color: var(--nahir-rose);
  font-size: 16px;
}

/* Tarjeta WhatsApp destacada */
.contacto-method--wa {
  background: linear-gradient(150deg, #1F3160 0%, #13203F 100%);
  border-color: transparent;
}

.contacto-method--wa .contacto-method-icon { background: #25D366; color: #fff; }
.contacto-method--wa .contacto-method-label { color: rgba(255, 255, 255, 0.7); }
.contacto-method--wa .contacto-method-value { color: #fff; }
.contacto-method--wa .contacto-method-arrow { color: #fff; }

/* Formulario */
.contacto-form-card {
  background: #fff;
  border: 1px solid rgba(27, 42, 82, 0.1);
  border-radius: 14px;
  padding: 36px;
  box-shadow: 0 24px 60px rgba(19, 32, 63, 0.1);
}

.contacto-form-card h3 {
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 600;
  color: var(--nahir-navy);
  margin: 0;
}

.contacto-form-sub {
  font-family: var(--default-font);
  font-size: 14px;
  color: #6b7077;
  margin: 6px 0 24px;
}

.contacto-form-card .calc-submit { margin-top: 8px; }

/* Inputs de texto/textarea (form de contacto) */
.calc-field input[type="text"],
.calc-field input[type="email"],
.calc-field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--default-font);
  font-size: 15px;
  color: #1f2329;
  background: #fff;
  border: 1.5px solid rgba(27, 42, 82, 0.18);
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calc-field textarea {
  min-height: 90px;
  resize: vertical;
}

.calc-field input[type="text"]:focus,
.calc-field input[type="email"]:focus,
.calc-field textarea:focus {
  outline: none;
  border-color: var(--nahir-rose);
  box-shadow: 0 0 0 3px rgba(194, 61, 110, 0.12);
}

/* Mapa */
.contacto-map-section { line-height: 0; }

.contacto-map {
  width: 100%;
  height: 440px;
  border: 0;
  display: block;
}

@media (max-width: 992px) {
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ============================================================
   Listado de Comisiones Médicas
   ============================================================ */
.cm-section {
  padding: 90px 0;
  background: #F7F7F8;
}

.cm-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 46px;
}

.cm-title {
  font-family: var(--heading-font);
  font-size: 38px;
  font-weight: 600;
  color: var(--nahir-navy);
  margin: 0 0 12px;
}

.cm-title em { font-style: italic; color: var(--nahir-rose); }

.cm-subtitle {
  font-family: var(--nav-font);
  font-size: 16px;
  line-height: 1.6;
  color: #50555c;
  margin: 0;
}

.cm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.cm-card {
  background: #fff;
  border: 1px solid rgba(27, 42, 82, 0.1);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(19, 32, 63, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(19, 32, 63, 0.12);
}

.cm-card--destacada {
  border: 1.5px solid var(--nahir-rose);
  box-shadow: 0 16px 40px rgba(194, 61, 110, 0.16);
}

.cm-tag {
  display: inline-block;
  background: var(--nahir-rose);
  color: #fff;
  font-family: var(--nav-font);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.cm-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.cm-card-head h3 {
  font-family: var(--heading-font);
  font-size: 21px;
  font-weight: 600;
  color: var(--nahir-navy);
  line-height: 1.2;
  margin: 0;
}

.cm-num {
  flex-shrink: 0;
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 600;
  color: var(--nahir-rose-dark);
  background: rgba(194, 61, 110, 0.08);
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.cm-data {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.cm-data li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-family: var(--default-font);
  font-size: 14px;
  line-height: 1.45;
  color: #41464e;
  margin-bottom: 7px;
}

.cm-data li:last-child { margin-bottom: 0; }

.cm-data i {
  color: var(--nahir-rose);
  font-size: 15px;
  padding-top: 2px;
  flex-shrink: 0;
}

.cm-data a { color: var(--nahir-navy); }
.cm-data a:hover { color: var(--nahir-rose); }

.cm-comp {
  font-family: var(--default-font);
  font-size: 13px;
  line-height: 1.5;
  color: #565b62;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(27, 42, 82, 0.08);
}

.cm-comp strong { color: var(--nahir-navy); }

.cm-foot {
  text-align: center;
  margin: 40px 0 0;
  font-family: var(--default-font);
  font-size: 15px;
  color: #50555c;
}

.cm-foot i { color: var(--nahir-rose); }

.cm-foot a {
  color: var(--nahir-rose-dark);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

@media (max-width: 576px) {
  .cm-grid { grid-template-columns: 1fr; }
  .cm-title { font-size: 30px; }
}

/* Mensaje del formulario de contacto */
.contacto-msg {
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 8px;
  font-family: var(--default-font);
  font-size: 14px;
  line-height: 1.5;
}

.contacto-msg.ok {
  background: #e6f4ea;
  color: #1e7e34;
  border: 1px solid rgba(30, 126, 52, 0.25);
}

.contacto-msg.error {
  background: #fdecea;
  color: #9b2f2f;
  border: 1px solid rgba(155, 47, 47, 0.25);
}

@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: #FFFFFF;
  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(198, 160, 98, 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(28, 53, 87, 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: #2c3340;
  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(21, 41, 71, 0.18), 0 0 0 1px rgba(227, 208, 168, 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: #FFFFFF;
  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(198, 160, 98, 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(28, 53, 87, 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: #4a5260;
  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(21, 41, 71, 0.18), 0 0 0 1px rgba(227, 208, 168, 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;
  }
}

/* ===== Slider hero: imágenes adaptadas a mobile ===== */
.hs-slide-transito { background-image: url(../img/hero/slide-transito.jpg); }
@media (max-width: 768px) { .hs-slide-transito { background-image: url(../img/mobile/slide-transito.jpg); } }
.hs-slide-laboral { background-image: url(../img/hero/slide-laboral.jpg); }
@media (max-width: 768px) { .hs-slide-laboral { background-image: url(../img/mobile/slide-laboral.jpg); } }
.hs-slide-srt { background-image: url(../img/hero/slide-srt.jpg); }
@media (max-width: 768px) { .hs-slide-srt { background-image: url(../img/mobile/slide-srt.jpg); } }
.hs-slide-maradona { background-image: url(../img/hero/slide-maradona.jpg); }
@media (max-width: 768px) { .hs-slide-maradona { background-image: url(../img/mobile/slide-maradona.jpg); } }
