:root {
    color-scheme: light;
    --brand: #ad0018;
    --brand-dark: #8d0010;
    --brand-hover: #950014;
    --brand-soft: #f9e9eb;
    --ink: #20242b;
    --muted: #68738b;
    --subtle: #9299a5;
    --line: #e1e4e8;
    --canvas: #fbfaf9;
    --warm: #f8f5f2;
    --surface: #ffffff;
    --shadow: 0 18px 55px rgba(50, 37, 31, 0.07);
    --shadow-lg: 0 28px 80px rgba(50, 37, 31, 0.12);
    --container: 1180px;
}

[data-theme="dark"] {
    color-scheme: dark;
    --ink: #f8f5f2;
    --muted: #c4bbc0;
    --subtle: #a99ea3;
    --line: #3f3438;
    --canvas: #191416;
    --warm: #211a1d;
    --surface: #271e21;
    --brand-soft: #40131b;
    --shadow: 0 18px 55px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.3);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--canvas);
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--canvas);
    color: var(--ink);
    font-family: Figtree, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(173, 0, 24, 0.32);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    left: 20px;
    top: -80px;
    z-index: 1000;
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    padding: 12px 18px;
    box-shadow: var(--shadow);
    text-decoration: none;
}

.skip-link:focus {
    top: 20px;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
    background: color-mix(in srgb, var(--canvas) 88%, transparent);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: 100%;
    max-width: 1560px;
    min-height: 80px;
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.4vw, 22px);
    margin-inline: auto;
    padding-inline: clamp(16px, 2.2vw, 34px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: none;
    color: var(--ink);
    text-decoration: none;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 50%;
    object-fit: cover;
}

.brand-copy {
    display: grid;
    gap: 1px;
    line-height: 1;
}

.brand-copy strong {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-copy small {
    color: var(--subtle);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-left: auto;
}

.nav-link,
.info-summary {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"],
.info-summary:hover {
    background: var(--warm);
    color: var(--ink);
}

.info-menu {
    position: relative;
}

.info-menu[open] .info-summary {
    background: var(--warm);
    color: var(--ink);
}

.info-summary::-webkit-details-marker {
    display: none;
}

.info-summary::after {
    content: "⌄";
    margin-left: 7px;
    transform: translateY(-2px);
}

.info-popover {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 310px;
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    padding: 10px;
    box-shadow: var(--shadow-lg);
}

.info-popover a {
    border-radius: 14px;
    color: var(--muted);
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.info-popover a:hover {
    background: var(--warm);
    color: var(--ink);
}

.header-actions {
    display: flex;
    align-items: center;
    flex: none;
    gap: 8px;
}

.header-actions .button {
    min-height: 44px;
    padding-inline: 16px;
    white-space: nowrap;
}

.lang-switch {
    display: inline-flex;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    padding: 3px;
}

.lang-button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--subtle);
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
}

.lang-button:hover,
.lang-button[aria-pressed="true"] {
    background: var(--brand-soft);
    color: var(--brand);
}

.icon-button,
.menu-button {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
}

.menu-button {
    display: none;
    font-size: 22px;
}

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0 21px;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 12px 24px rgba(173, 0, 24, 0.16);
}

.button-primary:hover {
    background: var(--brand-hover);
}

.button-secondary {
    border-color: var(--line);
    background: var(--surface);
    color: var(--ink);
}

.button-secondary:hover {
    background: var(--warm);
}

.button-light {
    background: #fff;
    color: var(--brand-dark);
}

.button-ghost {
    min-height: 42px;
    color: var(--brand);
    padding-inline: 0;
}

.mobile-panel {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    overflow-y: auto;
    background: var(--canvas);
    padding: 20px;
}

.mobile-panel.is-open {
    display: block;
}

.mobile-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav {
    display: grid;
    gap: 4px;
    margin-top: 30px;
}

.mobile-nav a {
    border-bottom: 1px solid var(--line);
    padding: 16px 4px;
    color: var(--ink);
    font-size: clamp(22px, 7vw, 32px);
    font-weight: 800;
    letter-spacing: -0.035em;
    text-decoration: none;
}

.mobile-info {
    display: grid;
    gap: 10px;
    margin-top: 30px;
}

.mobile-info a {
    color: var(--muted);
    font-weight: 650;
    text-decoration: none;
}

.mobile-actions {
    display: grid;
    gap: 10px;
    margin-top: 32px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    text-wrap: balance;
}

h1 {
    margin-bottom: 20px;
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.04;
}

h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.lead {
    max-width: 680px;
    color: var(--muted);
    font-size: clamp(17px, 2.2vw, 20px);
    line-height: 1.65;
}

.hero {
    padding: 34px 0 70px;
}

.hero-grid {
    min-height: 590px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.92fr);
    align-items: center;
    gap: clamp(42px, 7vw, 86px);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 58px) 0;
}

.hero-copy h1 {
    max-width: 690px;
    font-size: clamp(32px, 3.8vw, 46px);
    line-height: 1.03;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.disclaimer {
    margin: 14px 0 0;
    color: var(--subtle);
    font-size: 12px;
}

.hero-visual {
    min-width: 0;
}

.hero-slogan {
    margin: 0 0 14px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-align: center;
    text-transform: uppercase;
}

.hero-image-frame {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.hero-image-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 1448 / 1086;
    object-fit: contain;
}

.section {
    scroll-margin-top: 96px;
    padding: clamp(62px, 9vw, 112px) 0;
}

.section-tight {
    padding: clamp(48px, 7vw, 82px) 0;
}

.section-warm {
    background: var(--warm);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading.split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
    align-items: end;
    gap: 28px;
}

.section-heading.split .lead {
    margin-bottom: 5px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 20px;
}

.card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--surface);
    padding: 26px;
    box-shadow: var(--shadow);
}

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

.service-card:first-child {
    grid-column: span 2;
    background: var(--brand-soft);
    padding: 32px;
}

.service-card {
    min-height: 286px;
}

.service-card:first-child h3 {
    font-size: clamp(24px, 3vw, 30px);
}

.service-card:first-child p {
    max-width: 560px;
    font-size: 17px;
}

.service-card .button {
    align-self: flex-start;
    margin-top: auto;
}

.service-index {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border-radius: 17px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
}

.service-card:first-child .service-index {
    background: var(--surface);
}

.tag {
    align-self: flex-start;
    margin: 2px 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 800;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.process-card {
    position: relative;
    min-height: 270px;
    justify-content: space-between;
}

.process-number {
    color: var(--brand);
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.benefit {
    border-top: 2px solid var(--brand);
    padding: 24px 4px 0;
}

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

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    align-items: center;
    gap: clamp(36px, 5vw, 58px);
}

.about-image {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1448 / 1086;
    object-fit: contain;
}

.about-copy h2 {
    max-width: 520px;
    font-size: clamp(26px, 4vw, 36px);
}

.about-copy-text {
    max-width: 520px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
    white-space: pre-line;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.review-card {
    min-height: 285px;
}

.stars {
    margin-bottom: 24px;
    color: var(--brand);
    font-size: 17px;
    letter-spacing: 0.15em;
}

.review-text {
    flex: 1;
    color: var(--ink) !important;
    font-size: 17px;
    line-height: 1.65;
}

.review-meta {
    display: grid;
    gap: 2px;
    margin-top: 24px;
}

.review-meta strong,
.review-meta small {
    display: block;
}

.review-meta small {
    color: var(--subtle);
}

.review-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.contact-section {
    scroll-margin-top: 96px;
    padding: 0 0 34px;
}

.contact-panel {
    position: relative;
    overflow: hidden;
    border-radius: 36px;
    background: var(--brand-dark);
    color: #fff;
    padding: clamp(38px, 7vw, 78px);
}

.contact-panel::before,
.contact-panel::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: "";
}

.contact-panel::before {
    width: 420px;
    height: 420px;
    right: -120px;
    top: -230px;
}

.contact-panel::after {
    width: 280px;
    height: 280px;
    left: -160px;
    bottom: -150px;
}

.contact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
    gap: 50px;
}

.contact-panel h2,
.contact-panel .eyebrow {
    color: #fff;
}

.contact-panel .lead,
.contact-panel .disclaimer {
    color: rgba(255, 255, 255, 0.7);
}

.contact-list {
    display: grid;
    align-content: center;
    gap: 14px;
}

.contact-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 13px;
    font-weight: 800;
}

.page-hero {
    padding: clamp(58px, 9vw, 108px) 0 44px;
}

.page-hero-inner {
    max-width: 900px;
}

.page-hero h1 {
    font-size: clamp(42px, 7vw, 74px);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.legal-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
    gap: clamp(30px, 6vw, 78px);
    padding-bottom: 110px;
}

.legal-aside {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    padding: 12px;
    box-shadow: var(--shadow);
}

.legal-aside a {
    border-radius: 14px;
    color: var(--muted);
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.legal-aside a:hover,
.legal-aside a[aria-current="page"] {
    background: var(--brand-soft);
    color: var(--brand);
}

.legal-content {
    display: grid;
    gap: 16px;
}

.legal-section {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    padding: clamp(22px, 4vw, 34px);
}

.legal-section p,
.legal-section li {
    color: var(--muted);
}

.legal-section h2 {
    font-size: clamp(22px, 3vw, 28px);
    letter-spacing: -0.03em;
}

.legal-section p:last-child,
.legal-section ul:last-child {
    margin-bottom: 0;
}

.legal-section ul {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding-left: 21px;
}

.legal-note {
    border-left: 4px solid var(--brand);
    border-radius: 0 20px 20px 0;
    background: var(--brand-soft);
    color: var(--muted);
    padding: 22px 24px;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--surface);
    padding: 42px 0 26px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 2fr;
    gap: 40px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 24px;
}

.footer-links a,
.footer-button {
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    padding: 0;
    font-size: 13px;
    font-weight: 650;
    text-align: left;
    text-decoration: none;
}

.footer-links a:hover,
.footer-button:hover {
    color: var(--brand);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 36px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    color: var(--subtle);
    font-size: 12px;
}

@keyframes whatsapp-pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 250;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand);
    color: #f8f4f4;
    box-shadow: 0 18px 45px rgba(141, 0, 16, 0.3);
    text-decoration: none;
    animation: whatsapp-pulse 2.6s ease-in-out infinite;
    transition: background 160ms ease, box-shadow 160ms ease;
}

.floating-whatsapp:hover {
    background: var(--brand-hover);
    box-shadow: 0 20px 50px rgba(141, 0, 16, 0.4);
}

.cookie-banner {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 300;
    width: min(calc(100% - 44px), 470px);
    display: none;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--surface);
    padding: 22px;
    box-shadow: var(--shadow-lg);
}

.cookie-banner.is-open {
    display: block;
}

.cookie-banner p {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 14px;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cookie-actions .button {
    min-height: 44px;
    padding-inline: 15px;
    font-size: 12px;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: none;
    place-items: center;
    background: rgba(16, 11, 13, 0.62);
    padding: 20px;
}

.modal-backdrop.is-open {
    display: grid;
}

.cookie-modal {
    width: min(100%, 580px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    border-radius: 30px;
    background: var(--surface);
    padding: clamp(24px, 5vw, 38px);
    box-shadow: var(--shadow-lg);
}

.cookie-option {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    border-top: 1px solid var(--line);
    padding: 18px 0;
}

.cookie-option p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.cookie-toggle {
    width: 46px;
    height: 26px;
    accent-color: var(--brand);
}

@media (max-width: 1240px) {
    .desktop-nav,
    .header-actions .button {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .menu-button {
        display: inline-flex;
    }
}

@media (max-width: 1100px) {
    .hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .hero-visual {
        width: min(100%, 680px);
        margin-inline: auto;
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .header-inner {
        min-height: 70px;
    }

    .header-actions > .lang-switch {
        display: none;
    }

    .hero {
        padding-top: 18px;
    }

    .hero-grid,
    .contact-panel {
        border-radius: 28px;
    }

    .hero-copy {
        padding: 28px 0 8px;
    }

    .section-heading.split,
    .about-grid,
    .contact-grid,
    .legal-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cards-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card:first-child {
        grid-column: span 2;
    }

    .legal-aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .brand-copy small {
        display: none;
    }

    .hero-actions,
    .hero-actions .button,
    .review-links,
    .review-links .button,
    .cookie-actions,
    .cookie-actions .button {
        width: 100%;
    }

    .cards-grid,
    .reviews-grid,
    .process-grid,
    .legal-aside,
    .footer-links {
        grid-template-columns: 1fr;
    }

    .service-card:first-child {
        grid-column: auto;
        padding: 26px;
    }

    .service-card {
        min-height: 0;
    }

    .process-card {
        min-height: 220px;
    }

    .contact-panel {
        padding: 32px 22px;
    }

    .contact-item {
        grid-template-columns: 40px 1fr;
        font-size: 14px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .floating-whatsapp {
        right: 14px;
        bottom: max(14px, env(safe-area-inset-bottom));
        width: 56px;
        height: 56px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .floating-whatsapp {
        animation: none;
    }
}
