/* =====================================================
   TRAFI.CL · Stylesheet
   Minimalista claro · Acentos amarillos de marca
   ===================================================== */

:root {
    /* Brand */
    --primary: #1f2d3a;
    --primary-dark: #11161c;
    --accent: #f5b82e;
    --accent-dark: #d99e16;
    --accent-soft: #fef5dd;

    /* Surfaces */
    --background: #ffffff;
    --surface: #fafaf7;
    --surface-2: #f3f1ec;

    /* Text */
    --text: #11161c;
    --text-soft: #2a323b;
    --muted: #6b7280;
    --muted-light: #9ca3af;

    /* Lines */
    --border: #e7e4dc;
    --border-strong: #d9d5c9;

    /* Status */
    --success: #16a34a;
    --danger: #dc2626;

    /* Tokens */
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(17, 22, 28, 0.04);
    --shadow: 0 8px 24px rgba(17, 22, 28, 0.06);
    --shadow-lg: 0 24px 48px -16px rgba(17, 22, 28, 0.14);
}

/* =====================================================
   RESET / BASE
   ===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, "Helvetica Neue", sans-serif;
    line-height: 1.55;
    color: var(--text);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
}

::selection {
    background: var(--accent);
    color: var(--text);
}

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

.w-100 {
    width: 100%;
}

/* =====================================================
   TOPBAR
   ===================================================== */

.topbar {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.85rem;
    padding: 0.55rem 0;
    letter-spacing: 0.01em;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.topbar strong {
    color: var(--accent);
    font-weight: 700;
}

.topbar .pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(245, 184, 46, 0.12);
    color: var(--accent);
    border: 1px solid rgba(245, 184, 46, 0.25);
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* =====================================================
   HEADER
   ===================================================== */

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid var(--border);
}

.navbar {
    min-height: 76px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand img {
    width: 122px;
    height: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.85rem;
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--text-soft);
}

nav a {
    position: relative;
    transition: color 0.18s ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}

nav a:hover {
    color: var(--text);
}

nav a:hover::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

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

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    min-height: 46px;
    padding: 0.75rem 1.3rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 0.94rem;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
}

.btn svg {
    width: 16px;
    height: 16px;
}

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

.btn-primary {
    background: var(--text);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow);
}

.btn-accent {
    background: var(--accent);
    color: var(--text);
}

.btn-accent:hover {
    background: var(--accent-dark);
    box-shadow: 0 12px 24px -8px rgba(245, 184, 46, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}

.btn-outline:hover {
    border-color: var(--text);
    background: var(--surface);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--surface-2);
}

.btn-ghost {
    background: transparent;
    color: var(--text-soft);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    min-height: auto;
}

.btn-ghost:hover {
    color: var(--text);
    transform: none;
}

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

.hero {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0 4.5rem;
    background:
        radial-gradient(circle at 92% 0%, rgba(245, 184, 46, 0.12), transparent 38%),
        linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: -1px -1px;
    opacity: 0.35;
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-soft);
    color: var(--text);
    border: 1px solid rgba(245, 184, 46, 0.4);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1.4rem;
    letter-spacing: 0.02em;
}

.eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(1.35); }
}

.hero h1 {
    max-width: 640px;
    font-size: clamp(2.4rem, 5.2vw, 4.4rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.045em;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.hero h1 mark {
    background: linear-gradient(180deg, transparent 60%, var(--accent) 60%);
    color: inherit;
    padding: 0 0.05em;
}

.hero h1 .strike {
    color: var(--muted-light);
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 4px;
    margin-right: 0.2em;
}

.hero p.lead {
    max-width: 580px;
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 1.6rem;
}

.hero p.lead strong {
    color: var(--text);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.8rem;
}

.hero-badges {
    display: flex;
    gap: 1.4rem;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--text-soft);
    font-size: 0.92rem;
    font-weight: 600;
}

.hero-badge .check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--text);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 900;
}

/* =====================================================
   HERO PANEL (Form lateral)
   ===================================================== */

.hero-panel {
    position: relative;
    background: #fff;
    color: var(--text);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 1.4rem;
    overflow: hidden;
}

.hero-panel-top {
    position: relative;
    background: var(--text);
    color: #fff;
    border-radius: 16px;
    padding: 1.3rem 1.4rem;
    margin-bottom: 1.3rem;
    overflow: hidden;
}

.hero-panel-top::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(245, 184, 46, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.hero-panel-top small {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.74rem;
}

.hero-panel-top h2 {
    font-size: 1.4rem;
    line-height: 1.2;
    margin-top: 0.4rem;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.plate-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
    align-items: end;
}

.field {
    margin-bottom: 0.85rem;
}

.field label {
    display: block;
    font-size: 0.84rem;
    color: var(--text);
    font-weight: 700;
    margin-bottom: 0.4rem;
    letter-spacing: 0.01em;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.9rem;
    font-family: inherit;
    font-size: 0.98rem;
    outline: none;
    background: var(--background);
    color: var(--text);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--muted-light);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--text);
    box-shadow: 0 0 0 3px rgba(245, 184, 46, 0.25);
}

.plate-input-wrap {
    position: relative;
}

.plate-input-wrap input {
    padding-left: 3.2rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.plate-flag {
    position: absolute;
    left: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 22px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: linear-gradient(to bottom, #fff 0 50%, #d52b1e 50% 100%);
    position: absolute;
    display: grid;
    place-items: center;
    color: var(--primary-dark);
    font-size: 0.55rem;
    font-weight: 900;
}

.mini-note {
    color: var(--muted);
    font-size: 0.84rem;
    margin-top: 0.85rem;
    line-height: 1.5;
}

/* =====================================================
   TRUST BAR
   ===================================================== */

.trust-bar {
    background: var(--background);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

.trust-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-bar .label {
    font-size: 0.82rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.trust-stats {
    display: flex;
    gap: 2.6rem;
    flex-wrap: wrap;
}

.trust-stat strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1;
}

.trust-stat strong .unit {
    color: var(--accent-dark);
}

.trust-stat span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 0.2rem;
}

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

section {
    padding: 5.5rem 0;
}

.section-head {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-head-left {
    text-align: left;
    margin: 0 0 1.5rem;
}

.section-head .label {
    display: inline-block;
    color: var(--accent-dark);
    font-weight: 800;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.82rem;
}

.section-head h2 {
    color: var(--text);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 0.8rem;
    font-weight: 900;
}

.section-head p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.section-alt {
    background: var(--surface);
}

/* =====================================================
   CARDS / ICONS
   ===================================================== */

.services-grid,
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.card:hover {
    border-color: var(--text);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.6rem;
    right: 1.6rem;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--text);
    color: var(--accent);
    margin-bottom: 1.1rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card:hover .icon {
    background: var(--accent);
    color: var(--text);
}

.card h3 {
    color: var(--text);
    font-size: 1.18rem;
    line-height: 1.25;
    margin-bottom: 0.55rem;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.card p,
.card li {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* =====================================================
   PROCESS / STEPS
   ===================================================== */

.process {
    background: var(--surface);
}

.steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    position: relative;
    counter-reset: step;
}

.steps::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 8%;
    right: 8%;
    height: 1px;
    background-image: linear-gradient(90deg, var(--border-strong) 50%, transparent 50%);
    background-size: 12px 1px;
    z-index: 0;
}

.step {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.3rem 1.2rem 1.4rem;
    position: relative;
    z-index: 1;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.step:hover {
    border-color: var(--text);
    transform: translateY(-2px);
}

.step-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--text);
    color: var(--accent);
    font-weight: 900;
    font-size: 1rem;
    margin-bottom: 1rem;
    border: 3px solid var(--surface);
}

.step:nth-child(1) .step-number,
.step:nth-child(3) .step-number,
.step:nth-child(5) .step-number {
    background: var(--accent);
    color: var(--text);
}

.step h3 {
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 0.4rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.step p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* =====================================================
   SIMULATOR
   ===================================================== */

.simulator {
    background: var(--text);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.simulator::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 184, 46, 0.18) 0%, transparent 60%);
    pointer-events: none;
}

.simulator-grid {
    position: relative;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
    align-items: center;
}

.simulator .label {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.82rem;
    display: inline-block;
    margin-bottom: 0.7rem;
}

.simulator h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
    font-weight: 900;
}

.simulator > .container > .simulator-grid > div > p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.simulator-bullets {
    list-style: none;
    margin-top: 1.2rem;
}

.simulator-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.55rem 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.96rem;
}

.simulator-bullets li::before {
    content: "";
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--accent);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2311161c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-size: 12px 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.calc-card {
    background: #fff;
    color: var(--text);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.calc-result {
    margin-top: 1.1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1.2rem;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.calc-row strong {
    color: var(--text);
    font-weight: 700;
}

.calc-row.total {
    border-top: 1px dashed var(--border-strong);
    margin-top: 0.6rem;
    padding-top: 0.85rem;
    color: var(--text);
    font-weight: 800;
    font-size: 1.1rem;
}

.calc-row.total strong {
    color: var(--accent-dark);
    font-size: 1.2rem;
}

/* =====================================================
   COMERCIANTES (con foto)
   ===================================================== */

.merchant-feature {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
    margin-top: 3rem;
}

.merchant-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.merchant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.merchant-image .tag {
    position: absolute;
    bottom: 1.4rem;
    left: 1.4rem;
    right: 1.4rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.merchant-image .tag-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--accent);
    color: var(--text);
    display: grid;
    place-items: center;
    flex: none;
    font-size: 1.2rem;
    font-weight: 900;
}

.merchant-image .tag-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text);
}

.merchant-image .tag-text span {
    font-size: 0.82rem;
    color: var(--muted);
}

.merchant-points {
    list-style: none;
    margin-top: 1.6rem;
}

.merchant-points li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.merchant-points li:last-child {
    border-bottom: none;
}

.merchant-points .num {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-weight: 900;
    font-size: 0.85rem;
    display: grid;
    place-items: center;
    margin-top: 2px;
    border: 1px solid rgba(245, 184, 46, 0.3);
}

.merchant-points strong {
    display: block;
    color: var(--text);
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.merchant-points p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.55;
    margin: 0;
}

.merchant-banner {
    margin-top: 3.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
    background: var(--text);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 1.8rem 2rem;
    overflow: hidden;
    position: relative;
}

.merchant-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(245, 184, 46, 0.18) 0%, transparent 60%);
    pointer-events: none;
}

.merchant-banner h3 {
    font-size: 1.4rem;
    line-height: 1.2;
    margin-bottom: 0.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.merchant-banner p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
}

/* =====================================================
   FAQ + CONTACT
   ===================================================== */

.faq-contact {
    background: #fff;
}

.faq-contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
}

details {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.2rem;
    margin-bottom: 0.7rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

details[open] {
    border-color: var(--text);
    background: var(--surface);
}

summary {
    cursor: pointer;
    font-weight: 800;
    color: var(--text);
    font-size: 1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

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

summary::after {
    content: "+";
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--text);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
    flex: none;
}

details[open] summary::after {
    transform: rotate(45deg);
    background: var(--accent);
    color: var(--text);
}

details p {
    color: var(--muted);
    margin-top: 0.7rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-card {
    background: var(--text);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    position: relative;
    overflow: hidden;
}

.contact-card::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(245, 184, 46, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.contact-card h2 {
    font-size: 1.7rem;
    line-height: 1.15;
    letter-spacing: -0.025em;
    font-weight: 900;
    margin-bottom: 0.4rem;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 1.2rem;
    font-size: 0.96rem;
}

.contact-items {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.94rem;
}

.contact-item .ico {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex: none;
}

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

footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.78);
    padding: 3.5rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-brand img {
    width: 130px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    max-width: 300px;
    line-height: 1.55;
}

footer h4 {
    color: #fff;
    margin-bottom: 0.9rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    transition: color 0.18s ease;
    cursor: pointer;
}

footer li:hover {
    color: var(--accent);
}

.newsletter {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.85rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 4px;
}

.newsletter input {
    min-height: 40px;
    flex: 1;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 0 0.9rem;
    font-family: inherit;
    font-size: 0.92rem;
    outline: none;
    min-width: 0;
}

.newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.newsletter button {
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: var(--text);
    font-weight: 800;
    padding: 0 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.18s ease;
}

.newsletter button:hover {
    background: var(--accent-dark);
}

.copyright {
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.copyright .powered {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.copyright .powered img {
    height: 22px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.copyright .powered:hover img {
    opacity: 1;
}

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

@media (max-width: 1040px) {
    nav {
        display: none;
    }

    .hero-grid,
    .simulator-grid,
    .faq-contact-grid,
    .merchant-feature {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .merchant-image {
        aspect-ratio: 16 / 11;
        max-height: 420px;
    }

    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .steps::before {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .merchant-banner {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

@media (max-width: 680px) {
    section {
        padding: 4rem 0;
    }

    .topbar .container,
    .nav-actions {
        flex-wrap: wrap;
        gap: 0.6rem;
    }

    .navbar {
        min-height: 64px;
    }

    .brand img {
        width: 108px;
    }

    .hero {
        padding: 3.5rem 0 3rem;
    }

    .plate-box,
    .calc-grid,
    .services-grid,
    .benefits-grid,
    .steps,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .trust-stats {
        gap: 1.4rem;
    }

    .merchant-image {
        aspect-ratio: 4 / 3;
    }

    .copyright {
        justify-content: center;
        text-align: center;
    }

    .btn,
    .newsletter button {
        width: 100%;
    }

    .newsletter {
        flex-direction: column;
        border-radius: var(--radius);
        padding: 0.6rem;
    }

    .newsletter input {
        text-align: center;
    }
}