:root {
    --navy: #0b3d4a;
    --navy-deep: #072c36;
    --teal: #1a9b8e;
    --teal-dark: #147f74;
    --gold: #c4a35a;
    --gold-soft: #e8d7a8;
    --ink: #1a2b2e;
    --muted: #5b6b6e;
    --line: #d9e3e1;
    --paper: #f4f7f6;
    --white: #ffffff;
    --wa: #128c7e;
    --phone: #0f6e4c;
    --shadow: 0 12px 40px rgba(11, 61, 74, 0.12);
    --radius: 18px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--teal-dark);
    text-decoration: none;
}

a:hover {
    color: var(--navy);
}

h1, h2, h3 {
    font-family: Outfit, "Segoe UI", sans-serif;
    letter-spacing: -0.02em;
    color: var(--navy);
}

.brand strong {
    font-family: Outfit, "Segoe UI", sans-serif;
    letter-spacing: -0.02em;
    color: var(--navy);
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    background: var(--navy);
    color: #fff;
    padding: 8px 12px;
    z-index: 1000;
}

.skip-link:focus {
    left: 8px;
}

.topbar {
    background: var(--navy-deep);
    color: #d7ece8;
    font-size: 0.92rem;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    flex-wrap: wrap;
}

.topbar-phones {
    display: flex;
    gap: 8px;
    align-items: center;
}

.topbar-phone,
.topbar a {
    color: var(--gold-soft);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 84px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
}

.brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 50%;
    background: transparent;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 1.15rem;
}

.brand-text small {
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header-inner,
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 84px;
}

.main-nav,
.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav > a,
.main-nav > a,
.nav-item > a,
.nav-row > a {
    display: inline-flex;
    padding: 8px 12px;
    color: var(--navy);
    font-weight: 600;
    border-radius: 999px;
}

.main-nav a.is-active,
.main-nav a.is-active,
.main-nav a:hover,
.main-nav a:hover {
    background: var(--paper);
    color: var(--teal-dark);
}

.nav-cta,
.nav-cta {
    background: var(--teal) !important;
    color: #fff !important;
    margin-left: 6px;
}

.nav-item {
    position: relative;
}

.nav-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-sub-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    place-items: center;
    color: var(--navy);
    flex-shrink: 0;
}

.nav-arrow {
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;
}

.nav-item.is-open .nav-arrow {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.nav-sub,
.nav-sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px;
    box-shadow: var(--shadow);
}

.nav-item:hover .nav-sub,
.nav-item:focus-within .nav-sub,
.nav-item:hover .nav-sub,
.nav-item:focus-within .nav-sub {
    display: grid;
}

.nav-sub a,
.nav-sub a {
    display: block;
    padding: 8px 10px;
    color: var(--ink);
    border-radius: 8px;
}

.nav-sub a:hover,
.nav-sub a:hover {
    background: var(--paper);
}

.nav-toggle,
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 10px;
}

.nav-toggle span,
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--navy);
}

.hero {
    background:
        radial-gradient(circle at 80% 10%, rgba(196, 163, 90, 0.22), transparent 28%),
        linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 48%, #0e5c5a 100%);
    color: #eef7f5;
    padding: 72px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 320px;
    height: 320px;
    border: 24px solid rgba(196, 163, 90, 0.15);
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.15;
    margin: 0 0 16px;
}

.hero p {
    font-size: 1.12rem;
    max-width: 540px;
    color: #d5ebe7;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    padding: 24px;
    backdrop-filter: blur(8px);
}

.hero-card h2 {
    color: var(--gold-soft);
    font-size: 1rem;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-card li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    font-family: Outfit, sans-serif;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy-deep);
}

.btn-primary:hover {
    background: #d4b56a;
    color: var(--navy-deep);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn:not(.btn-primary):not(.btn-ghost):not(.btn-wa) {
    background: var(--paper);
    color: var(--navy);
    border: 1px solid var(--line);
}

.hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.btn-ghost:hover {
    background: #fff;
    color: var(--navy);
}

.btn-wa {
    background: var(--wa);
    color: #fff;
}

.btn-wa:hover {
    color: #fff;
    filter: brightness(1.05);
}

.section {
    padding: 72px 0;
}

.section-muted {
    background: var(--paper);
}

.section-head {
    max-width: 680px;
    margin-bottom: 32px;
}

.section-head h1,
.section-head h2 {
    margin-bottom: 8px;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.kicker {
    color: var(--teal-dark);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin: 0 0 8px;
}

.grid-4,
.grid-3,
.grid-2 {
    display: grid;
    gap: 18px;
}

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.region-split {
    align-items: stretch;
    margin-top: 8px;
}

.why-title {
    margin: 8px 0 16px;
    font-size: 1.35rem;
}

.why-grid {
    align-items: stretch;
}

.why-grid .card {
    height: 100%;
}

.why-cta .btn,
.why-cta .btn {
    margin-top: 4px;
}

.card,
.service-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 1px 0 rgba(11, 61, 74, 0.04);
    overflow: hidden;
}

.service-card .thumb {
    width: calc(100% + 44px);
    max-width: none;
    height: auto;
    display: block;
    margin: -22px -22px 16px;
}

.hero-visual {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.hero-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.article-photo,
.page-photo,
.contact-photo {
    margin: 0 0 24px;
    border-radius: 16px;
    overflow: hidden;
}

.article-photo img,
.page-photo img,
.contact-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: #b9d8d3;
}

.service-card h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.icon-dot {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #e7f4f2;
    color: var(--teal-dark);
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    font-weight: 700;
}

.page-hero {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 42px 0;
}

.breadcrumb {
    display: none !important;
}

.breadcrumb a {
    color: var(--muted);
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
    padding: 48px 0 72px;
    align-items: start;
}

.prose h1 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-top: 0;
    line-height: 1.2;
}

.prose p,
.prose li {
    font-size: 1.05rem;
    color: #243437;
}

.prose h2 {
    margin-top: 2em;
    font-size: 1.45rem;
}

.prose h3 {
    font-size: 1.15rem;
}

.article-sidebar {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 104px;
}

.side-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
}

.side-wa {
    background: linear-gradient(180deg, #0f5c55, #128c7e);
    color: #fff;
    border: 0;
}

.side-wa h2,
.side-phone h2 {
    color: inherit;
    font-size: 1.2rem;
    margin: 4px 0 8px;
}

.side-wa p,
.side-phone p {
    margin-top: 0;
}

.side-wa a:not(.btn) {
    color: #fff;
}

.side-kicker {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    font-weight: 700;
    margin: 0;
    opacity: 0.8;
}

.side-phone {
    background: var(--navy);
    color: #e8f4f1;
}

.phone-line {
    display: block;
    color: var(--gold-soft);
    font-weight: 700;
    font-size: 1.05rem;
    margin: 6px 0;
}

.side-phone .btn {
    width: 100%;
    margin-top: 12px;
}

.side-links {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

.side-links li {
    border-top: 1px solid var(--line);
}

.side-links a {
    display: block;
    padding: 8px 0;
    color: var(--navy);
    font-weight: 600;
}

.faq {
    margin-top: 40px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 10px;
    background: #fff;
}

.faq-item summary {
    cursor: pointer;
    padding: 14px 16px;
    font-weight: 700;
    font-family: Outfit, sans-serif;
    color: var(--navy);
}

.faq-item p {
    margin: 0;
    padding: 0 16px 16px;
}

.site-footer {
    background: var(--navy-deep);
    color: #cfe3df;
    padding-top: 48px;
}

.site-footer h2 {
    color: var(--gold-soft);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.site-footer a {
    color: #d7ece8;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin: 6px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 24px;
    padding-bottom: 32px;
}

.brand-footer {
    color: #fff;
    margin-bottom: 12px;
}

.site-footer a.brand,
.site-footer a.brand.brand-footer,
.site-footer a.brand .brand-text,
.site-footer a.brand .brand-text strong,
.site-footer a.brand strong,
.site-footer .brand-text strong {
    color: #ffffff !important;
}

.site-footer a.brand .brand-text small,
.site-footer .brand-text small {
    color: var(--gold-soft) !important;
}

.footer-lead {
    margin: 12px 0 0;
    max-width: 36ch;
    line-height: 1.55;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
    font-size: 0.9rem;
}

.float-cta {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.float-btn svg {
    width: 26px;
    height: 26px;
}

.float-phone {
    background: var(--phone);
}

.float-wa {
    background: #25d366;
}

.float-label {
    position: absolute;
    right: 66px;
    background: var(--navy);
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(6px);
    pointer-events: none;
    transition: 0.2s ease;
}

.float-btn:hover .float-label,
.float-btn:focus .float-label {
    opacity: 1;
    transform: none;
}

.float-phone .pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(15, 110, 76, 0.55);
    animation: ring 1.6s ease-out infinite;
}

.float-phone .pulse::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(15, 110, 76, 0.28);
    animation: ring 1.6s ease-out infinite 0.4s;
}

@keyframes ring {
    0% { transform: scale(0.92); opacity: 0.9; }
    100% { transform: scale(1.25); opacity: 0; }
}

.form {
    display: grid;
    gap: 12px;
}

.form label {
    display: grid;
    gap: 6px;
    font-weight: 600;
    color: var(--navy);
}

.form input,
.form textarea,
.form select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
}

.form textarea {
    min-height: 140px;
    resize: vertical;
}

.form textarea.code {
    min-height: 180px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.92rem;
}

.hp {
    position: absolute;
    left: -9999px;
}

.alert {
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.alert-ok { background: #e5f6ef; color: #0b5b3c; }
.alert-err { background: #fdecec; color: #8a1f1f; }

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
}

.process li {
    margin-bottom: 8px;
}

.site-header.nav-open .main-nav,
.site-header.nav-open .main-nav {
    display: flex;
}

@media (max-width: 980px) {
    .hero-grid,
    .article-layout,
    .footer-grid,
    .contact-grid,
    .grid-4,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .grid-2 { grid-template-columns: 1fr; }
    .nav-toggle,
    .nav-toggle { display: flex; }
    .header-inner,
    .header-inner { min-height: 72px; }
    .main-nav,
    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #fff;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        padding: 4px 16px 12px;
        align-items: stretch;
        gap: 2px;
    }
    .site-header.nav-open .main-nav,
    .site-header.nav-open .main-nav,
    .site-header.nav-open .main-nav,
    .site-header.nav-open .main-nav { display: flex; }
    .nav-row {
        width: 100%;
        justify-content: space-between;
    }
    .nav-sub-toggle { display: grid; }
    .nav-cta,
    .nav-cta { display: none !important; }
    .nav-item:hover .nav-sub,
    .nav-item:focus-within .nav-sub,
    .nav-item:hover .nav-sub,
    .nav-item:focus-within .nav-sub {
        display: none !important;
    }
    .nav-sub,
    .nav-sub {
        position: static;
        display: none !important;
        box-shadow: none;
        border: 0;
        padding: 0 0 0 12px;
        min-width: 0;
    }
    .nav-item.is-open .nav-sub,
    .nav-item.is-open .nav-sub {
        display: grid !important;
    }
    .article-sidebar { position: static; }
    .float-label { display: none; }
}
