:root {
    --background: #f3f8f8;
    --foreground: #173038;
    --card: #eef4f4;
    --primary: #196b76;
    --primary-foreground: #f3f8f8;
    --secondary: #dfeceb;
    --secondary-foreground: #173038;
    --accent: #c5a677;
    --accent-foreground: #173038;
    --muted: #e7efef;
    --muted-foreground: #62777d;
    --border: #d7e3e2;
    --gold: #c5a677;
    --gold-light: #d5bd99;
    --charcoal: #196b76;
    --charcoal-light: #338694;
    --cream: #e8f0ef;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

html {
    overflow-y: auto;
    scroll-behavior: smooth;
}

body {
    overflow-y: visible;
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: "Inter", sans-serif;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    line-height: 1.1;
}

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

.container {
    width: min(1200px, calc(100% - 3rem));
    margin: 0 auto;
}

svg {
    width: 1em;
    height: 1em;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 1.5rem 0;
    transition: all 0.5s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
    background: color-mix(in srgb, var(--background) 95%, transparent);
    backdrop-filter: blur(8px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
}

.brand-link { display: flex; align-items: center; gap: .75rem; min-width: 0; overflow: hidden; }
.brand-logo { width: 2.7rem; height: 2.7rem; border-radius: 999px; object-fit: cover; object-position: center; }
.brand-text { font-family: "Playfair Display", serif; font-size: 1.2rem; color: #fff; transition: color .3s ease; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-header.is-scrolled .brand-text,
.site-header.is-open .brand-text { color: var(--foreground); }

.desktop-nav { display: none; align-items: center; gap: 2rem; }
.nav-link { font-size: .9rem; color: rgba(255,255,255,.82); position: relative; transition: color .3s ease; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -.3rem; width: 0; height: 2px; background: var(--gold); transition: width .3s ease; }
.nav-link:hover::after { width: 100%; }
.site-header.is-scrolled .nav-link { color: var(--muted-foreground); }
.site-header.is-scrolled .nav-link:hover { color: var(--foreground); }

.desktop-contact { display: none; align-items: center; gap: 1rem; }
.desktop-contact a { font-size: 1.2rem; color: rgba(255,255,255,.85); transition: color .3s ease; }
.desktop-contact a:hover { color: #fff; }
.site-header.is-scrolled .desktop-contact a { color: var(--muted-foreground); }
.site-header.is-scrolled .desktop-contact a:hover { color: var(--gold); }

.mobile-toggle {
    background: transparent;
    border: 0;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    cursor: pointer;
}
.site-header.is-scrolled .mobile-toggle,
.site-header.is-open .mobile-toggle { color: var(--foreground); }
.mobile-toggle .icon-close { display: none; }
.site-header.is-open .mobile-toggle .icon-open { display: none; }
.site-header.is-open .mobile-toggle .icon-close { display: inline-flex; }

.mobile-nav {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background: var(--background);
    border-top: 1px solid var(--border);
    transition: all .35s ease;
}
.site-header.is-open .mobile-nav {
    max-height: 40rem;
    opacity: 1;
}
.mobile-nav-inner { padding: 1.5rem 0; display: flex; flex-direction: column; gap: .8rem; }
.mobile-nav-link { font-size: 1.1rem; color: var(--muted-foreground); padding: .35rem 0; }
.mobile-nav-link:hover { color: var(--foreground); }
.mobile-contact-row { display: flex; gap: 1rem; padding-top: .8rem; border-top: 1px solid var(--border); }
.mobile-contact-row a { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted-foreground); }

.hero-section {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media video { width: 100%; height: 120%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.8), rgba(0,0,0,.6), rgba(0,0,0,.4)); }
.hero-content { position: relative; z-index: 2; padding-top: 6rem; text-align: center; max-width: 64rem; min-width: 0; overflow-x: hidden; }
.hero-badge { display: inline-flex; align-items: center; gap: .45rem; color: var(--gold); text-transform: uppercase; letter-spacing: .17em; font-size: .8rem; margin-bottom: 1.2rem; }
.hero-badge svg { font-size: 1rem; }
.hero-content h1 { color: var(--primary-foreground); font-size: clamp(2rem, 7vw, 4.5rem); margin-bottom: 1.2rem; }
.hero-content h1 span { display: block; }
.hero-content h1 em { color: var(--gold-light); font-style: italic; }
.hero-content p { color: color-mix(in srgb, var(--primary-foreground) 80%, transparent); font-size: clamp(1rem, 2.3vw, 1.25rem); max-width: 42rem; margin: 0 auto 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: .6rem;
    border-radius: 2px;
    padding: .95rem 2rem;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    transition: transform .25s ease, filter .25s ease, background-color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-secondary { border: 2px solid rgba(255,255,255,.3); color: var(--primary-foreground); }
.btn-secondary:hover { border-color: var(--gold); }
.btn-light { background: var(--background); color: var(--foreground); width: 100%; }
.btn.full { width: 100%; }

.hero-scroll-link {
    position: absolute;
    bottom: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    color: rgba(255,255,255,.75);
    font-size: .75rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    animation: floatY 2s ease-in-out infinite;
}

main { overflow-x: hidden; overflow-y: hidden; max-width: 100%; }

section { padding: 5rem 0; }

.about-section { background: var(--background); }
.about-grid { display: grid; gap: 3rem; align-items: start; min-width: 0; }
.about-image-wrap { min-width: 0; }
.about-content { min-width: 0; }
.about-image-wrap img { width: 100%; border-radius: 1.1rem; box-shadow: 0 20px 35px rgba(0,0,0,.12); object-fit: cover; object-position: top; }
.pill { display: inline-block; border: 1px solid var(--gold); color: var(--gold); padding: .4rem .95rem; border-radius: 999px; font-size: .82rem; margin-bottom: 1rem; }
.about-content h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .35rem; }
.about-content .subtitle { color: var(--gold); font-family: "Playfair Display", serif; font-size: 1.35rem; font-style: italic; margin: 0 0 .3rem; }
.about-content .eyebrow { color: var(--muted-foreground); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; margin: 0 0 1.2rem; }
.about-copy p { color: var(--muted-foreground); margin: 0 0 .9rem; }
.credential-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin: 1.4rem 0; }
.credential-card { display: flex; gap: .7rem; align-items: center; background: color-mix(in srgb, var(--muted) 45%, transparent); border: 1px solid var(--border); border-radius: .75rem; padding: .9rem; transition: all .3s ease; }
.credential-card:hover { border-color: color-mix(in srgb, var(--gold) 40%, transparent); box-shadow: 0 14px 22px rgba(0,0,0,.08); transform: translateY(-2px); }
.card-icon { color: var(--gold); font-size: 1.5rem; flex-shrink: 0; display: inline-flex; }
.credential-card h3 { margin: 0; font-size: .9rem; font-family: "Inter", sans-serif; font-weight: 600; }
.credential-card p { margin: 0; font-size: .76rem; color: var(--muted-foreground); }
blockquote { margin: 0; border-left: 4px solid var(--gold); padding-left: 1.2rem; }
blockquote p { font-style: italic; font-size: 1.25rem; margin: 0 0 .3rem; }
blockquote cite { color: var(--muted-foreground); font-size: .85rem; font-style: normal; }

.services-section { background: var(--cream); }
.section-header { text-align: center; max-width: 48rem; margin: 0 auto 3rem; }
.section-header > span { display: block; color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; margin-bottom: .7rem; }
.section-header h2 { font-size: clamp(2rem, 4.7vw, 3.4rem); margin-bottom: .8rem; }
.section-header h2 em { color: var(--gold); font-style: italic; margin: 0 .35rem; }
.section-header p { color: var(--muted-foreground); margin: 0; font-size: 1.1rem; }

.service-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; min-width: 0; }
.service-card { width: 100%; background: var(--background); border: 1px solid var(--border); border-radius: 2px; padding: 1.5rem; transition: all .3s ease; }
.service-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--gold) 50%, transparent); box-shadow: 0 15px 28px rgba(0,0,0,.09); }
.service-card h3 { font-size: 1.25rem; margin: .6rem 0 .4rem; }
.service-card p { margin: 0; color: var(--muted-foreground); font-size: .9rem; }

.pricing-section { background: var(--background); }
.pricing-card {
    max-width: 36rem;
    margin: 0 auto;
    background: var(--cream);
    border: 2px solid color-mix(in srgb, var(--gold) 30%, transparent);
    border-radius: 2px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,.1);
}
.pricing-card .label { margin: 0 0 .9rem; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; color: var(--muted-foreground); }
.amount { display: flex; align-items: baseline; justify-content: center; gap: .2rem; margin-bottom: .2rem; }
.amount .main { font-family: "Playfair Display", serif; font-size: 4rem; line-height: 1; }
.amount .decimal { color: var(--muted-foreground); font-size: 1.1rem; }
.pricing-card .suffix { margin: 0 0 1.5rem; color: var(--muted-foreground); font-size: .85rem; }
.included-list { margin: 0 auto 1.5rem; max-width: 18rem; display: grid; gap: .55rem; text-align: left; }
.included-item { display: flex; align-items: flex-start; gap: .55rem; font-size: .9rem; color: var(--muted-foreground); }
.check-icon { color: var(--gold); font-size: 1.1rem; line-height: 1; }
.footnote { margin: .8rem 0 0; color: var(--muted-foreground); font-size: .78rem; }

.contact-section { background: var(--charcoal); color: var(--primary-foreground); padding-top: 4rem; padding-bottom: 4rem; }
.contact-grid { display: grid; gap: 2.6rem; min-width: 0; }
.contact-grid > * { min-width: 0; }
.contact-badge { color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; display: block; margin-bottom: .35rem; }
.contact-section h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: .4rem; color: var(--primary-foreground); }
.contact-section h2 em { color: var(--gold-light); font-style: italic; margin-left: .35rem; }
.contact-section p { color: color-mix(in srgb, var(--primary-foreground) 72%, transparent); }

.contact-lines { margin-top: 2rem; display: grid; gap: 1.1rem; }
.contact-lines a,
.contact-lines > div { display: flex; gap: .9rem; align-items: flex-start; color: var(--primary-foreground); min-width: 0; max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
.contact-lines a span { min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.contact-lines svg { width: 1.3rem; height: 1.3rem; color: var(--gold); margin-top: .1rem; }
.contact-lines small { display: block; color: color-mix(in srgb, var(--primary-foreground) 65%, transparent); font-size: .78rem; margin-bottom: .15rem; }
.contact-lines strong { font-size: .95rem; line-height: 1.5; font-weight: 500; overflow-wrap: break-word; word-break: break-word; }

.contact-form { background: color-mix(in srgb, var(--charcoal-light) 30%, transparent); border: 1px solid rgba(255,255,255,.1); border-radius: 2px; padding: 2rem; min-width: 0; max-width: 100%; }
.contact-form label { display: block; font-size: .84rem; color: color-mix(in srgb, var(--primary-foreground) 66%, transparent); margin-bottom: .4rem; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.2);
    background: var(--charcoal);
    color: var(--primary-foreground);
    border-radius: 2px;
    padding: .78rem .9rem;
    font: inherit;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,.4); }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--gold); }
.form-row { display: grid; gap: .9rem; margin-top: 1rem; margin-bottom: 1rem; }

.site-footer { background: var(--foreground); color: var(--primary-foreground); padding: 4rem 0; }
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2rem; min-width: 0; }
.footer-brand { min-width: 0; }
.footer-brand img { height: 7rem; width: auto; max-width: 100%; object-fit: contain; display: block; margin-bottom: .9rem; }
.footer-brand p { color: color-mix(in srgb, var(--primary-foreground) 70%, transparent); max-width: 35rem; margin: 0; }
.site-footer h4 { font-size: 1.1rem; margin-bottom: .9rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.site-footer li a { color: color-mix(in srgb, var(--primary-foreground) 72%, transparent); display: inline-flex; align-items: center; gap: .45rem; min-width: 0; max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
.site-footer li a span { min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.site-footer li a:hover { color: var(--gold); transform: translateX(3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.2rem; display: flex; flex-direction: column; gap: .8rem; align-items: center; justify-content: space-between; text-align: center; }
.footer-bottom > div { min-width: 0; }
.footer-bottom p,
.footer-bottom a,
#back-to-top { color: color-mix(in srgb, var(--primary-foreground) 55%, transparent); font-size: .85rem; margin: 0; }
#back-to-top { border: 0; background: none; display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; }
#back-to-top:hover { color: var(--gold); }

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatY {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

@media (min-width: 768px) {
    section { padding: 7rem 0; }
    .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
    .service-card { width: calc(50% - .7rem); }
    .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-bottom { flex-direction: row; text-align: left; }
}

@media (min-width: 1024px) {
    .desktop-nav,
    .desktop-contact { display: flex; }
    .mobile-toggle { display: none; }
    .mobile-nav { display: none; }
    .service-card { width: calc(33.333% - 1rem); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
}

