/* ============================================================
   LITTLEFIELD MANOR RIDING SCHOOL — Design System
   Palette: Forest Green / Warm Ivory / Dark Gold
   Typography: Instrument Serif (headings) / DM Sans (body)
   ============================================================ */

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

:root {
    --green:        #2a5c3d;
    --green-dark:   #1e4530;
    --green-light:  #e8f0eb;
    --gold:         #b8860b;
    --gold-light:   #f5e8c0;
    --ivory:        #f5f0e8;
    --ivory-dark:   #ece5d8;
    --ink:          #1c1c1c;
    --muted:        #8a7b6a;
    --divider:      #dbd4c7;
    --card:         #ffffff;
    --shadow-sm:    rgba(42,92,61,0.06);
    --shadow-md:    rgba(42,92,61,0.12);
    --radius:       12px;
    --radius-lg:    20px;
}

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

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--ivory);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garant', serif;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { line-height: 1.75; color: #3d3530; }

.eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--gold);
}

em { font-style: italic; color: var(--green); }

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

.container-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 2rem;
}

section { padding: 4.5rem 0; }
section.tight { padding: 3rem 0; }

/* ---------- NAVIGATION ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    background: rgba(42, 92, 61, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
    background: rgba(30, 69, 48, 0.96);
    box-shadow: 0 1px 0 rgba(0,0,0,0.2);
    padding: 0.9rem 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    padding: 6px;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-logo-name {
    font-family: 'Cormorant Garant', serif;
    font-size: 1rem;
    color: white;
}

.nav-logo-sub {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.65);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0; right: 0;
    height: 1px;
    background: rgba(255,255,255,0.6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-links a:hover { color: white; }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-links a.nav-active {
    color: white;
    font-weight: 600;
}
.nav-links a.nav-active::after {
    transform: scaleX(1);
    background: var(--gold);
}

.nav-cta {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    background: white;
    color: var(--green);
    border-radius: 100px;
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--ivory);
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--ivory);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
    font-family: 'Cormorant Garant', serif;
    font-size: 2rem;
    color: var(--ink);
    transition: color 0.2s ease;
}

.mobile-menu a:hover { color: var(--green); }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: 100px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}
.btn:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

.btn-primary {
    background: var(--green);
    color: white;
    box-shadow: 0 4px 16px rgba(42,92,61,0.25);
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(42,92,61,0.3);
}
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
    background: white;
    color: var(--green);
    border: 1.5px solid var(--green);
}

.btn-secondary:hover {
    background: var(--green-light);
    transform: translateY(-2px);
}
.btn-secondary:active { transform: scale(0.97); }

.btn-gold {
    background: var(--gold);
    color: white;
    box-shadow: 0 4px 16px rgba(184,134,11,0.25);
}

.btn-gold:hover {
    background: #9a6f09;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184,134,11,0.3);
}
.btn-gold:active { transform: scale(0.97); }

.btn-ghost {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    transform: translateY(-2px);
}
.btn-ghost:active { transform: scale(0.97); }

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
    background: var(--green);
    padding: 1rem 0;
    overflow: hidden;
}

.trust-bar-inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 3rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 0.3rem 0;
}

.trust-item svg {
    flex-shrink: 0;
    opacity: 0.8;
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
    margin-bottom: 2.5rem;
}

.section-header .eyebrow {
    display: block;
    margin-bottom: 0.75rem;
}

.section-header p {
    max-width: 560px;
    margin-top: 1rem;
    font-size: 1.05rem;
}

.section-header.center {
    text-align: center;
}

.section-header.center p {
    margin: 1rem auto 0;
}

/* ---------- CARDS ---------- */
.card {
    background: var(--card);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px var(--shadow-md);
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    background: var(--ivory-dark);
}

.card-body {
    padding: 1.75rem;
}

.card-body h3 {
    margin-bottom: 0.5rem;
}

.card-body p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

/* ---------- GRID SYSTEMS ---------- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

.grid-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* ---------- TESTIMONIALS ---------- */
.testimonial-card {
    background: var(--card);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    padding: 2rem 2rem 2rem 2.25rem;
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(to bottom, var(--green), #7baa8a);
    border-radius: 4px 0 0 4px;
}

.testimonial-stars {
    color: #c49a3c;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.testimonial-quote {
    font-family: 'Cormorant Garant', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--ink);
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
}

/* ---------- PRICE TABLE ---------- */
.price-table {
    background: var(--card);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.price-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1.1rem 1.75rem;
    border-bottom: 1px solid var(--divider);
    transition: background 0.15s ease;
}

.price-row:last-child { border-bottom: none; }
.price-row:hover { background: var(--ivory); }

.price-name { font-weight: 600; font-size: 0.95rem; }
.price-duration { font-size: 0.82rem; color: var(--muted); }
.price-amount {
    font-family: 'Cormorant Garant', serif;
    font-size: 1.4rem;
    color: var(--green);
    text-align: right;
}

/* ---------- HERO (homepage) ---------- */
.hero {
    position: relative;
    height: 100vh;
    height: 100svh; /* iOS: avoid address-bar jump / cut-off */
    min-height: 640px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: saturate(0.8) brightness(0.52);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(15,30,20,0.72) 0%, rgba(15,30,20,0.25) 60%, transparent 100%),
        linear-gradient(to bottom, rgba(15,30,20,0.2) 0%, rgba(15,30,20,0.05) 40%, rgba(15,30,20,0.55) 100%);
    z-index: 1;
}

.hero-eyebrow-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 7rem 4rem 0;
    max-width: 720px;
    margin: 0;
    width: 100%;
    font-size: 0.65rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.hero-line {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.28);
    display: block;
}

.hero-line:first-child { display: none; }

.hero-title-wrap {
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 0 4rem;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    margin: 0;
}

.hero-title-top {
    font-family: 'Cormorant Garant', serif;
    font-size: clamp(3.2rem, 8.5vw, 7rem);
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: white;
    line-height: 1;
    display: block;
}

.hero-title-bottom {
    font-family: 'Cormorant Garant', serif;
    font-size: clamp(2rem, 5vw, 4.2rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(255,255,255,0.82);
    line-height: 1;
    display: block;
    letter-spacing: 0.06em;
}

.hero-bottom-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 0 4rem 4rem;
    max-width: 680px;
    margin: 0;
    width: 100%;
}

.hero-desc {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.72);
    max-width: 360px;
    line-height: 1.75;
    margin: 0;
}

.hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gold);
    color: white;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 100px;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 20px rgba(184,134,11,0.3);
    flex-shrink: 0;
    text-decoration: none;
}

.hero-cta:hover {
    background: #9a6f09;
    transform: translateY(-2px);
}

.hero-cta svg {
    width: 15px;
    height: 15px;
    stroke: white;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pulse-ring {
    position: absolute;
    inset: -5px;
    border-radius: 100px;
    border: 2px solid rgba(184,147,74,0.5);
    animation: pulse-anim 2s ease-out infinite;
    pointer-events: none;
}

@keyframes pulse-anim {
    0%   { transform: scale(1);    opacity: 1; }
    100% { transform: scale(1.16); opacity: 0; }
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
    padding: 10rem 0 7rem;
    background: var(--green-dark);
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: var(--ivory);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero h1 { color: white; margin-bottom: 0.75rem; }
.page-hero .eyebrow { color: #a8d5b5; margin-bottom: 1rem; display: block; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 560px; }

/* ---------- ABOUT SPLIT ---------- */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img-wrap {
    position: relative;
}

.about-img-wrap img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-badge {
    position: absolute;
    bottom: 1.5rem;
    right: -1.5rem;
    background: var(--green);
    color: white;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 8px 24px rgba(42,92,61,0.3);
}

.about-badge-number {
    font-family: 'Cormorant Garant', serif;
    font-size: 2.2rem;
    line-height: 1;
    display: block;
}

.about-badge-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.85;
    white-space: nowrap;
}

.credential-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.credential-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #3d3530;
}

.credential-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
}

/* ---------- GALLERY GRID ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius);
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}

.gallery-grid .tall {
    grid-row: span 2;
}

.gallery-grid .tall img {
    height: 100%;
    min-height: 460px;
}

/* ---------- WHATSAPP BUTTON ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 28px rgba(37,211,102,0.5);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: white;
}

/* ---------- CONTACT FORM ---------- */
.contact-form {
    background: var(--card);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--divider);
    border-radius: var(--radius);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px; /* 16px min stops iOS auto-zoom on focus */
    color: var(--ink);
    background: var(--ivory);
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    background: white;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ---------- GIFT VOUCHER BANNER ---------- */
.voucher-banner {
    background: var(--green);
    border-radius: var(--radius-lg);
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.voucher-banner::before {
    content: '🎁';
    position: absolute;
    right: 4rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8rem;
    opacity: 0.07;
    pointer-events: none;
}

.voucher-banner h3 { color: white; margin-bottom: 0.5rem; }
.voucher-banner p { color: rgba(255,255,255,0.8); font-size: 0.92rem; }

/* ---------- INFO CARD ---------- */
.info-card {
    background: var(--card);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.info-card h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--divider);
}

.info-row {
    display: flex;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 0.88rem;
    color: #3d3530;
    border-bottom: 1px solid var(--divider);
}

.info-row:last-child { border-bottom: none; }

.info-label {
    font-weight: 600;
    color: var(--ink);
    min-width: 100px;
    flex-shrink: 0;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--ink);
    color: rgba(255,255,255,0.75);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 2rem;
}

.footer-brand img {
    width: 44px;
    height: 44px;
    background: var(--green);
    border-radius: 50%;
    padding: 7px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.87rem;
    line-height: 1.7;
    max-width: 260px;
}

.footer-col h5 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-col ul a {
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.footer-col ul a:hover { color: white; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.4); }

.footer-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.footer-phone:hover { color: white; }

/* ---------- UTILITY ---------- */
.text-green { color: var(--green); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.divider-line {
    width: 48px;
    height: 2px;
    background: var(--gold);
    margin: 1.5rem 0;
}

.divider-line.center { margin: 1.5rem auto; }

/* ---------- FEATURED CARD ---------- */
.card--featured {
    background: var(--green-dark);
    border-color: var(--green-dark);
}

.card--featured .card-body h3,
.card--featured .card-body p {
    color: white;
}

.card--featured .card-body p { color: rgba(255,255,255,0.78); }

.card--featured .eyebrow { color: #a8d5b5; }

.card--featured .text-green {
    color: #a8d5b5;
}

/* ---------- GALLERY FULL (gallery.html) ---------- */
.gallery-full {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 0.75rem;
}

.gallery-full .gallery-item {
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    position: relative;
}

.gallery-full .gallery-item.tall { grid-row: span 2; }

.gallery-full .gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    display: block;
    will-change: transform;
}

.gallery-full .gallery-item.tall img { height: 100%; min-height: 540px; }

@media (hover: hover) and (pointer: fine) {
    .gallery-full .gallery-item img { transition: transform 0.4s cubic-bezier(0.25, 0, 0, 1); }
    .gallery-full .gallery-item:hover img { transform: scale(1.04); }
}

/* ---------- SCROLL ANIMATIONS (GSAP targets) ---------- */
.reveal { opacity: 0; transform: translateY(30px); }
.reveal-left { opacity: 0; transform: translateX(-30px); }
.reveal-right { opacity: 0; transform: translateX(30px); }
.reveal-scale { opacity: 0; transform: scale(0.95); }

/* ---------- STICKY MOBILE ACTION BAR ---------- */
.mobile-action-bar { display: none; }

@media (max-width: 768px) {
    .mobile-action-bar {
        display: flex;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 150;
        gap: 0.5rem;
        background: #fff;
        border-top: 1px solid var(--divider);
        box-shadow: 0 -4px 20px rgba(0,0,0,0.10);
        padding: 0.5rem 0.6rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
    }
    .mab-btn {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.2rem;
        padding: 0.45rem 0.25rem;
        border-radius: 10px;
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 0.01em;
        text-decoration: none;
        color: var(--green-dark);
        background: var(--ivory-dark);
    }
    .mab-btn svg { width: 19px; height: 19px; }
    .mab-btn.mab-wa { color: #128C7E; }
    .mab-btn.mab-book { flex: 1.45; background: var(--green); color: #fff; }
    .mab-btn.mab-book svg { stroke: #fff; }

    /* the standalone WhatsApp float is now inside the bar */
    .whatsapp-float { display: none !important; }

    /* keep page content clear of the fixed bar */
    body { padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    section { padding: 4rem 0; }
    .container { padding: 0 1.25rem; }

    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: flex; }

    .hero-title-top { letter-spacing: 0.1em; }
    .hero-eyebrow-wrap, .hero-title-wrap, .hero-bottom-wrap { padding-left: 1.5rem; padding-right: 1.5rem; }
    .hero-bottom-wrap { padding-bottom: 2.5rem; }

    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-2-1 { grid-template-columns: 1fr; }
    .about-split { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-badge { right: 1rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-full { grid-template-columns: 1fr 1fr; }
    .gallery-full .gallery-item.tall { grid-row: span 1; }
    .gallery-full .gallery-item.tall img { min-height: 260px; }
    .voucher-banner { grid-template-columns: 1fr; }
    .voucher-banner::before { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .page-hero { padding: 8rem 0 5rem; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-full { grid-template-columns: 1fr; }
    .trust-bar-inner { flex-direction: column; gap: 0.5rem; }
    .price-row { grid-template-columns: 1fr auto; }
    .price-duration { display: none; }
}

/* ---------- PRINT ---------- */
@media print {
    .nav, .whatsapp-float, .footer { display: none; }
    body { background: white; }
}
