/* CSS Document */

:root {
    --color-primary: #1153a5;
    --color-primary-light: #1d7edc;
    --color-accent: #18a4ff;
    --color-bg: #f5f7fb;
    --color-bg-alt: #ffffff;
    --color-text: #0f172a;
    --color-text-muted: #6b7280;
    --color-border: #d1d5e5;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 18px 35px rgba(15, 76, 129, 0.08);
}

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

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    scroll-behavior: smooth;
}

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

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

button {
    font-family: inherit;
}

/* Layout helpers */
.container {
    width: min(1120px, 100% - 2.5rem);
    margin-inline: auto;
}

.section {
    padding: 90px 0;
}

.section-alt {
    background: #eef2f9;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.section-header h2 {
    margin: 10px 0 10px;
    font-size: 2rem;
    letter-spacing: -0.03em;
}

.section-header p {
    margin: 0;
    color: var(--color-text-muted);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    color: var(--color-primary-light);
    font-weight: 600;
}

/* Header (fixed) */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(209, 213, 224, 0.8);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 24px rgba(9, 50, 93, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
}

.logo-text small {
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.main-nav a {
    position: relative;
    padding: 0.2rem 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 0;
    height: 2px;
    background: linear-gradient(120deg, var(--color-primary), var(--color-accent));
    border-radius: 999px;
    transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav .nav-cta {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 76, 129, 0.3);
    background: rgba(15, 76, 129, 0.04);
}

.main-nav .nav-cta::after {
    display: none;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    font-size: 1.25rem;
    color: var(--color-text);
}

/* Hero */
.hero {
    background:
        radial-gradient(circle at 0% 0%, rgba(24, 164, 255, 0.16), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(17, 83, 165, 0.18), transparent 55%),
        linear-gradient(180deg, #f9fbff 0%, #eef3fb 100%);
    padding: 96px 0 90px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.hero-text h1 {
    margin: 0.4rem 0 0.5rem;
    font-size: clamp(2rem, 3vw + 1rem, 2.8rem);
    letter-spacing: -0.04em;
    color: #0b1930;
}

.hero-subtitle {
    margin: 0 0 1.5rem;
    color: var(--color-text-muted);
    max-width: 34rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.6rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease,
        color 0.15s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(7, 54, 102, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(7, 54, 102, 0.4);
}

.btn-outline {
    background: #ffffff;
    border-color: rgba(15, 76, 129, 0.25);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: rgba(15, 76, 129, 0.05);
}

.btn-small {
    padding: 0.45rem 0.95rem;
    font-size: 0.82rem;
}

.btn.full-width {
    width: 100%;
}

/* Hero meta */
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Hero visual */
.hero-visual {
    position: relative;
}

.hero-photo-frame {
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(176, 190, 220, 0.9);
    box-shadow: 0 24px 50px rgba(3, 16, 30, 0.22);
    background: #000;
}

.hero-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-float-card {
    position: absolute;
    right: -14px;
    bottom: -20px;
    background: #ffffff;
    border-radius: 16px;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(209, 213, 224, 0.9);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
    font-size: 0.78rem;
    min-width: 220px;
}

.float-row {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.3rem;
}

.float-row:last-child {
    margin-bottom: 0;
}

.float-label {
    color: var(--color-text-muted);
}

.float-value {
    font-weight: 600;
    color: var(--color-primary);
}

/* Two-column layout */
.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.8rem;
    align-items: flex-start;
}

.two-column p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 1.5rem;
}

.service-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.3rem 1.3rem;
    border: 1px solid rgba(210, 217, 230, 0.9);
    box-shadow: var(--shadow-soft);
    font-size: 0.9rem;
}

.service-card h3 {
    margin: 0.4rem 0 0.4rem;
    font-size: 1rem;
}

.service-card p {
    margin: 0 0 0.5rem;
    color: var(--color-text-muted);
}

.card-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: rgba(24, 164, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

/* Bullet lists */
.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0.2rem 0 0;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.bullet-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.35rem;
}

.bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary-light);
}

/* Eyewear */
.eyewear-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 1.4rem;
}

.eyewear-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(210, 217, 230, 0.9);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.eyewear-img-wrap {
    height: 190px;
    overflow: hidden;
}

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

.eyewear-body {
    padding: 1rem 1.1rem 1.1rem;
    font-size: 0.9rem;
}

.eyewear-body h3 {
    margin: 0 0 0.4rem;
}

.eyewear-body p {
    margin: 0 0 0.6rem;
    color: var(--color-text-muted);
}

.eyewear-body ul {
    margin: 0 0 0.7rem;
    padding-left: 1rem;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* Learning */
.learning-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 1.4rem;
}

.learning-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(210, 217, 230, 0.9);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.learning-card img {
    height: 170px;
    object-fit: cover;
}

.learning-body {
    padding: 0.9rem 1rem 1.1rem;
    font-size: 0.88rem;
}

.learning-body h3 {
    margin: 0 0 0.4rem;
}

.learning-body p {
    margin: 0 0 0.4rem;
    color: var(--color-text-muted);
}

.text-link {
    font-size: 0.84rem;
    color: var(--color-primary-light);
}

.text-link:hover {
    text-decoration: underline;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
    margin-top: 1.5rem;
}

.contact-details h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
}

.contact-details h4 {
    margin: 1rem 0 0.25rem;
    font-size: 0.95rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0.9rem 0 0.6rem;
    font-size: 0.9rem;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.contact-list i {
    margin-top: 0.15rem;
    color: var(--color-primary-light);
}

.hours {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.social-links {
    display: flex;
    gap: 0.6rem;
}

.social-links a {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(15, 76, 129, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* Contact form */
.contact-form-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.3rem 1.4rem;
    border: 1px solid rgba(210, 217, 230, 0.9);
    box-shadow: var(--shadow-soft);
    font-size: 0.88rem;
}

.contact-form-card h3 {
    margin: 0 0 0.8rem;
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-row {
    display: flex;
    gap: 0.8rem;
}

.form-row .full {
    flex: 1;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    border-radius: 10px;
    border: 1px solid var(--color-border);
    padding: 0.55rem 0.7rem;
    font-size: 0.85rem;
    font-family: inherit;
    background: #f9fbff;
    outline: none;
    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        background 0.16s ease;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary-light);
    box-shadow: 0 0 0 1px rgba(24, 164, 255, 0.12);
    background: #ffffff;
}

.form-note {
    margin: 0.4rem 0 0;
    font-size: 0.72rem;
    color: var(--color-text-muted);
}

/* Footer */
.site-footer {
    background: #020817;
    color: #cbd5f5;
    padding: 18px 0;
    margin-top: 40px;
    font-size: 0.8rem;
}

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

/* Responsive */
@media (max-width: 960px) {
    .hero-grid,
    .two-column,
    .card-grid,
    .eyewear-grid,
    .learning-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-grid {
        gap: 32px;
    }

    .hero-photo-frame {
        max-width: 420px;
        margin-inline: auto;
    }

    .hero-float-card {
        position: static;
        margin-top: 0.7rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        inset-inline: 0;
        top: 100%;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(209, 213, 224, 0.9);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0.4rem 1.25rem 0.8rem;
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.18s ease, opacity 0.18s ease;
    }

    .main-nav a {
        padding: 0.4rem 0;
    }

    .main-nav.nav-open {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 720px) {
    .section {
        padding: 72px 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-row {
        flex-direction: column;
    }
}
