:root {
    --teal: #48B5BC;
    --teal-dark: #3a9da3;
    --teal-soft: rgba(72, 181, 188, 0.12);
    --white: #ffffff;
    --text: #2a3a3c;
    --muted: #5f7275;
    --line: rgba(72, 181, 188, 0.22);
    --shadow: 0 18px 50px rgba(72, 181, 188, 0.12);
    --radius: 18px;
    --font: "Montserrat", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    width: min(92%, 1140px);
    margin: 0 auto;
}

/* ================= GLASS ================= */

.glass {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: var(--shadow);
}

/* ================= NAVBAR ================= */

.navbar {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(94%, 1140px);
    z-index: 1000;
    padding: 14px 22px;
    border-radius: 999px;
    transition: background 0.35s ease, box-shadow 0.35s ease, top 0.35s ease;
}

.navbar.scrolled {
    top: 10px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 30px rgba(42, 58, 60, 0.08);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--teal);
}

.logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--white);
    display: inline-grid;
    place-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

.menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.menu a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--muted);
    position: relative;
    transition: color 0.25s ease;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: width 0.25s ease;
}

.menu a:hover {
    color: var(--teal);
}

.menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(72, 181, 188, 0.12);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--teal);
    transition: 0.25s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ================= HERO ================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 140px 0 90px;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=1800&q=80")
        center / cover no-repeat;
    transform: scale(1.04);
    animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(72, 181, 188, 0.92) 0%,
        rgba(72, 181, 188, 0.78) 42%,
        rgba(72, 181, 188, 0.28) 72%,
        rgba(255, 255, 255, 0.08) 100%
    );
}

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

.hero-brand {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    font-weight: 600;
    line-height: 1.35;
    max-width: 18ch;
    margin-bottom: 16px;
}

.hero-lead {
    font-size: 1.02rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    max-width: 42ch;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroZoom {
    from { transform: scale(1.04); }
    to { transform: scale(1.1); }
}

/* ================= BUTTONS ================= */

.btn-primary,
.btn-glass,
.contact-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
    background: var(--white);
    color: var(--teal);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #f4fcfd;
}

.btn-glass {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-glass:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.28);
}

/* ================= SECTIONS ================= */

section {
    padding: 100px 0;
}

.section-label {
    display: inline-block;
    color: var(--teal);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

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

.section-header h2,
.about-text h2,
.contact-info h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 14px;
}

.section-header p,
.about-text > p,
.contact-info > p {
    color: var(--muted);
    font-size: 1.02rem;
}

/* ================= ABOUT ================= */

.about {
    background:
        radial-gradient(circle at top right, rgba(72, 181, 188, 0.1), transparent 45%),
        var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
}

.about-list {
    margin-top: 28px;
    display: grid;
    gap: 14px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text);
    font-weight: 500;
}

.list-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 1px;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-circle {
    width: min(100%, 420px);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid rgba(72, 181, 188, 0.35);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
    animation: floatSoft 6s ease-in-out infinite;
}

.about-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    width: 58%;
    height: 58%;
    border-radius: 50%;
    right: 4%;
    bottom: -6%;
    background: rgba(72, 181, 188, 0.18);
    border: 1px solid rgba(72, 181, 188, 0.2);
    z-index: 0;
}

@keyframes floatSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ================= PRODUCTS ================= */

.products {
    background:
        linear-gradient(180deg, rgba(72, 181, 188, 0.06), transparent 28%),
        var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.product-tile {
    min-height: 210px;
    padding: 34px 28px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-tile:hover {
    transform: translateY(-6px);
}

.product-tile h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.product-tile p {
    font-size: 0.95rem;
    line-height: 1.55;
}

.tile-teal {
    background: var(--teal);
    color: var(--white);
    box-shadow: 0 16px 40px rgba(72, 181, 188, 0.28);
}

.tile-glass {
    color: var(--text);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
}

.tile-glass h3 {
    color: var(--teal);
}

.tile-glass p {
    color: var(--muted);
}

/* ================= NEWS ================= */

.news {
    background:
        radial-gradient(circle at bottom left, rgba(72, 181, 188, 0.08), transparent 40%),
        var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-6px);
}

.news-media {
    height: 200px;
    overflow: hidden;
}

.news-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-media img {
    transform: scale(1.06);
}

.news-content {
    padding: 24px;
}

.news-content time {
    color: var(--teal);
    font-size: 0.82rem;
    font-weight: 600;
}

.news-content h3 {
    margin: 10px 0 8px;
    font-size: 1.1rem;
    color: var(--text);
}

.news-content p {
    color: var(--muted);
    font-size: 0.94rem;
}

/* ================= CONTACT ================= */

.contact {
    background:
        linear-gradient(135deg, rgba(72, 181, 188, 0.1), rgba(255, 255, 255, 0.4) 45%),
        var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
    align-items: start;
}

.contact-details {
    margin-top: 32px;
    display: grid;
    gap: 18px;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--teal);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
    flex-shrink: 0;
}

.contact-details strong {
    display: block;
    font-size: 0.85rem;
    color: var(--teal);
    margin-bottom: 2px;
}

.contact-details span:last-child {
    color: var(--text);
    font-weight: 500;
}

.contact-form {
    padding: 36px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    display: grid;
    gap: 16px;
}

.contact-form h3 {
    color: var(--text);
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 16px;
    border-radius: 12px;
    border: 1px solid rgba(72, 181, 188, 0.28);
    background: rgba(255, 255, 255, 0.85);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(72, 181, 188, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-form .btn-primary {
    background: var(--teal);
    color: var(--white);
    width: fit-content;
}

.contact-form .btn-primary:hover {
    background: var(--teal-dark);
}

/* ================= FOOTER ================= */

.footer {
    padding: 36px 0 48px;
    border-top: 1px solid var(--line);
    background: var(--white);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-logo {
    font-size: 1rem;
}

.footer p {
    color: var(--muted);
    font-size: 0.92rem;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
    .about-grid,
    .contact-grid,
    .product-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-visual {
        order: -1;
    }

    .about-circle {
        width: min(100%, 360px);
    }

    .hero {
        align-items: center;
        padding: 130px 0 80px;
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(72, 181, 188, 0.88) 0%,
            rgba(72, 181, 188, 0.78) 55%,
            rgba(72, 181, 188, 0.55) 100%
        );
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: inline-flex;
    }

    .menu {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border: 1px solid rgba(255, 255, 255, 0.7);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: 0.25s ease;
    }

    .menu.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .menu a {
        display: block;
        padding: 14px 16px;
        border-radius: 12px;
    }

    .menu a:hover {
        background: var(--teal-soft);
    }

    .menu a::after {
        display: none;
    }

    .product-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 80px 0;
    }

    .contact-form {
        padding: 28px 22px;
    }

    .footer-inner {
        justify-content: center;
        text-align: center;
    }
}
