/**
* 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: #FAF1E8; /* 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: #1f2329; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #6b1e2e; /* 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 - Dr. Joaquín Alcayaga (navy + dorado + crema premium) */
:root {
  --alcayaga-navy: #1C3557;
  --alcayaga-navy-dark: #152947;
  --alcayaga-gold: #C6A062;
  --alcayaga-gold-dark: #8C6A3B;
  --alcayaga-gold-light: #E3D0A8;
  --alcayaga-cream: #FAF1E8;
  --alcayaga-mountain: #D7D2CB;
  --alcayaga-mountain-shadow: #BEB7AF;
}

/* 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: #1C3557;  /* The default color of the main navmenu links */
  --nav-hover-color: #C6A062; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #FAF1E8; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #FAF1E8; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #1C3557; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #C6A062; /* 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: #f1eeeb;
  --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: #FAF1E8;
  --default-color: #14181c;
  --heading-color: #14181c;
  --nav-color: #1C3557;
  color: var(--default-color);
  background-color: var(--background-color);
  border-bottom: 1px solid rgba(140, 106, 59, 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: 58px;
  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: #FAF1E8;
  --default-color: #14181c;
  --heading-color: #14181c;
  --nav-color: #1C3557;
  box-shadow: none;
  border-bottom: 1px solid rgba(140, 106, 59, 0.18);
}

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

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

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

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

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 13.5px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 500;
    letter-spacing: 0.14em;
    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: #FAF1E8;
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 0;
    border: 1px solid rgba(140, 106, 59, 0.18);
    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: #FAF1E8;
    border: 1px solid rgba(140, 106, 59, 0.22);
    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(198, 160, 98, 0.12);
  }

  .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: #0A1A30;
  color: rgba(250, 241, 232, 0.65);
  padding: 90px 0 28px;
  position: relative;
  overflow: hidden;
  font-family: var(--default-font);
}

.footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(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: var(--alcayaga-cream);
  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-column {
  width: 70px;
  height: auto;
  color: var(--alcayaga-gold-dark);
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: preloader-column-draw 1.6s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes preloader-column-draw {
  to { stroke-dashoffset: 0; }
}

.preloader-label {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--alcayaga-gold-dark);
  opacity: 0;
  animation: preloader-label-in 0.6s ease 1s forwards;
}

@keyframes preloader-label-in {
  to { opacity: 1; }
}

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

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

@media (max-width: 768px) {
  .hero h1,
  .hero h2 {
    font-size: 32px;
    letter-spacing: 2px;
  }

  .hero p {
    font-size: 13px;
    letter-spacing: 4px;
  }
}

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


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about-section {
  padding: 110px 0;
  background: var(--alcayaga-cream);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 40px;
  right: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(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: var(--heading-font);
  font-size: 23px;
  font-weight: 600;
  color: var(--alcayaga-navy);
  font-style: italic;
  letter-spacing: 0.4px;
}

.about-section .about-signature .signature-role {
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--alcayaga-gold-dark);
}

/* Profile CTA — link to trayectoria page */
.about-section .about-profile-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 13px 28px;
  background: transparent;
  border: 1.5px solid var(--alcayaga-navy);
  color: var(--alcayaga-navy);
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.4s ease;
}

.about-section .about-profile-cta i {
  font-size: 14px;
  transition: transform 0.4s ease;
}

.about-section .about-profile-cta:hover {
  background: var(--alcayaga-navy);
  color: var(--alcayaga-gold);
  border-color: var(--alcayaga-navy);
}

.about-section .about-profile-cta:hover i {
  transform: translateX(4px);
}

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

  .about-section .about-image {
    height: 440px;
  }

  .about-section .about-content {
    padding-left: 0;
    padding-top: 36px;
  }

  .about-section .about-title {
    font-size: 40px;
  }
}

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

  .about-section .about-image-wrap {
    padding: 16px 16px 0 0;
  }

  .about-section .about-image-frame {
    left: 16px;
    bottom: 28px;
  }

  .about-section .about-image {
    height: 340px;
  }

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

  .about-section .about-image-caption {
    bottom: -14px;
    left: 16px;
    font-size: 10px;
    padding: 10px 16px;
    letter-spacing: 0.18em;
  }

  .about-section .about-pillars {
    padding: 24px 0;
    gap: 18px;
  }

  .about-section .about-pillar .pillar-body h3 {
    font-size: 19px;
  }

  .about-section .about-hook {
    font-size: 18px;
    padding-left: 16px;
  }
}

/*--------------------------------------------------------------
# Process Section
--------------------------------------------------------------*/
.process-section {
  padding: 120px 0;
  background: 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: var(--alcayaga-cream);
  position: relative;
  overflow: hidden;
}

.honorarios-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(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: var(--alcayaga-cream);
  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: var(--alcayaga-cream);
  margin: 0;
}

/* HERO */
.profile-hero-section {
  padding: 130px 0 90px;
  background: var(--alcayaga-cream);
  position: relative;
  overflow: hidden;
}

.profile-hero-section::before {
  content: "";
  position: absolute;
  top: 40px;
  right: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(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: var(--alcayaga-cream);
  position: relative;
}

.profile-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 70px;
}

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

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

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

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

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

.profile-section-subtitle {
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.7;
  color: #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: var(--alcayaga-cream);
  position: relative;
  overflow: hidden;
}

.profile-philosophy-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(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;
  }
}

@media (max-width: 576px) {
  .profile-hero-section {
    padding: 100px 0 56px;
  }

  .profile-image {
    height: 340px;
  }

  .profile-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .profile-name-display {
    font-size: 28px;
  }

  .profile-title {
    font-size: 24px;
  }

  .profile-section-title {
    font-size: 28px;
  }

  .timeline-title {
    font-size: 22px;
  }

  .philosophy-quote {
    font-size: 21px;
  }

  .philosophy-quote-mark {
    font-size: 90px;
  }
}

/*--------------------------------------------------------------
# Gracias Page
--------------------------------------------------------------*/
body.gracias-page {
  background: var(--alcayaga-cream);
  margin: 0;
  min-height: 100vh;
}

.gracias-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}

.gracias-section::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(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: var(--alcayaga-cream);
  margin: 0;
  min-height: 100vh;
}

.error-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}

.error-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(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;
  }
}
