/* ==========================================================================
   BYS – Battaglia Yacht Supplier
   Main Stylesheet
   Design: luxury / yachting / Mediterranean
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (design tokens)
   -------------------------------------------------------------------------- */
:root {
    /* Colours */
    --color-navy:      #071C2F;
    --color-navy-deep: #0E2F4F;
    --color-gold:      #C8A96A;
    --color-gold-light:#D9BC8A;
    --color-white:     #F8F5EF;
    --color-grey:      #E8E2D8;
    --color-text:      #1D1D1D;
    --color-text-muted:#5C5C5C;
    --color-overlay:   rgba(7, 28, 47, 0.72);

    /* Typography */
    --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-sans:  'Inter', 'Lato', system-ui, sans-serif;

    /* Spacing */
    --space-xs:  0.5rem;
    --space-sm:  1rem;
    --space-md:  2rem;
    --space-lg:  4rem;
    --space-xl:  7rem;

    /* Layout */
    --container-max: 1200px;
    --header-height: 72px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 0.3s;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.section {
    padding-block: var(--space-xl);
}

.section--alt {
    background-color: var(--color-grey);
}

.section--dark {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.section--navy {
    background-color: var(--color-navy-deep);
    color: var(--color-white);
}

.section-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 400;
    line-height: 1.2;
    color: inherit;
    margin-bottom: var(--space-md);
}

.section-title--light {
    color: var(--color-white);
}

.section-text {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 640px;
    line-height: 1.8;
}

.section-text--light {
    color: rgba(248, 245, 239, 0.82);
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background-color var(--duration) var(--ease),
                color var(--duration) var(--ease),
                transform var(--duration) var(--ease),
                box-shadow var(--duration) var(--ease);
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-navy);
}

.btn-primary:hover {
    background-color: var(--color-gold-light);
    box-shadow: 0 8px 24px rgba(200, 169, 106, 0.35);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(200, 169, 106, 0.6);
}

.btn-outline:hover {
    background-color: var(--color-gold);
    color: var(--color-navy);
    border-color: var(--color-gold);
}

.btn-wa {
    background-color: #25D366;
    color: #fff;
    border-radius: 0;
}

.btn-wa:hover {
    background-color: #1ebe5d;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.icon-wa {
    width: 1.1em;
    height: 1.1em;
    fill: currentColor;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    overflow: visible;
    background-color: rgba(7, 28, 47, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200, 169, 106, 0.18);
    transition: background-color var(--duration) var(--ease);
}

.site-header.scrolled {
    background-color: rgba(7, 28, 47, 0.98);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
    z-index: 1001;
}

/* Logo */
.header-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-decoration: none;
}

.header-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.logo-main {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-gold);
}

.logo-sub {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(248, 245, 239, 0.6);
}

/* Desktop nav */
.header-nav {
    display: none;
}

@media (min-width: 1024px) {
    .header-nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(248, 245, 239, 0.75);
    transition: color var(--duration) var(--ease);
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: width var(--duration) var(--ease);
}

.nav-link:hover {
    color: var(--color-gold);
}

.nav-link:hover::after {
    width: 100%;
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.lang-switch {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(248, 245, 239, 0.65);
    border: 1px solid rgba(200, 169, 106, 0.35);
    padding: 0.3rem 0.55rem;
    transition: color var(--duration) var(--ease),
                border-color var(--duration) var(--ease);
}

.lang-switch:hover {
    color: var(--color-gold);
    border-color: var(--color-gold);
}

.lang-switch.active {
    color: var(--color-gold);
    border-color: var(--color-gold);
}

.header-wa {
    display: none;
    padding: 0.55rem 1.1rem;
    font-size: 0.75rem;
}

@media (min-width: 640px) {
    .header-wa {
        display: inline-flex;
    }
    .wa-label {
        display: none;
    }
}

@media (min-width: 1024px) {
    .wa-label {
        display: inline;
    }
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 130;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-gold);
    transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

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

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
}

@media (max-width: 767px) {
    .lang-switcher {
        display: none;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .header-logo-img {
        height: 38px;
    }
}

/* Mobile nav */
.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: auto;
    width: 100vw;
    height: calc(100dvh - var(--header-height));
    max-height: calc(100vh - var(--header-height));
    background-color: var(--color-navy);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
    z-index: 120;
    visibility: hidden;
    pointer-events: none;
}

.mobile-nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-list {
    padding: var(--space-lg) var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-list .nav-link {
    font-size: 1.1rem;
    color: rgba(248, 245, 239, 0.85);
}

.mobile-wa {
    width: 100%;
    justify-content: center;
    margin-top: var(--space-sm);
}

.lang-switch-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.lang-switch-mobile .nav-link.active {
    color: var(--color-gold);
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/hero-home.jpg');
    background-size: cover;
    background-position: center 60%;
    background-repeat: no-repeat;
    /* Elegant fallback gradient if image not available */
    background-color: var(--color-navy);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(9, 45, 84, 0.52) 0%,
        rgba(8, 38, 71, 0.66) 50%,
        rgba(6, 27, 51, 0.82) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding-inline: 1.5rem;
    animation: fadeInUp 1s var(--ease) both;
}

.hero-label {
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    color: rgba(248, 245, 239, 0.82);
    line-height: 1.8;
    max-width: 640px;
    margin-inline: auto;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   7. Intro
   -------------------------------------------------------------------------- */
.intro {
    text-align: center;
    padding-block: var(--space-lg);
    background-color: var(--color-white);
}

.intro-divider {
    width: 48px;
    height: 1px;
    background-color: var(--color-gold);
    margin: 0 auto var(--space-md);
}

.intro-text {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 3vw, 1.65rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-navy-deep);
    max-width: 700px;
    margin-inline: auto;
}

/* --------------------------------------------------------------------------
   8. Services grid
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: var(--space-md);
}

.service-card {
    background-color: var(--color-white);
    border: 1px solid rgba(200, 169, 106, 0.2);
    padding: 2.5rem 2rem;
    position: relative;
    transition: transform var(--duration) var(--ease),
                box-shadow var(--duration) var(--ease),
                border-color var(--duration) var(--ease);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background-color: var(--color-gold);
    transition: height 0.4s var(--ease);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(7, 28, 47, 0.1);
    border-color: rgba(200, 169, 106, 0.45);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: block;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   9. Provisioning
   -------------------------------------------------------------------------- */
.prov-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
    .prov-intro {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.prov-image-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.prov-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.prov-image-wrap:hover img {
    transform: scale(1.04);
}

.prov-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-navy-deep), var(--color-navy));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--color-gold);
}

.prov-checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: var(--space-md);
}

.prov-category {
    background-color: rgba(255,255,255,0.06);
    border: 1px solid rgba(200, 169, 106, 0.2);
    padding: 1.5rem;
}

.prov-category-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(200, 169, 106, 0.25);
}

.prov-items {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.prov-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(248, 245, 239, 0.78);
    line-height: 1.4;
}

.prov-item::before {
    content: '–';
    color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 0.05em;
}

.prov-cta-wrap {
    text-align: center;
    margin-top: var(--space-md);
}

/* --------------------------------------------------------------------------
   10. Why us
   -------------------------------------------------------------------------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: var(--space-md);
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(200, 169, 106, 0.15);
    transition: border-color var(--duration) var(--ease);
}

.why-item:hover {
    border-color: rgba(200, 169, 106, 0.45);
}

.why-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 1px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.15rem;
}

.why-check::after {
    content: '✓';
    font-size: 0.75rem;
    color: var(--color-gold);
}

.why-text {
    font-size: 0.95rem;
    color: rgba(248, 245, 239, 0.82);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   11. About
   -------------------------------------------------------------------------- */
.about-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
}

@media (min-width: 768px) {
    .about-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

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

.about-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, var(--color-navy-deep) 0%, #0a2540 60%, var(--color-navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--color-gold);
    min-height: 360px;
}

.about-tagline {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-gold);
    margin-top: var(--space-md);
}

.about-founder-card {
    margin-top: var(--space-md);
    padding: 1rem 1.25rem;
    border-left: 2px solid rgba(200, 169, 106, 0.55);
    background-color: rgba(7, 28, 47, 0.03);
}

.about-founder-label {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.35rem;
}

.about-founder-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 0.4rem;
}

.about-founder-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   12. Founder
   -------------------------------------------------------------------------- */
.founder-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
}

@media (min-width: 768px) {
    .founder-layout {
        grid-template-columns: 280px 1fr;
    }
}

.founder-image-wrap {
    aspect-ratio: 1;
    overflow: hidden;
    max-width: 280px;
}

.founder-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.4s var(--ease);
}

.founder-image-wrap:hover img {
    filter: grayscale(0%);
}

.founder-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(145deg, #0a2540 0%, var(--color-navy-deep) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--color-gold);
    max-width: 280px;
}

.founder-name {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
}

.founder-role {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

/* --------------------------------------------------------------------------
   13. Final CTA banner
   -------------------------------------------------------------------------- */
.cta-banner {
    background: linear-gradient(135deg, var(--color-navy) 0%, #0a2d50 50%, var(--color-navy-deep) 100%);
    text-align: center;
    padding-block: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/ischia-sea.jpg') center/cover no-repeat;
    opacity: 0.12;
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner .section-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-banner .section-text {
    margin-inline: auto;
    margin-bottom: var(--space-md);
    color: rgba(248, 245, 239, 0.8);
}

/* --------------------------------------------------------------------------
   14. Contact
   -------------------------------------------------------------------------- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--color-text-muted);
}

.contact-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.contact-label {
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-navy);
    display: block;
    margin-bottom: 0.15rem;
}

.contact-cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: var(--space-sm);
}

@media (min-width: 480px) {
    .contact-cta-group {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--color-navy);
    color: rgba(248, 245, 239, 0.65);
    padding-top: var(--space-lg);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(200, 169, 106, 0.15);
}

@media (min-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr auto;
        align-items: start;
    }
}

.footer-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.footer-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(248, 245, 239, 0.5);
    max-width: 300px;
}

.footer-contact-line {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: rgba(248, 245, 239, 0.58);
}

.footer-contact-line a {
    color: rgba(248, 245, 239, 0.68);
    transition: color var(--duration) var(--ease);
}

.footer-contact-line a:hover {
    color: var(--color-gold);
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-nav a {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: rgba(248, 245, 239, 0.6);
    transition: color var(--duration) var(--ease);
}

.footer-nav a:hover {
    color: var(--color-gold);
}

.footer-lang {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.footer-lang a {
    color: rgba(248, 245, 239, 0.5);
    transition: color var(--duration) var(--ease);
}

.footer-lang a.active,
.footer-lang a:hover {
    color: var(--color-gold);
}

.footer-lang .sep {
    color: rgba(200, 169, 106, 0.3);
}

.footer-bottom {
    padding-block: 1.25rem;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: rgba(248, 245, 239, 0.35);
}

/* --------------------------------------------------------------------------
   16. Scroll-reveal animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --------------------------------------------------------------------------
   17. Utility classes
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-gold    { color: var(--color-gold); }
.mt-md        { margin-top: var(--space-md); }
.mb-md        { margin-bottom: var(--space-md); }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   18. Section separators
   -------------------------------------------------------------------------- */
.gold-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), transparent);
    margin-bottom: var(--space-md);
}

.gold-line--center {
    margin-inline: auto;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    width: 100px;
}

/* --------------------------------------------------------------------------
   19. Responsive media
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    :root {
        --space-xl: 4rem;
        --space-lg: 3rem;
    }

    .section {
        padding-block: var(--space-lg);
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
