
:root {
    --teal: #078b91;
    --teal-dark: #07565e;
    --blue: #2f80ed;
    --yellow: #ffd166;
    --pale-blue: #eaf8fa;
    --white: #ffffff;
    --ink: #183b42;
    --muted: #647b80;
    --shadow: 0 12px 32px rgba(7, 86, 94, 0.09);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--ink);
    background: var(--white);
    font-size: 14px;
    line-height: 1.75;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font: inherit;
}

.container {
    width: min(1120px, 90%);
    margin-inline: auto;
}

.section {
    padding: 68px 0;
}

h1, h2, h3 {
    line-height: 1.25;
}

h2 {
    font-size: clamp(27px, 3.5vw, 37px);
    letter-spacing: -0.8px;
    margin-bottom: 15px;
}

p {
    color: var(--muted);
}

.eyebrow {
    display: inline-block;
    color: var(--teal);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 13px;
}

/* HEADER AND LOGO */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 3px 18px rgba(10, 65, 70, 0.08);
}

.navbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-symbol {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 14px;
    background: var(--teal);
    color: var(--yellow);
    font-size: 29px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(7, 139, 145, 0.22);
}

.brand-name {
    color: var(--teal-dark);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.4px;
}

.brand-name small {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-top: 5px;
    color: var(--blue);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 21px;
}

.nav-links a {
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: var(--blue);
}

.menu-toggle {
    display: none;
    background: var(--teal);
    color: white;
    border: 0;
    border-radius: 7px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 21px;
}

/* BUTTONS */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 19px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease,
                background 0.25s ease;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.button-yellow {
    background: var(--yellow);
    color: #23434a;
}

.button-yellow:hover {
    background: #ffe39a;
}

.button-outline {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.07);
}

.button-outline:hover {
    background: white;
    color: var(--teal-dark);
}

/* HERO */

.hero {
    min-height: 455px;
    display: flex;
    align-items: center;
    background-color: var(--teal-dark);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding-top: 55px;
    padding-bottom: 55px;
    max-width: 1120px;
    width: 90%;
    margin-inline: auto;
}

.hero .eyebrow {
    color: var(--yellow);
}

.hero h1 {
    color: white;
    font-size: clamp(38px, 5.4vw, 58px);
    font-weight: 800;
    letter-spacing: -1.7px;
    line-height: 1.12;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--yellow);
}

.hero-content > p {
    color: #edf9f9;
    max-width: 500px;
    font-size: 14px;
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-note {
    margin-top: 23px;
    color: #edf9f9;
    font-size: 11px;
}

.hero-note span {
    color: var(--yellow);
    font-weight: 800;
    margin-right: 7px;
}

/* QUICK LINKS */

.quick-links {
    background: white;
    border-bottom: 1px solid #e5f0f1;
    padding: 20px 0;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.quick-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.quick-item:hover {
    background: var(--pale-blue);
    transform: translateY(-2px);
}

.quick-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #dff5f5;
    font-size: 21px;
}

.quick-item strong,
.quick-item small {
    display: block;
}

.quick-item strong {
    font-size: 11px;
    color: var(--teal-dark);
}

.quick-item small {
    font-size: 10px;
    color: var(--muted);
}

/* SECTION HEADINGS */

.section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 34px;
}

.section-heading p {
    font-size: 13px;
}

/* ABOUT */

.about-section {
    background: #f5fbfc;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 55px;
}

.about-image {
    position: relative;
    height: 310px;
    border-radius: 12px;
    overflow: hidden;
    background: #d8eeee;
    box-shadow: 12px 12px 0 #c4f0ee;
}

.about-image img {
    height: 100%;
    object-fit: cover;
}

.image-label {
    position: absolute;
    bottom: 14px;
    left: 14px;
    padding: 9px 14px;
    border-radius: 5px;
    background: var(--yellow);
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
}

.about-content p {
    margin-bottom: 15px;
    font-size: 13px;
}

.text-link,
.card-link {
    display: inline-block;
    color: var(--teal);
    font-weight: 700;
    font-size: 12px;
    margin-top: 9px;
}

.text-link:hover,
.card-link:hover {
    color: var(--blue);
}

/* SERVICES */

.services-section {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    padding: 24px 21px;
    border: 1px solid #e4f0f1;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 20px rgba(7, 86, 94, 0.035);
    transition: transform 0.25s ease, box-shadow 0.25s ease,
                border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #9adfe0;
    box-shadow: var(--shadow);
}

.service-icon {
    display: grid;
    place-items: center;
    width: 49px;
    height: 49px;
    background: var(--pale-blue);
    border-radius: 13px;
    font-size: 24px;
    margin-bottom: 17px;
}

.service-card h3 {
    color: var(--teal-dark);
    font-size: 15px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 12px;
    line-height: 1.8;
}

/* SIX EYWEAR PHOTOS */

.eyewear-section {
    background: var(--pale-blue);
}

.eyewear-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.eyewear-card {
    overflow: hidden;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 18px rgba(7, 86, 94, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eyewear-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.eyewear-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    background: #dcecee;
    transition: transform 0.4s ease;
}

.eyewear-card:hover img {
    transform: scale(1.04);
}

.eyewear-info {
    position: relative;
    padding: 15px 17px 17px;
}

.eyewear-info span {
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.eyewear-info h3 {
    color: var(--teal-dark);
    font-size: 14px;
    margin-top: 5px;
}

/* DID YOU KNOW */

.facts-section {
    background: white;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.fact-card {
    position: relative;
    padding: 23px;
    border-radius: 9px;
    border: 1px solid #e2eff0;
    background: #f8fcfc;
    transition: transform 0.25s ease, background 0.25s ease;
}

.fact-card:hover {
    transform: translateY(-4px);
    background: #effafa;
}

.fact-card > span {
    display: inline-grid;
    place-items: center;
    width: 43px;
    height: 43px;
    background: var(--yellow);
    border-radius: 12px;
    font-size: 22px;
    margin-bottom: 13px;
}

.fact-card h3 {
    color: var(--teal-dark);
    font-size: 14px;
    margin-bottom: 8px;
}

.fact-card p {
    font-size: 12px;
}

.screen-reminder {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 22px;
    padding: 19px 22px;
    background: var(--teal-dark);
    border-radius: 9px;
    color: white;
}

.screen-reminder > span {
    font-size: 27px;
}

.screen-reminder p {
    color: white;
    font-size: 12px;
}

.screen-reminder strong {
    color: var(--yellow);
}

/* CONTACT */

.contact-section {
    background: #f1f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px;
    align-items: stretch;
}

.contact-content {
    padding: 30px;
    background: var(--teal-dark);
    color: white;
    border-radius: 11px;
}

.contact-content .eyebrow {
    color: var(--yellow);
}

.contact-content h2 {
    color: white;
    font-size: 29px;
}

.contact-content > p {
    color: #d8eeee;
    font-size: 12px;
    margin-bottom: 22px;
}

.contact-detail {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 18px 0;
}

.contact-detail > span {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 9px;
    font-size: 17px;
}

.contact-detail strong {
    color: var(--yellow);
    font-size: 12px;
}

.contact-detail p {
    color: white;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.contact-content .button {
    margin-top: 10px;
}

.contact-map {
    overflow: hidden;
    background: white;
    border-radius: 11px;
    box-shadow: var(--shadow);
}

.map-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
}

.map-heading > span {
    font-size: 25px;
}

.map-heading h3 {
    color: var(--teal-dark);
    font-size: 14px;
}

.map-heading p {
    font-size: 11px;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 310px;
    border: 0;
}

/* FOOTER */

.site-footer {
    padding: 36px 0 22px;
    text-align: center;
    background: #063e45;
    color: white;
}

.footer-brand {
    margin-bottom: 15px;
    text-align: left;
}

.footer-brand .brand-name {
    color: white;
}

.footer-content > p {
    color: #d0e5e5;
    font-size: 11px;
    margin: 9px 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 18px 0;
}

.footer-links a {
    color: white;
    font-size: 11px;
}

.footer-links a:hover {
    color: var(--yellow);
}

.footer-content .copyright {
    color: #b8d0d2;
    font-size: 10px;
    margin-top: 22px;
}

/* BACK TO TOP */

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 900;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--teal-dark);
    font-size: 23px;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.14);
    transition: transform 0.25s ease;
}

.back-to-top:hover {
    transform: translateY(-4px);
}

/* SCROLL REVEAL ANIMATION */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* TABLETS */

@media (max-width: 900px) {
    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 10px;
    }

    .brand-name {
        font-size: 14px;
    }

    .brand-name small {
        font-size: 9px;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eyewear-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 13px;
    }

    .eyewear-card img {
        height: 155px;
    }
}

/* PHONES */

@media (max-width: 650px) {
    .container {
        width: 91%;
    }

    .section {
        padding: 48px 0;
    }

    .navbar {
        min-height: 70px;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 5px 0 12px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 10px 8px;
        font-size: 12px;
        border-bottom: 1px solid #e8f1f1;
    }

    .hero {
        min-height: 410px;
        background-position: center;
    }

    .hero-content {
        padding: 45px 0;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero-content > p {
        font-size: 13px;
    }

    .hero-buttons {
        align-items: flex-start;
        flex-direction: column;
    }

    .quick-grid {
        gap: 8px;
    }

    .quick-item {
        gap: 8px;
        padding: 9px 5px;
    }

    .quick-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .quick-item strong {
        font-size: 10px;
    }

    .quick-item small {
        font-size: 9px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-image {
        height: 250px;
    }

    .services-grid,
    .facts-grid {
        grid-template-columns: 1fr;
    }

    /* Three pictures per row on larger screens.
       Two per row on small phones for readability. */
    .eyewear-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .eyewear-card img {
        height: 145px;
    }

    .eyewear-info {
        padding: 12px;
    }

    .eyewear-info h3 {
        font-size: 12px;
    }

    .contact-content {
        padding: 24px 20px;
    }

    .contact-map iframe {
        height: 250px;
    }

    .screen-reminder {
        align-items: flex-start;
        padding: 16px;
    }
}

/* REDUCE MOTION FOR USERS WHO PREFER IT */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}