:root {
    --navy-950: #071018;
    --navy-900: #0b1c2e;
    --navy-800: #123049;
    --navy-700: #1a4564;
    --cyan-300: #7ed7e4;
    --cyan-400: #4ec4d6;
    --cyan-500: #2aaec2;
    --cyan-600: #1d8ea0;
    --ice: #f4fbfc;
    --mist: #e7f2f5;
    --paper: #f7f9fb;
    --line: rgba(18, 48, 73, 0.12);
    --ink: #12212f;
    --muted: #5b6d7c;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(7, 16, 24, 0.12);
    --shadow-lg: 0 30px 80px rgba(7, 16, 24, 0.18);
    --radius: 18px;
    --header-h: 84px;
    --topbar-h: 40px;
    --font-display: "Outfit", "Segoe UI", sans-serif;
    --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.03em;
}

p {
    margin: 0 0 1rem;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -40px;
    background: var(--cyan-400);
    color: var(--navy-950);
    padding: 8px 14px;
    z-index: 2000;
    border-radius: 8px;
    font-weight: 700;
}

.skip-link:focus {
    top: 12px;
}

/* Topbar */
.topbar {
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    min-height: var(--topbar-h);
    display: flex;
    align-items: center;
}

.topbar-inner,
.header-inner,
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar-left,
.topbar-right {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.84);
    transition: color 0.2s ease;
}

.topbar-item svg {
    width: 14px;
    height: 14px;
    fill: var(--cyan-400);
}

.topbar-item:hover {
    color: var(--cyan-300);
}

.topbar-item.muted {
    opacity: 0.85;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.header.is-scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 10px 30px rgba(7, 16, 24, 0.08);
}

.header-inner {
    min-height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo {
    height: 48px;
    width: auto;
    max-width: min(340px, 58vw);
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--navy-800);
    padding: 10px 16px;
    border-radius: 999px;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    background: var(--mist);
    color: var(--navy-900);
}

.nav-cta {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
    color: #fff !important;
    margin-left: 8px;
    box-shadow: 0 8px 20px rgba(18, 48, 73, 0.2);
}

.nav-cta:hover,
.nav-cta.is-active {
    background: linear-gradient(135deg, var(--cyan-500), var(--navy-800));
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: var(--navy-900);
    border-radius: 2px;
    transition: 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

input.btn,
input[type="submit"].btn {
    display: inline-block;
    height: 50px;
    line-height: 50px;
    padding: 0 28px;
    appearance: none;
    -webkit-appearance: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan-400), var(--cyan-600));
    color: var(--navy-950);
    box-shadow: 0 12px 28px rgba(42, 174, 194, 0.28);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-dark {
    background: var(--navy-900);
    color: #fff;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(900px 420px at 85% 10%, rgba(78, 196, 214, 0.22), transparent 60%),
        radial-gradient(700px 380px at 8% 90%, rgba(26, 69, 100, 0.7), transparent 55%),
        linear-gradient(160deg, #081421 0%, #123049 55%, #0b1c2e 100%);
    min-height: calc(100vh - var(--header-h) - var(--topbar-h));
    display: flex;
    align-items: center;
    padding: 72px 0 96px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    left: -140px;
    top: 18%;
    border: 1px solid rgba(126, 215, 228, 0.12);
    border-radius: 50%;
    box-shadow:
        inset 0 0 0 40px rgba(126, 215, 228, 0.03),
        0 0 80px rgba(42, 174, 194, 0.08);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 1fr);
    gap: 36px;
    align-items: center;
}

.hero-copy {
    position: relative;
    padding-left: 28px;
}

.hero-copy::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 12px;
    width: 3px;
    border-radius: 99px;
    background: linear-gradient(180deg, var(--cyan-300), rgba(42, 174, 194, 0.05));
}

.hero-copy-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    left: 40px;
    top: 40px;
    background: radial-gradient(circle, rgba(78, 196, 214, 0.18), transparent 68%);
    filter: blur(8px);
    pointer-events: none;
    z-index: -1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 8px;
    border-radius: 999px;
    background: rgba(78, 196, 214, 0.12);
    border: 1px solid rgba(78, 196, 214, 0.28);
    color: var(--cyan-300);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan-400);
    box-shadow: 0 0 0 6px rgba(78, 196, 214, 0.18);
    animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 6px rgba(78, 196, 214, 0.18); }
    50% { box-shadow: 0 0 0 10px rgba(78, 196, 214, 0.08); }
}

.hero-brand {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.hero-brand::after {
    content: "";
    display: block;
    width: 72px;
    height: 2px;
    margin-top: 12px;
    background: linear-gradient(90deg, var(--cyan-400), transparent);
}

.hero h1 {
    font-size: clamp(2.35rem, 4.1vw, 3.7rem);
    font-weight: 800;
    margin-bottom: 20px;
    max-width: none;
    line-height: 1.06;
    letter-spacing: -0.045em;
}

.hero-h1-top,
.hero-h1-accent {
    display: block;
}

.hero-h1-accent {
    background: linear-gradient(90deg, #b8f0f8 0%, var(--cyan-300) 45%, #4ec4d6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    font-size: 1.16rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    max-width: 44ch;
    margin-bottom: 30px;
}

.hero-copy .btn-primary svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
}

.hero-pills li {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.78);
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
}

.hero-visual {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 50% 62%, rgba(78, 196, 214, 0.16), transparent 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 22px 18px 16px;
    box-shadow: var(--shadow-lg);
}

.hero-visual figure {
    margin: 0;
    text-align: center;
}

.hero-visual img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
    margin: 0 auto;
    filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.45));
}

.hero-visual figcaption {
    margin-top: 14px;
}

.hero-visual figcaption span {
    display: block;
    font-family: var(--font-display);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cyan-300);
    margin-bottom: 4px;
}

.hero-visual figcaption strong {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 600;
    color: #fff;
}

.hero-slider {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 50% 62%, rgba(78, 196, 214, 0.16), transparent 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 18px 18px 14px;
    box-shadow: var(--shadow-lg);
    min-height: 430px;
}

.hero-slider-stage {
    position: relative;
    height: 360px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    opacity: 0;
    transform: translateX(18px);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.hero-slide img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 292px;
    object-fit: contain;
    filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.45));
}

.hero-slide figcaption {
    width: 100%;
    margin-top: 12px;
    text-align: center;
}

.hero-slide figcaption span {
    display: block;
    font-family: var(--font-display);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cyan-300);
    margin-bottom: 4px;
}

.hero-slide figcaption strong {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 600;
    color: #fff;
}

.hero-slider-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.hero-slider-btn {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
}

.hero-slider-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.hero-slider-btn:hover {
    background: rgba(78, 196, 214, 0.22);
    border-color: rgba(78, 196, 214, 0.45);
}

.hero-slider-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.hero-slider-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: 0.2s ease;
}

.hero-slider-dot.is-active {
    width: 22px;
    background: var(--cyan-400);
}

.hero-panel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 28px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.hero-panel h2 {
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.hero-list li {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
}

.hero-list li:last-child {
    border-bottom: 0;
}

.hero-list svg {
    width: 18px;
    height: 18px;
    fill: var(--cyan-400);
    flex-shrink: 0;
    margin-top: 3px;
}

.stats {
    margin-top: -48px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.stat {
    padding: 28px 22px;
    text-align: center;
    border-right: 1px solid var(--line);
}

.stat:last-child {
    border-right: 0;
}

.stat b {
    display: block;
    font-family: var(--font-display);
    font-size: 1.9rem;
    color: var(--navy-900);
    letter-spacing: -0.04em;
}

.stat span {
    color: var(--muted);
    font-size: 0.92rem;
}

/* Sections */
.section {
    padding: 92px 0;
}

.section-alt {
    background: linear-gradient(180deg, #fff 0%, var(--ice) 100%);
}

.section-head {
    max-width: 720px;
    margin-bottom: 48px;
}

.section-head.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.kicker {
    color: var(--cyan-600);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 10px;
}

.section-head h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    color: var(--navy-900);
    margin-bottom: 14px;
}

.lead {
    color: var(--muted);
    font-size: 1.08rem;
}

.grid-3,
.grid-2,
.grid-4,
.products-grid {
    display: grid;
    gap: 22px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card,
.product-card,
.contact-card,
.principle {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(7, 16, 24, 0.05);
}

.card {
    padding: 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--mist), #fff);
    border: 1px solid var(--line);
    margin-bottom: 16px;
}

.icon-wrap svg {
    width: 26px;
    height: 26px;
    fill: var(--cyan-600);
}

.card h3,
.product-card h2,
.product-card h3 {
    font-size: 1.2rem;
    color: var(--navy-900);
    margin-bottom: 10px;
}

.card p,
.muted {
    color: var(--muted);
}

/* Page hero */
.page-hero {
    background:
        radial-gradient(700px 280px at 90% 0%, rgba(78, 196, 214, 0.2), transparent 60%),
        linear-gradient(135deg, var(--navy-900), var(--navy-800));
    color: #fff;
    padding: 78px 0 70px;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 280px;
    height: 280px;
    border: 18px solid rgba(78, 196, 214, 0.12);
    border-radius: 50%;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    margin-bottom: 12px;
}

.page-hero p {
    max-width: 58ch;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.1rem;
}

.prose {
    max-width: 820px;
}

.prose p {
    font-size: 1.08rem;
    color: #304354;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
}

.quote-panel {
    background: var(--navy-900);
    color: #fff;
    border-radius: 28px;
    padding: 36px;
    position: sticky;
    top: 120px;
}

.quote-panel p {
    font-size: 1.25rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}

.quote-panel span {
    display: block;
    margin-top: 18px;
    color: var(--cyan-300);
    font-family: var(--font-display);
    font-weight: 600;
}

/* Principles */
.principle {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 24px;
    align-items: start;
}

.num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--cyan-400), var(--navy-800));
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
}

.principle h3 {
    margin-bottom: 6px;
    color: var(--navy-900);
}

/* Products */
.product-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card header {
    padding: 24px 24px 12px;
    background: linear-gradient(180deg, var(--ice), #fff);
    border-bottom: 1px solid var(--line);
}

.product-card header span {
    color: var(--cyan-600);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-card ul,
.product-card p {
    padding: 8px 24px 24px;
}

.product-card li {
    position: relative;
    padding: 9px 0 9px 22px;
    color: #314556;
    border-bottom: 1px dashed var(--line);
}

.product-card li:last-child {
    border-bottom: 0;
}

.product-card li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan-500);
    position: absolute;
    left: 0;
    top: 16px;
}

.cta-band {
    background:
        linear-gradient(135deg, rgba(11, 28, 46, 0.92), rgba(18, 48, 73, 0.88)),
        radial-gradient(600px 200px at 20% 0%, rgba(78, 196, 214, 0.35), transparent);
    color: #fff;
    border-radius: 28px;
    padding: 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cta-band h2 {
    margin-bottom: 8px;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
}

.contact-card {
    padding: 22px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-card h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-card a {
    color: var(--navy-800);
    font-weight: 600;
}

.map-wrap {
    margin-top: 28px;
    border-radius: 24px;
    overflow: hidden;
    min-height: 340px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.map-wrap iframe {
    width: 100%;
    height: 340px;
    border: 0;
    display: block;
}

.form-card {
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    font-family: var(--font-display);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--navy-800);
}

.field input,
.field textarea,
.field select,
.form-input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    background: var(--ice);
    color: var(--ink);
}

.field textarea,
.form-input.multi {
    min-height: 140px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus,
.form-input:focus {
    outline: 2px solid rgba(42, 174, 194, 0.35);
    border-color: var(--cyan-500);
    background: #fff;
}

.honeypot {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.alert {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-weight: 600;
}

.alert-ok {
    background: #e8f8ef;
    color: #146c43;
}

.alert-err {
    background: #fdecec;
    color: #9b1c1c;
}

.validator {
    color: #b42318;
    font-size: 0.8rem;
}

/* Footer */
.footer {
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.78);
    margin-top: 40px;
}

.footer-accent {
    height: 3px;
    background: linear-gradient(90deg, var(--cyan-400), transparent 70%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 32px;
    padding: 56px 0 36px;
}

.footer-logo {
    height: 46px;
    width: auto;
    max-width: 320px;
    margin-bottom: 16px;
    object-fit: contain;
}

.footer h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 14px;
}

.footer a:hover {
    color: var(--cyan-300);
}

.footer-contact li {
    margin-bottom: 10px;
}

.footer-bottom-inner {
    flex-wrap: wrap;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    opacity: 0.92;
    transition: opacity 0.2s ease;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.lang-switch a {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.78);
    padding: 4px 9px;
    border-radius: 999px;
    line-height: 1;
}

.lang-switch a:hover {
    color: #fff;
}

.lang-switch a.is-on {
    background: var(--cyan-400);
    color: var(--navy-950);
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) 1.1fr;
    gap: 36px;
    align-items: start;
}

.product-photo {
    margin: 0;
    background: linear-gradient(180deg, #123049, #0b1c2e);
    border-radius: 24px;
    padding: 18px;
}

.product-photo img {
    width: 100%;
    max-height: 460px;
    object-fit: contain;
}

.product-points li {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.product-link {
    display: block;
    color: inherit;
}

.product-more {
    display: inline-block;
    margin: 8px 22px 18px;
    color: var(--cyan-600);
    font-weight: 700;
}

html[dir="rtl"] body {
    font-family: "Cairo", var(--font-body);
}

html[dir="rtl"] .hero-copy {
    padding-left: 0;
    padding-right: 28px;
}

html[dir="rtl"] .hero-copy::before {
    left: auto;
    right: 0;
}

@media (max-width: 980px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
}

.footer-credit img {
    height: 36px;
    width: auto;
    max-width: 160px;
    display: block;
}

.footer-credit:hover {
    opacity: 1;
}

.whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
    z-index: 40;
}

.whatsapp svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.reveal {
    animation: rise 0.7s ease both;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
    .hero-inner,
    .story-grid,
    .contact-layout,
    .cta-band,
    .footer-grid,
    .stats-grid,
    .grid-4,
    .grid-3,
    .grid-2,
    .form-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .cta-band,
    .hero {
        text-align: left;
    }

    .stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .header {
        z-index: 80;
    }

    .nav-toggle {
        display: block;
        margin-inline-start: auto;
        z-index: 2;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: auto;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px 18px;
        gap: 6px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 40px rgba(7, 16, 24, 0.16);
        z-index: 1;
    }

    .nav.is-open {
        display: flex;
    }

    .nav-link {
        border-radius: 12px;
    }

    .nav-cta {
        margin-left: 0;
        text-align: center;
    }

    .hero {
        min-height: auto;
        padding: 48px 0 80px;
    }

    .hero-copy {
        padding-left: 22px;
    }

    .hero h1 {
        max-width: none;
    }

    .hero-visual img {
        max-height: 280px;
    }

    .hero-slider {
        min-height: 0;
    }

    .hero-slider-stage {
        height: 300px;
    }

    .hero-slide img {
        max-height: 240px;
    }

    .hero::after {
        width: 280px;
        height: 280px;
        left: -90px;
    }

    .quote-panel {
        position: static;
    }

    .topbar-place {
        display: none;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(1180px, calc(100% - 28px));
    }

    .brand-logo {
        height: 34px;
        max-width: min(220px, 62vw);
    }

    .section {
        padding: 64px 0;
    }

    .cta-band {
        padding: 28px;
    }
}

.footer-address {
    font-style: normal;
    line-height: 1.6;
}

.crumbs-wrap {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
}

.crumbs {
    font-size: 0.86rem;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.crumbs a {
    color: var(--navy-800);
    font-weight: 600;
}

.crumbs a:hover {
    color: var(--cyan-600);
}

.crumbs-sep {
    opacity: 0.45;
}
