:root {
    /* Colors */
    --white: #ffffff;
    --gray: #f4f4f4;
    --gray-dark: #4a4a4a;
    --blush: #fadadd;
    --creative: #e76daa;
    --navy: #000b75;
    --success: #4caf50;

    /* Typography */
    --font-heading: "Playfair Display", serif;
    --font-body: "Inter", sans-serif;

    /* Layout */
    --max-width: 1120px;
    --max-width-narrow: 760px;
    --border-radius: 20px;
    --transition: 0.3s ease;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ===== Reset ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--gray-dark);
    font-family: var(--font-body);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ===== Accessibility ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Shared layout ===== */
.section-shell {
    margin: 0 auto;
    width: min(100% - 32px, var(--max-width));
}

.section-shell--narrow {
    margin: 0 auto;
    width: min(100% - 32px, var(--max-width-narrow));
}

.section-heading {
    margin-bottom: 40px;
}

.section-heading--center {
    text-align: center;
}

.section-title {
    margin: 0 0 12px;
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1.15;
}

.section-text {
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 62ch;
}

/* ===== Header ===== */
.site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(0, 11, 117, 0.08);
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.site-nav {
    margin: 0 auto;
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(100% - 32px, var(--max-width));
}

.site-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img {
    width: auto;
    height: 58px;
}

.site-nav__links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.site-nav__links a {
    color: var(--gray-dark);
    font-size: 0.96rem;
    font-weight: 500;
    position: relative;
    transition: color var(--transition);
}

.site-nav__links a::after {
    background: var(--creative);
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    transition: width var(--transition);
}

.site-nav__links a:hover,
.site-nav__links a:focus-visible {
    color: var(--navy);
    outline: none;
}

.site-nav__links a:hover::after,
.site-nav__links a:focus-visible::after {
    width: 100%;
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(
        135deg,
        #f2edef 0%,
        #f3c5d6 35%,
        #e39ab8 68%,
        #f8e4eb 100%
    );
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 18%,
        rgba(255, 255, 255, 0.08) 28%,
        rgba(255, 255, 255, 0.48) 38%,
        rgba(255, 255, 255, 0.72) 43%,
        rgba(255, 255, 255, 0.2) 48%,
        rgba(255, 255, 255, 0) 58%
    );
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero::after {
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.38) 0%,
        rgba(255, 255, 255, 0.14) 35%,
        rgba(255, 255, 255, 0) 72%
    );
    content: "";
    position: absolute;
    top: -80px;
    left: -40px;
    width: 420px;
    height: 420px;
    pointer-events: none;
}

.hero__inner {
    margin: 0 auto;
    padding: 100px 0 88px;
    text-align: center;
    width: min(100% - 32px, 860px);
    position: relative;
    z-index: 1;
}

.hero__eyebrow {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero__title {
    margin: 0 0 18px;
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: clamp(2.7rem, 6vw, 4.8rem);
    line-height: 1.05;
}

.hero__text {
    margin: 0 auto 30px;
    font-size: 1.08rem;
    line-height: 1.75;
    max-width: 42rem;
}

.hero__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* ===== Buttons ===== */
.btn {
    padding: 13px 22px;
    font-size: 0.98rem;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition:
        background-color var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform 0.2s ease,
        box-shadow var(--transition);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:focus-visible {
    outline: 3px solid rgba(231, 109, 170, 0.4);
    outline-offset: 3px;
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 10px 22px rgba(0, 11, 117, 0.18);
}

.btn-primary:hover {
    background: var(--creative);
    color: var(--white);
    box-shadow: 0 14px 28px rgba(231, 109, 170, 0.22);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: rgba(0, 11, 117, 0.22);
}

.btn-outline:hover {
    background: var(--blush);
    border-color: rgba(231, 109, 170, 0.4);
}

.btn-disabled,
.btn-disabled:hover {
    background: #e0e0e0;
    color: #888888;
    border-color: #e0e0e0;
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    opacity: 0.95;
}

/* ===== About ===== */
.about {
    padding: 96px 0;
    background: var(--white);
}

.about__text p {
    margin: 0 0 18px;
    font-size: 1.04rem;
    line-height: 1.85;
    text-align: left;
}

.about__text p:last-child {
    margin-bottom: 0;
}

/* Explore */
.explore {
    padding: 96px 0;
    background: var(--gray);
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.explore-card {
    padding: 38px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    min-height: 100%;
}

#reviews-preview {
    background: linear-gradient(
        180deg,
        rgba(250, 218, 221, 0.9),
        rgba(255, 255, 255, 0.98)
    );
}

#design-preview {
    background: linear-gradient(
        180deg,
        rgba(231, 109, 170, 0.16),
        rgba(255, 255, 255, 0.98)
    );
}

.explore-card__title {
    margin: 0 0 12px;
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.15;
}

#reviews-preview .explore-card__title {
    color: var(--navy);
}

#design-preview .explore-card__title {
    color: var(--creative);
}

.explore-card__text {
    margin: 0 0 24px;
    max-width: 44ch;
    line-height: 1.7;
}

.teaser-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.teaser-card {
    padding: 18px;
    background: rgba(255, 255, 255, 0.86);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition), box-shadow var(--transition);
}

.teaser-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.teaser-card h4 {
    margin: 0 0 8px;
    font-size: 1.02rem;
    color: var(--gray-dark);
}

.teaser-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Contact ===== */
.contact {
    padding: 96px 0;
    background: var(--white);
}

.contact-form {
    margin: 0 auto 42px;
    display: grid;
    gap: 18px;
    max-width: 760px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-field {
    display: grid;
    gap: 8px;
    font-weight: 600;
}

.form-field span {
    font-size: 0.96rem;
}

.form-field input,
.form-field textarea {
    padding: 14px 16px;
    background: var(--white);
    color: var(--gray-dark);
    font: inherit;
    border: 1px solid rgba(74, 74, 74, 0.2);
    border-radius: 14px;
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--creative);
    box-shadow: 0 0 0 4px rgba(231, 109, 170, 0.12);
}

.contact-form .btn {
    justify-self: start;
}

.social-grid {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 760px;
}

.social-card {
    padding: 24px;
    background: var(--gray);
    border-radius: 18px;
}

.social-card h3 {
    margin: 0 0 14px;
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

.social-card a {
    margin-bottom: 10px;
    font-weight: 500;
    display: block;
    transition: color var(--transition);
}

.social-card a:last-child {
    margin-bottom: 0;
}

.social-card a:hover {
    color: var(--creative);
}

/* ===== FOOTER ===== */
.site-footer {
    background: #111;
    color: rgba(255,255,255,.88);
}

.footer-inner {
    margin: 0 auto;
    padding: 52px 16px 26px;
    max-width: 1120px;
}

.footer-brand {
    margin-bottom: 28px;
    text-align: center;
}

.footer-logo {
    color: var(--white);
    text-decoration: none;
    text-align: center;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.2px;
}

.footer-note {
    margin: 10px 0 0;
    text-align: center;
    line-height: 1.6;
    /*max-width: 55ch;*/
    opacity: 0.82;
}

.footer-nav {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 22px;
}

.footer-title {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, .95);
    font-weight: 700;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-links a:hover,
.site-footer__links a:hover {
    color: var(--creative);
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    font-size: 0.9rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    opacity: 0.85;
}

.footer-disclaimer {
    margin: 0;
    max-width: 70ch;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .site-nav {
        flex-direction: column;
        align-items: center;
        padding: 14px 0 18px;
    }

    .site-nav__links {
        justify-content: center;
        gap: 18px;
    }

    .explore-grid,
    .form-grid,
    .social-grid,
    .site-footer__nav {
        grid-template-columns: 1fr;
    }

    .contact-form .btn {
        justify-self: stretch;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: auto;
    }

    .hero__inner {
        padding: 84px 0 72px;
    }

    .hero__text,
    .section-text,
    .about__text p {
        font-size: 1rem;
    }

    .explore-card {
        padding: 30px 22px;
    }

    .site-logo img {
        height: 52px;
    }

    .site-nav__links {
        gap: 14px;
    }
}