/* ================================================
   MAGNA — Escencia y Origen
   Premium Holistic Therapy Website
   ================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #E8E0D8;
  --bg-primary-rgb: 232, 224, 216;
  --bg-secondary: #B57F63;
  --bg-secondary-rgb: 181, 127, 99;
  --bg-elevated: #F5F0EB;
  --bg-terracotta-dark: #9A6B54;
  --bg-dark-rgb: 74, 58, 48;
  --accent-rgb: 139, 94, 69;
  --gold: #8B5E45;
  --gold-light: #A67C5B;
  --gold-on-dark: #F5EDE6;
  --text-primary: #2B261F;
  --text-secondary: #4A433C;
  --navbar-bg: rgba(255, 252, 248, 0.96);
  --logo-color-hero: #FFFFFF;
  --logo-nav-height: 88px;
  --logo-nav-height-scrolled: 68px;
  --logo-nav-ratio: 2.2917;
  --logo-footer-height: 72px;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #F0E8E2;
  --gold-gradient: linear-gradient(90deg, transparent, var(--gold), transparent);
  --gold-gradient-solid: linear-gradient(135deg, var(--gold), var(--gold-light));
  --image-warm-filter: sepia(0.28) saturate(0.82) brightness(1.06) hue-rotate(-8deg);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

input,
textarea,
select,
button {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

h1, h2, h3, h4, h5,
blockquote,
.testimonial-card p,
.testimonial-card-full blockquote {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Image shape utilities --- */
.arch-image {
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.arch-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oval-image {
  border-radius: 999px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.oval-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-image {
  border-radius: 8px;
  overflow: hidden;
}

.thumb-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold-light);
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

.accent-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
}

.section-subtitle {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
}

/* --- Gold Divider --- */
.divider {
  width: 100%;
  height: 1px;
  background: var(--gold-gradient);
  margin: 0;
}

.divider-short {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto;
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.35rem 0;
  transition: all 0.4s ease;
  background: var(--navbar-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.18);
  box-shadow: 0 1px 20px rgba(var(--bg-dark-rgb), 0.06);
}

.navbar.scrolled {
  padding: 1rem 0;
  box-shadow: 0 2px 24px rgba(var(--bg-dark-rgb), 0.12);
}

body.page-home .navbar:not(.scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

body.page-home .navbar:not(.scrolled) .navbar-menu a {
  color: var(--text-on-dark);
  font-weight: 600;
  text-shadow: 0 1px 10px rgba(var(--bg-dark-rgb), 0.65), 0 0 1px rgba(0, 0, 0, 0.35);
}

body.page-home .navbar:not(.scrolled) .navbar-menu a:hover,
body.page-home .navbar:not(.scrolled) .navbar-menu a.active {
  color: var(--gold-on-dark);
}

body.page-home .navbar:not(.scrolled) .btn-cta-nav {
  border-color: var(--text-on-dark);
  color: var(--text-on-dark) !important;
  text-shadow: 0 1px 10px rgba(var(--bg-dark-rgb), 0.4);
}

body.page-home .navbar:not(.scrolled) .btn-cta-nav:hover {
  background: var(--text-on-dark);
  color: #2B261F !important;
}

body.page-home .navbar:not(.scrolled) .hamburger span {
  background: var(--text-on-dark);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.navbar-logo-gold {
  display: block;
  height: var(--logo-nav-height);
  width: auto;
  max-height: 96px;
  transition: height 0.4s ease, opacity 0.3s ease;
}

.navbar-logo-light {
  display: none;
  height: var(--logo-nav-height);
  width: calc(var(--logo-nav-height) * var(--logo-nav-ratio));
  max-height: 96px;
  background-color: var(--logo-color-hero);
  -webkit-mask: url('../assets/img/logo-magna.svg') no-repeat center / contain;
  mask: url('../assets/img/logo-magna.svg') no-repeat center / contain;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 2px rgba(0, 0, 0, 0.3));
  transition: height 0.4s ease, width 0.4s ease;
}

body.page-home .navbar:not(.scrolled) .navbar-logo-gold {
  display: none;
}

body.page-home .navbar:not(.scrolled) .navbar-logo-light {
  display: block;
}

.navbar.scrolled .navbar-logo-gold {
  height: var(--logo-nav-height-scrolled);
}

.navbar.scrolled .navbar-logo-light {
  height: var(--logo-nav-height-scrolled);
  width: calc(var(--logo-nav-height-scrolled) * var(--logo-nav-ratio));
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
  line-height: 0;
}

.footer-logo-mark {
  display: block;
  height: var(--logo-footer-height);
  width: calc(var(--logo-footer-height) * var(--logo-nav-ratio));
  background-color: var(--logo-color-hero);
  -webkit-mask: url('../assets/img/logo-magna.svg') no-repeat center / contain;
  mask: url('../assets/img/logo-magna.svg') no-repeat center / contain;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.3));
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.navbar-menu a {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.navbar-menu a.active {
  color: var(--gold);
  font-weight: 700;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 100%;
}

.navbar-menu a:hover {
  color: var(--gold);
}

.btn-cta-nav {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 0.6rem 1.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-cta-nav:hover {
  background: var(--gold);
  color: var(--text-on-dark) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  width: 28px;
  height: 1.5px;
  background: var(--gold);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 4px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -4px);
}

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-image: url('../assets/img/hero-warm.png');
  background-size: cover;
  background-position: center;
  will-change: transform;
  filter: var(--image-warm-filter);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(var(--bg-secondary-rgb), 0.2) 0%,
    rgba(var(--bg-dark-rgb), 0.45) 55%,
    rgba(var(--bg-dark-rgb), 0.72) 100%
  );
}

.hero-content h1 {
  color: var(--text-on-dark);
}

.hero-content .section-subtitle {
  color: var(--gold-on-dark);
}

.hero-content p {
  color: var(--text-on-dark-muted);
}

#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-content .section-subtitle {
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-content .btn-primary {
  animation: fadeInUp 1s ease 0.8s both;
  color: var(--text-on-dark);
  border-color: var(--text-on-dark);
}

.hero-content .btn-primary::before {
  background: var(--text-on-dark);
}

.hero-content .btn-primary:hover {
  color: var(--bg-secondary);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s ease infinite;
}

.hero-scroll-indicator span {
  display: block;
  width: 20px;
  height: 32px;
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-indicator span::after {
  content: '';
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDot 2s ease infinite;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  padding: 1rem 3rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Raleway', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transition: left 0.4s ease;
  z-index: -1;
}

.btn-primary:hover {
  color: var(--text-on-dark);
}

.btn-primary:hover::before {
  left: 0;
}

.btn-whatsapp {
  background: #25D366;
  border-color: #25D366;
  color: #fff !important;
}

.btn-whatsapp::before {
  background: #128C7E;
}

.btn-whatsapp:hover {
  color: #fff !important;
  border-color: #128C7E;
}

/* ================================================
   WELCOME SECTION
   ================================================ */
.welcome {
  text-align: center;
  background: var(--bg-secondary);
}

.welcome h2 {
  margin-bottom: 1rem;
  color: var(--text-on-dark);
}

.welcome .section-subtitle {
  color: var(--gold-on-dark);
}

.welcome .divider-short {
  background: var(--text-on-dark);
}

.welcome p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--text-on-dark-muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

/* ================================================
   SERVICES CARDS
   ================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  transition: all 0.5s ease;
  background: var(--bg-elevated);
}

.service-card:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(var(--bg-dark-rgb), 0.1);
}

.service-card-img {
  width: 100%;
  position: relative;
}

.service-card-img img {
  transition: transform 0.6s ease;
  filter: var(--image-warm-filter);
}

.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(var(--bg-secondary-rgb), 0.25) 100%
  );
  pointer-events: none;
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card-content {
  padding: 2rem;
}

.service-card-content h3 {
  margin-bottom: 0.8rem;
  color: var(--text-primary);
  font-weight: 500;
}

.service-card-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-card-content .btn-link {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.service-card-content .btn-link:hover {
  gap: 1rem;
}

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials {
  position: relative;
  background: var(--bg-primary);
  overflow: hidden;
}

.testimonials::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/img/testimonios.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: var(--image-warm-filter);
  z-index: 0;
}

.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(var(--bg-secondary-rgb), 0.88);
  z-index: 1;
}

.testimonials .section-subtitle,
.testimonials h2 {
  color: var(--text-on-dark);
}

.testimonials .divider-short {
  background: var(--text-on-dark);
}

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

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: rgba(var(--bg-dark-rgb), 0.72);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  border-color: rgba(var(--gold-on-dark), 0.45);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--gold-on-dark);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  letter-spacing: 3px;
}

.testimonial-card p {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-on-dark);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(var(--bg-dark-rgb), 0.9);
  border: 1px solid rgba(232, 208, 138, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-on-dark);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
}

.testimonial-author-info h4 {
  font-size: 1rem;
  color: var(--gold-on-dark);
}

.testimonial-author-info span {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section {
  background: var(--bg-secondary);
  text-align: center;
}

.cta-section .section-subtitle {
  color: var(--gold-on-dark);
}

.cta-section h2 {
  margin-bottom: 1rem;
  color: var(--text-on-dark);
}

.cta-section p {
  color: var(--text-on-dark-muted);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

.cta-section .btn-primary,
.service-benefits .btn-primary {
  border-color: var(--text-on-dark);
  color: var(--text-on-dark);
}

.cta-section .btn-primary::before,
.service-benefits .btn-primary::before {
  background: var(--text-on-dark);
}

.cta-section .btn-primary:hover,
.service-benefits .btn-primary:hover {
  color: var(--bg-secondary);
}

.cta-section .divider-short {
  background: var(--text-on-dark);
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--bg-terracotta-dark);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer h4 {
  color: var(--gold-on-dark);
}

.footer-brand p,
.footer-links a,
.footer-contact p,
.footer-bottom p {
  color: var(--text-on-dark-muted);
}

.footer-links a:hover {
  color: var(--text-on-dark);
}

.footer-social a {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--gold-on-dark);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}


.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer h4 {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.1em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-contact p:last-of-type,
.contact-detail span,
.whatsapp-big span,
input[type="tel"] {
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--text-on-dark);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* ================================================
   ABOUT PAGE
   ================================================ */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  min-height: 80vh;
  padding-top: 6rem;
}

.about-text h1 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.about-text .section-subtitle {
  color: var(--gold);
  font-weight: 500;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.about-image {
  position: relative;
  height: auto;
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  transform: translate(15px, 15px);
  pointer-events: none;
}

.about-spot {
  max-width: 340px;
  margin-left: auto;
}

.about-spot .arch-image {
  width: 100%;
}

.about-spot .arch-image img,
.about-split-media .arch-image img {
  filter: var(--image-warm-filter);
}

.about-story-intro,
.about-story-outro {
  max-width: 800px;
  margin: 0 auto;
}

.about-story-intro p,
.about-story-outro p,
.about-split-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 300px);
  gap: 4rem;
  align-items: center;
  margin: 5rem auto;
  max-width: 1050px;
}

.about-split--reverse {
  grid-template-columns: minmax(220px, 300px) 1fr;
}

.about-split-media {
  margin: 0;
}

.about-split-media .arch-image {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.about-split--reverse .about-split-media .arch-image {
  margin-left: 0;
  margin-right: auto;
}

.about-split:not(.about-split--reverse) .about-split-media .arch-image {
  margin-left: auto;
  margin-right: 0;
}

.certifications {
  background: var(--bg-secondary);
}

.certifications .section-subtitle {
  color: var(--gold-on-dark);
}

.certifications h2 {
  color: var(--text-on-dark);
}

.certifications .divider-short {
  background: var(--text-on-dark);
}

.certifications .cert-list li {
  color: var(--text-on-dark-muted);
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.certifications .cert-list li::before {
  color: var(--gold-on-dark);
}

.cert-list {
  list-style: none;
  max-width: 600px;
  margin: 2rem auto 0;
}

.cert-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

.cert-list li::before {
  content: '\2726';
  color: var(--gold);
  font-size: 0.8rem;
}

.quote-section {
  text-align: center;
  padding: 6rem 0;
}

.quote-section blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--gold);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ================================================
   SERVICE DETAIL PAGE
   ================================================ */
.service-hero {
  position: relative;
  height: 60vh;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.service-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: var(--image-warm-filter);
}

.service-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(var(--bg-dark-rgb), 0.25) 0%,
    rgba(var(--bg-dark-rgb), 0.82) 100%
  );
}

.service-hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 4rem;
}

.service-hero-content h1,
.service-hero-content h2 {
  color: var(--text-on-dark);
}

.service-hero-content .section-subtitle {
  color: var(--gold-on-dark);
}

.service-detail {
  background: var(--bg-primary);
}

.service-detail-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 5rem;
  align-items: start;
}

.service-description p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.service-help-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-help-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.service-help-list li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.service-benefits {
  background: var(--bg-secondary);
  padding: 2.5rem;
  border: 1px solid rgba(var(--accent-rgb), 0.1);
  position: sticky;
  top: 120px;
}

.service-benefits h3 {
  color: var(--text-on-dark);
  margin-bottom: 1.5rem;
}

.service-benefits .benefits-list li {
  color: var(--text-on-dark-muted);
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.service-benefits .benefits-list li::before {
  color: var(--gold-on-dark);
}

.benefits-list {
  list-style: none;
}

.benefits-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.08);
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.benefits-list li::before {
  content: '\2726';
  color: var(--gold);
  font-size: 0.7rem;
  margin-top: 0.4rem;
  flex-shrink: 0;
}

.service-cta {
  margin-top: 2rem;
}

/* ================================================
   TESTIMONIALS PAGE
   ================================================ */
.testimonials-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card-full {
  background: var(--bg-secondary);
  border: 1px solid rgba(var(--accent-rgb), 0.1);
  padding: 3rem;
  transition: all 0.4s ease;
}

.testimonial-card-full:hover {
  border-color: rgba(var(--accent-rgb), 0.25);
}

.testimonial-card-full .testimonial-stars {
  margin-bottom: 1.5rem;
}

.testimonial-card-full blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(26, 23, 16, 0.5);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  color: var(--text-primary);
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A84C' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-group select option {
  background: var(--bg-secondary);
}

.contact-info {
  padding-top: 1rem;
}

.contact-info h3 {
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.whatsapp-big {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 3rem;
  background: #25D366;
  color: #fff !important;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-top: 2rem;
  transition: background 0.3s ease;
}

.whatsapp-big:hover {
  background: #128C7E;
  color: #fff !important;
}

/* ================================================
   PAGE HEADER (inner pages)
   ================================================ */
.page-header {
  padding: 10rem 0 4rem;
  text-align: center;
  background: var(--bg-secondary);
  position: relative;
}

.page-header h1,
.page-header .section-subtitle {
  color: var(--text-on-dark);
  position: relative;
  z-index: 2;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header--media {
  background: var(--bg-secondary);
  overflow: hidden;
}

.page-header--testimonios::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/img/testimonios.png');
  background-size: cover;
  background-position: center;
  filter: var(--image-warm-filter);
  z-index: 0;
}

.page-header--media::before,
.page-header--testimonios::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(var(--bg-secondary-rgb), 0.88);
  z-index: 1;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-gradient);
}

/* ================================================
   ANIMATIONS
   ================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes scrollDot {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 18px; }
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-hero {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image {
    height: auto;
  }

  .about-split,
  .about-split--reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin: 3.5rem auto;
  }

  .about-split-media .arch-image {
    max-width: 260px;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .about-spot {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .service-detail-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .service-benefits {
    position: static;
  }

  .testimonials-page-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: rgba(var(--bg-primary-rgb), 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: right 0.4s ease;
    border-left: 1px solid rgba(var(--accent-rgb), 0.1);
  }

  .navbar-menu.active {
    right: 0;
  }

  .navbar-menu a {
    color: var(--text-primary);
    font-weight: 600;
  }

  .navbar-menu a:hover,
  .navbar-menu a.active {
    color: var(--gold);
    font-weight: 700;
  }

  .navbar .btn-cta-nav {
    border-color: var(--gold);
    color: var(--gold) !important;
    font-weight: 600;
  }

  .hamburger {
    display: flex;
  }

  :root {
    --logo-nav-height: 64px;
    --logo-nav-height-scrolled: 54px;
    --logo-footer-height: 60px;
  }

  .navbar {
    padding: 1.1rem 0;
  }

  .navbar.scrolled {
    padding: 0.85rem 0;
  }

  .section {
    padding: 5rem 0;
  }

  .hero {
    min-height: 600px;
  }

  .about-hero {
    padding-top: 8rem;
  }

  .about-image::after {
    display: none;
  }

  .about-spot {
    max-width: 280px;
  }

  .about-split {
    margin: 3rem auto;
  }

  .about-split-media .arch-image {
    max-width: 240px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.2rem;
  }

  .btn-primary {
    padding: 0.9rem 2rem;
    font-size: 0.78rem;
  }
}

/* Mobile menu overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}
