/* ============================================================
   Chiangmai Academy - Luxury Thai Spa theme (v2)
   Brown + gold + floral. Pinyon Script titles, Jost body.
   ============================================================ */

@font-face {
    font-family: 'Pinyon Script';
    src: url('../fonts/PinyonScript-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Legacy aliases kept so older rules inherit the new look */
    --primary-gold: #c8a24a;
    --primary-gold-dark: #a8843a;
    --text-dark: #2a2620;
    --text-light: #6b6457;
    --bg-white: #ffffff;
    --bg-light: #f7f3ea;

    /* Spa tokens */
    --gold: #c9a24a;
    --gold-bright: #e3c987;
    --gold-dark: #a8843a;
    --gold-soft: #f3e4c2;
    --cream: #efe8da;
    --cream-deep: #e7ddc8;
    --brown: #4a3a2e;
    --brown-deep: #3c2f25;
    --ink: #221a13;

    --border-color: #e3dccb;
    --shadow: 0 6px 24px rgba(34, 26, 19, 0.10);
    --shadow-lg: 0 18px 48px rgba(34, 26, 19, 0.20);

    --font-script: 'Pinyon Script', 'Cormorant Garamond', cursive;
    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --header-h: 96px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

body.page-default {
    padding-top: var(--header-h);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================== Gold decorative stripe ===================== */
/* Reusable gold "teeth" fringe built purely with CSS gradients. */
.gold-stripe,
.brown-section::before,
.brown-section::after {
    background-color: var(--brown);
    background-image:
        linear-gradient(135deg, var(--gold) 0, var(--gold) 25%, transparent 25%),
        linear-gradient(225deg, var(--gold) 0, var(--gold) 25%, transparent 25%);
    background-size: 22px 22px;
    background-position: center top;
    background-repeat: repeat-x;
}

/* ===================== Header ===================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: var(--brown);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
    transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

/* Transparent overlay when sitting over a hero image */
body.has-hero .site-header {
    position: absolute;
    background: linear-gradient(to bottom, rgba(20, 15, 10, 0.55), rgba(20, 15, 10, 0));
    box-shadow: none;
    padding: 22px 0;
}

body.has-hero .site-header.scrolled {
    position: fixed;
    background: var(--brown);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
    padding: 12px 0;
}

.site-header__inner {
    width: min(1320px, 94%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
}

.site-header__left { justify-self: start; }
.site-header__center { justify-self: center; }
.site-header__right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand-script {
    font-family: var(--font-script);
    font-size: clamp(26px, 3vw, 38px);
    color: var(--gold-soft);
    text-decoration: none;
    line-height: 1;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    transition: color 0.3s;
}

.brand-script:hover { color: var(--gold-bright); }

.brand-logo img {
    height: 104px;
    width: auto;
    display: block;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.35));
    transition: height 0.35s ease;
}

.site-header.scrolled .brand-logo img { height: 70px; }

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.04em;
    transition: color 0.3s;
}

.header-phone svg { color: var(--gold); width: 18px; height: 18px; }
.header-phone:hover { color: var(--gold-soft); }

.header-social {
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    transition: color 0.3s, transform 0.3s;
}

.header-social:hover { color: #fff; transform: translateY(-2px); }

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

.menu-toggle span {
    width: 26px;
    height: 2px;
    background-color: var(--gold-soft);
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ===================== Slide-in nav drawer ===================== */
.main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 330px;
    max-width: 86vw;
    height: 100vh;
    background: var(--brown-deep);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1001;
    padding-top: 104px;
    overflow-y: auto;
}

.main-nav.active { transform: translateX(0); }

.nav-menu { list-style: none; padding: 0; }

.nav-menu li { border-bottom: 1px solid rgba(243, 228, 194, 0.12); }

.nav-menu a {
    display: block;
    padding: 16px 30px;
    color: var(--gold-soft);
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0.06em;
    transition: background-color 0.3s, color 0.3s, padding-left 0.3s;
}

.nav-menu a:hover {
    background-color: rgba(243, 228, 194, 0.07);
    color: #fff;
    padding-left: 38px;
}

/* ===================== Hero ===================== */
.hero-section {
    position: relative;
    height: 92vh;
    min-height: 560px;
    background-color: var(--ink);
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* parallax scroll effect */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 15, 10, 0.82) 0%, rgba(20, 15, 10, 0.55) 55%, rgba(20, 15, 10, 0.68) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-script);
    font-size: clamp(52px, 9vw, 104px);
    font-weight: 400;
    margin-bottom: 18px;
    line-height: 1.05;
    color: #fff;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.5);
}

.hero-content::after {
    content: "";
    display: block;
    width: 86px;
    height: 2px;
    margin: 22px auto 0;
    background: var(--gold);
}

.btn-hero {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 38px;
    background-color: var(--gold);
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-family: var(--font-body);
}

.btn-hero:hover { background-color: #fff; transform: translateY(-2px); }

/* ===================== Flash Messages ===================== */
.flash-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
}

.flash-message {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease-out;
    color: #fff;
}

@keyframes slideIn {
    from { transform: translateX(400px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.flash-success { background-color: #4a7c59; }
.flash-error { background-color: #b5524b; }
.flash-info { background-color: #8a7a52; }

.flash-close {
    background: none; border: none; color: #fff;
    font-size: 24px; cursor: pointer; margin-left: 15px; opacity: 0.85;
}
.flash-close:hover { opacity: 1; }

/* ===================== Section titles ===================== */
.section-title {
    font-family: var(--font-script);
    font-size: clamp(42px, 6vw, 78px);
    font-weight: 400;
    text-align: center;
    margin-bottom: 48px;
    color: var(--brown);
    position: relative;
    padding-bottom: 22px;
    line-height: 1.1;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 72px;
    height: 2px;
    background: var(--gold);
}

/* ===================== Floral (former cream) sections ===================== */
.testimonials-section,
.wellness-section,
.contact-section {
    padding: 100px 0;
    background-color: var(--cream);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.testimonials-section { background-image: url('../images/flores-fondo-1.png'); }
.wellness-section { background-image: url('../images/flores-fondo-2.png'); }
.contact-section { background-image: url('../images/flores-fondo-1.png'); }

.testimonials-header { text-align: center; margin-bottom: 50px; }

.testimonials-header h2 {
    font-family: var(--font-script);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    margin-bottom: 18px;
    color: var(--brown);
}

.rating-badge { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 12px; }
.rating-stars { font-size: 24px; color: var(--gold-dark); letter-spacing: 3px; }
.rating-text { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rating-text strong { font-size: 16px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dark); }
.rating-text span { font-size: 14px; color: var(--text-light); }
.trustindex-note { font-size: 12px; color: var(--text-light); font-style: italic; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(2px);
    padding: 36px 32px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.testimonial-text { margin-bottom: 20px; }
.testimonial-text p { font-size: 17px; line-height: 1.7; color: var(--text-dark); font-style: italic; }
.testimonial-author { display: flex; flex-direction: column; gap: 4px; padding-top: 18px; border-top: 1px solid var(--border-color); }
.testimonial-author strong { font-size: 14px; letter-spacing: 0.04em; color: var(--gold-dark); }
.testimonial-author span { font-size: 12px; color: var(--text-light); }

/* ===================== Brown (former white) sections ===================== */
.wisdom-section,
.courses-section {
    position: relative;
    padding: 110px 0;
    background-color: var(--brown);
    color: var(--cream);
}

/* Gold teeth fringe top & bottom */
.wisdom-section::before, .wisdom-section::after,
.courses-section::before, .courses-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 16px;
    background-color: var(--brown);
    background-image:
        linear-gradient(135deg, var(--gold) 0, var(--gold) 25%, transparent 25%),
        linear-gradient(225deg, var(--gold) 0, var(--gold) 25%, transparent 25%);
    background-size: 22px 22px;
    background-repeat: repeat-x;
    z-index: 2;
}

.wisdom-section::before, .courses-section::before { top: 0; background-position: center top; }
.wisdom-section::after, .courses-section::after { bottom: 0; transform: scaleY(-1); background-position: center top; }

.wisdom-section .section-title,
.courses-section .section-title { color: var(--gold-soft); }

.wisdom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.wisdom-item { text-align: center; }

.wisdom-image {
    width: 100%;
    height: 260px;
    background: linear-gradient(150deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    overflow: hidden;
    position: relative;
}

.wisdom-image::after, .wellness-image::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    pointer-events: none;
}

.wisdom-image img, .wellness-image img { width: 100%; height: 100%; object-fit: cover; }

.wisdom-item h3 {
    font-size: 23px;
    font-weight: 600;
    color: var(--gold-soft);
    margin-top: 16px;
}

/* Single-image content blocks */
.content-block-image {
    max-width: 900px;
    margin: 30px auto 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(201, 162, 74, 0.4);
}

.content-block-image img { width: 100%; height: auto; display: block; }

/* Page hero (subpage title band) -> brown title section */
.page-hero {
    position: relative;
    padding: 70px 0 56px;
    background-color: var(--brown);
    text-align: center;
}

.page-hero::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 16px;
    background-color: var(--brown);
    background-image:
        linear-gradient(135deg, var(--gold) 0, var(--gold) 25%, transparent 25%),
        linear-gradient(225deg, var(--gold) 0, var(--gold) 25%, transparent 25%);
    background-size: 22px 22px;
    background-repeat: repeat-x;
    transform: scaleY(-1);
}

.page-hero .section-title { margin-bottom: 0; color: var(--gold-soft); }

.section-intro { text-align: center; color: var(--text-light); margin: 4px auto 30px; max-width: 720px; font-size: 18px; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-grid .content-block-image { max-width: none; margin: 0; }

.gallery-item {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s, box-shadow 0.4s;
    aspect-ratio: 4/3;
    background: var(--cream-deep);
}

.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.image-placeholder {
    color: #fff;
    font-weight: 500;
    text-align: center;
    padding: 20px;
    font-size: 18px;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

/* ===================== Wellness cards ===================== */
.wellness-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 36px;
}

.wellness-item {
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: transform 0.4s, box-shadow 0.4s;
}

.wellness-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.wellness-image {
    width: 100%;
    height: 210px;
    background: linear-gradient(150deg, var(--gold) 0%, var(--gold-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.wellness-item h3 { font-size: 26px; font-weight: 600; margin: 26px 28px 14px; color: var(--text-dark); }
.wellness-item p { font-size: 16px; color: var(--text-light); margin: 0 28px 20px; line-height: 1.7; }

.wellness-link {
    display: inline-block;
    margin: 0 28px 28px;
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 3px;
    transition: color 0.3s, border-color 0.3s;
}

.wellness-link:hover { color: var(--brown); border-color: var(--brown); }

/* ===================== Courses ===================== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.course-card {
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 74, 0.35);
    box-shadow: var(--shadow);
    transition: transform 0.4s, box-shadow 0.4s;
    display: flex;
    flex-direction: column;
}

.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.course-image { width: 100%; height: 220px; overflow: hidden; background-color: var(--cream-deep); }
.course-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.course-card:hover .course-image img { transform: scale(1.05); }

.course-carousel { position: relative; width: 100%; height: 100%; }
.carousel-track { width: 100%; height: 100%; position: relative; }

.carousel-slide {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.carousel-slide.active { opacity: 1; pointer-events: auto; }

.carousel-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; border: none; border-radius: 50%;
    background: rgba(34, 26, 19, 0.55); color: var(--gold-soft);
    font-size: 18px; line-height: 1; cursor: pointer; z-index: 2;
    display: flex; align-items: center; justify-content: center; transition: background 0.3s;
}
.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }
.carousel-arrow:hover { background: var(--gold); color: var(--ink); }

.course-card .course-header { padding: 24px 30px 0; }
.course-card .course-description { padding: 0 30px; }
.course-card .btn { margin: 20px 30px 30px; }

.course-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; gap: 15px; }
.course-header h3 { font-size: 25px; font-weight: 600; color: var(--text-dark); flex: 1; }
.course-price { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--gold-dark); white-space: nowrap; }
.course-description { font-size: 16px; color: var(--text-light); line-height: 1.7; margin-bottom: 24px; min-height: 60px; }
.course-card .btn { width: auto; text-align: center; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--gold-soft); font-size: 18px; }

/* ===================== Contact ===================== */
.contact-content { margin-top: 40px; }

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-info .info-item:nth-child(4) { grid-column: span 3; max-width: 420px; margin: 0 auto; }

@media (max-width: 1024px) {
    .contact-info { grid-template-columns: repeat(2, 1fr); }
    .contact-info .info-item:nth-child(4) { grid-column: span 2; max-width: none; }
}

.info-item {
    background-color: rgba(255, 255, 255, 0.92);
    padding: 32px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.info-item h3 { font-size: 21px; font-weight: 600; margin-bottom: 14px; color: var(--text-dark); }
.info-item p { font-size: 16px; line-height: 1.8; color: var(--text-light); margin: 0; }
.info-item a { color: var(--gold-dark); text-decoration: none; transition: color 0.3s; }
.info-item a:hover { color: var(--brown); }

/* ===================== Registration / Forms ===================== */
.registration-card { background-color: #fff; padding: 44px; border-radius: 4px; border: 1px solid var(--border-color); box-shadow: var(--shadow); }
.registration-card h3 { font-size: 30px; font-weight: 600; margin-bottom: 14px; color: var(--text-dark); }
.registration-description { font-size: 16px; color: var(--text-light); margin-bottom: 30px; line-height: 1.7; }
.registration-form { margin-top: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--text-dark); font-size: 14px; letter-spacing: 0.03em; }

.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fff;
    color: var(--text-dark);
}

.form-control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.2); }

.checkbox-group label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; line-height: 1.5; cursor: pointer; }
.checkbox-group input[type="checkbox"] { margin-top: 3px; cursor: pointer; accent-color: var(--gold-dark); }

.price-display { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; background-color: var(--cream); border: 1px solid var(--border-color); border-radius: 4px; margin: 25px 0; }
.price-label { font-size: 17px; font-weight: 500; color: var(--text-dark); }
.price-amount { font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--gold-dark); }

/* ===================== Buttons ===================== */
.btn {
    display: inline-block;
    padding: 13px 32px;
    border: 1px solid transparent;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    font-family: var(--font-body);
}

.btn-primary { background-color: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-primary:hover { background-color: var(--gold-dark); border-color: var(--gold-dark); color: #fff; transform: translateY(-2px); }

.btn-secondary { background-color: transparent; color: var(--gold-dark); border-color: var(--gold); }
.btn-secondary:hover { background-color: var(--gold); color: var(--ink); transform: translateY(-2px); }
.btn-secondary.is-selected { background-color: var(--ink); color: var(--gold-soft); border-color: var(--ink); }

/* On brown sections the ghost button must read on dark */
.courses-section .btn-secondary { color: var(--gold-soft); border-color: var(--gold); }
.courses-section .btn-secondary:hover { background-color: var(--gold); color: var(--ink); }

.btn-large { width: 100%; padding: 16px; font-size: 14px; }
.form-note { margin-top: 15px; font-size: 14px; color: var(--text-light); text-align: center; line-height: 1.5; }

/* ===================== Footer ===================== */
.footer {
    background-color: var(--brown-deep);
    color: rgba(255, 255, 255, 0.85);
    padding: 64px 0 30px;
}

.footer-logo { text-align: center; margin-bottom: 48px; }
.footer-logo img { height: 140px; width: auto; display: inline-block; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.3)); }

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 44px;
}

.footer-section h4 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--gold);
    letter-spacing: 0.04em;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold-bright); }

.footer-social { display: flex; flex-direction: column; gap: 10px; }
.footer-social a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-social a:hover { color: var(--gold-bright); }

.footer-acreditacion { margin-top: 8px; max-width: 180px; background: #fff; padding: 10px; border-radius: 4px; }
.footer-acreditacion img { width: 100%; height: auto; display: block; }

.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.footer-bottom p { margin: 5px 0; font-size: 13px; color: rgba(255, 255, 255, 0.65); letter-spacing: 0.02em; }

/* ===================== Responsive ===================== */
@media (max-width: 1024px) {
    .contact-info { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    :root { --header-h: 80px; }
    .site-header__right { gap: 12px; }
    .header-phone span { display: none; }
    .brand-script { font-size: 22px; }
    .brand-logo img { height: 72px; }
    .testimonials-grid, .wisdom-grid, .wellness-grid { grid-template-columns: 1fr; }
    .contact-info .info-item:nth-child(4) { grid-column: span 2; max-width: none; }
    .registration-card { padding: 30px 20px; }
    .footer-content { grid-template-columns: 1fr; gap: 30px; }
    .hero-section { height: 80vh; min-height: 460px; background-attachment: scroll; }
    .testimonials-section, .wellness-section, .courses-section, .contact-section, .wisdom-section { padding: 70px 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .brand-script { font-size: 18px; }
    .site-header__right { gap: 10px; }
}
