/* Atlantis Clinic — base styles and design tokens */
/* Load before mockup.css; mockup.css depends on these variables */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 393px;
    line-height: 1.6;
    color: var(--color-charcoal);
    background: var(--color-cream);
}

/* Design tokens (used by mockup.css and this file) */
:root {
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --color-white: #fff;
    --color-cream: #f8f6f3;
    --color-cream-dark: #e8e4de;
    --color-charcoal: #2d2a26;
    --color-charcoal-muted: #5c5650;
    --color-sage: #5c7c6b;
    --color-terracotta: #b85c38;
    --radius: 8px;
    --shadow: 0 2px 12px rgba(45, 42, 38, 0.06);
    --shadow-hover: 0 4px 20px rgba(45, 42, 38, 0.1);
}

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

a {
    color: var(--color-sage);
    text-decoration: none;
}

a:hover {
    color: var(--color-terracotta);
    text-decoration: underline;
}

/* ---- Header & Nav ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-cream-dark);
    box-shadow: var(--shadow);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-charcoal);
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
    color: var(--color-sage);
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-links a {
    color: var(--color-charcoal);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--color-sage);
}

.cta-link {
    background: var(--color-sage);
    color: var(--color-white) !important;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius);
    font-weight: 500;
}

.cta-link:hover {
    background: #4a6b5a;
    text-decoration: none;
}

.cta-link.login-link {
    background: var(--color-terracotta);
}

.cta-link.login-link:hover {
    background: #9d4e2e;
    text-decoration: none;
}

.nav-login {
    margin-left: auto;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    background: var(--color-charcoal);
    border-radius: 1px;
}

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

main {
    padding-bottom: 3rem;
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem;
    color: var(--color-white);
    overflow: hidden;
}

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

.hero-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(45,42,38,0.5) 0%, rgba(45,42,38,0.75) 100%);
}

.hero-version {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    z-index: 10;
    font-size: 0.7rem;
    font-family: monospace;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.25rem 0.5rem;
    pointer-events: none;
    user-select: none;
    line-height: 1.4;
    text-align: right;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.hero-eyebrow {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.95;
    margin-bottom: 0.5rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5.5vw, 3.4rem);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 1rem;
}

.hero-lead {
    font-size: 1.1rem;
    line-height: 1.65;
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.hero-actions .btn {
    text-decoration: none;
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 0.65rem 1.35rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-primary {
    background: var(--color-sage);
    color: var(--color-white);
}

.btn-primary:hover {
    background: #4a6b5a;
    text-decoration: none;
    color: #fff;
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-charcoal);
    border: 2px solid var(--color-white);
    text-align: center;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.9);
    text-decoration: none;
    color: var(--color-charcoal);
}

.btn-offer {
    background: var(--color-terracotta);
    color: var(--color-white);
}

.btn-offer:hover {
    background: #9a4e2f;
    text-decoration: none;
    color: #fff;
}

.btn-wide {
    width: 100%;
    max-width: 320px;
}

/* ---- Offer banner ---- */
.offer-banner {
    background: linear-gradient(90deg, var(--color-sage) 0%, #8ba396 100%);
    color: var(--color-white);
    padding: 0rem 1.5rem 2rem;
}

.offer-banner-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.offer-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.offer-banner h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}

.offer-banner p {
    margin: 0 0 1rem;
    opacity: 0.95;
}

.offer-banner .btn {
    color: #fff;
}

.offer-note {
    margin-top: 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
}

.offer-note a {
    color: inherit;
}

/* ---- Sections common ---- */
.section-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin: 0 0 0.75rem;
}

.section-intro {
    font-size: 1.05rem;
    color: var(--color-charcoal-muted);
    margin-bottom: 1.5rem;
    max-width: 640px;
}

/* Philosophy / about text blocks */
.philosophy {
    padding: 3rem 0;
    background: var(--color-white);
}

.philosophy-lead {
    margin-bottom: 1rem;
}

.philosophy-tagline {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-sage);
    margin-top: 1.5rem;
}

/* About (team) grid */
.about {
    padding: 3rem 0;
    background: var(--color-cream);
}

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

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-content p {
    margin-bottom: 1rem;
}

/* Services (Move/Eat/Think Well) */
.services {
    padding: 3rem 0;
    background: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.service-card {
    padding: 1.5rem;
    background: var(--color-cream);
    border-radius: var(--radius);
    border-left: 4px solid var(--color-sage);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
    color: var(--color-sage);
}

.service-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* Conditions */
.conditions {
    padding: 3rem 0;
    background: var(--color-cream);
}

.conditions-list {
    margin: 0 0 1rem;
}

/* Clinic section */
.clinic-section {
    padding: 3rem 0;
    background: var(--color-white);
}

.clinic-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2rem;
    margin-top: 1.5rem;
}

.clinic-content p {
    margin-bottom: 1rem;
}

.clinic-details h4 {
    font-size: 1rem;
    margin: 0 0 0.75rem;
    color: var(--color-sage);
}

.clinic-details ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.clinic-details li {
    padding: 0.25rem 0;
}

.clinic-address {
    font-size: 0.9rem;
    color: var(--color-charcoal-muted);
}

/* Testimonials */
.testimonials {
    padding: 3rem 0;
    background: var(--color-cream);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.testimonial {
    margin: 0;
    padding: 1.5rem;
    background: var(--color-white);
    border-radius: var(--radius);
    border-left: 4px solid var(--color-sage);
    box-shadow: var(--shadow);
}

.testimonial p {
    font-style: italic;
    margin: 0 0 0.5rem;
    color: var(--color-charcoal);
}

.testimonial footer {
    font-size: 0.9rem;
    color: var(--color-sage);
    font-style: normal;
}

/* eBook section */
.ebook-section {
    padding: 3rem 0;
    background: var(--color-sage);
    color: var(--color-white);
    text-align: center;
}

.ebook-section .section-title {
    color: #fff;
}

.ebook-section p {
    margin-bottom: 1rem;
    opacity: 0.95;
}

.ebook-section .btn-primary {
    background: var(--color-white);
    color: var(--color-sage);
}

/* Regions */
.regions {
    padding: 3rem 0;
    background: var(--color-white);
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.region-card {
    padding: 1.25rem;
    background: var(--color-cream);
    border-radius: var(--radius);
    text-align: center;
}

.region-flag {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.region-card h3 {
    font-size: 1rem;
    margin: 0 0 0.25rem;
}

.region-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-charcoal-muted);
}

/* Blog / News preview */
.blog-preview {
    padding: 3rem 0;
    background: var(--color-cream);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.article-card {
    padding: 1.25rem;
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.article-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-sage);
    display: block;
    margin-bottom: 0.5rem;
}

.article-card h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
}

.article-card h3 a {
    color: var(--color-charcoal);
}

.article-card h3 a:hover {
    color: var(--color-sage);
}

.article-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-charcoal-muted);
}

/* CTA / Contact section */
.cta-section {
    padding: 3rem 0;
    background: var(--color-white);
}

.cta-content {
    max-width: 560px;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin: 0 0 0.5rem;
}

.cta-content p {
    margin-bottom: 1rem;
}

.contact-details p {
    margin-bottom: 1rem;
}

.contact-form {
    margin: 1.5rem 0;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.form-row input,
.form-row select {
    flex: 1;
    min-width: 160px;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--color-cream-dark);
    border-radius: var(--radius);
    font-size: 1rem;
}

.privacy-note {
    font-size: 0.85rem;
    color: var(--color-charcoal-muted);
}

/* ---- Footer ---- */
.site-footer {
    padding: 2.5rem 1.5rem 1.5rem;
    background: var(--color-charcoal);
    color: var(--color-cream);
}

.site-footer .logo {
    color: #fff;
}

.site-footer .logo:hover {
    color: var(--color-cream);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 2rem;
    align-items: start;
    margin-bottom: 1.5rem;
}

.footer-tagline {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.9);
}

.footer-links a:hover {
    color: #fff;
}

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

.footer-social a {
    color: rgba(255,255,255,0.9);
}

.footer-regions {
    font-size: 0.9rem;
    opacity: 0.85;
    margin: 0 0 0.5rem;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.75;
    margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        margin-left: auto;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--color-cream-dark);
    }

    .nav-links.open {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .clinic-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 60vh;
        padding: 3rem 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-wide {
        max-width: none;
    }
}
