/* ==========================================================================
   Gara Ô Tô Đại Phát — Premium Automotive Service
   ========================================================================== */

:root {
    --primary: #C8102E;
    --primary-dark: #9B0D24;
    --primary-soft: rgba(200, 16, 46, 0.12);
    --dark: #111318;
    --dark-soft: #1A1D24;
    --light: #F4F5F7;
    --surface: #FFFFFF;
    --text: #151515;
    --text-muted: #5C6370;
    --border: #E4E7EC;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 10px 30px rgba(17, 19, 24, 0.08);
    --shadow-soft: 0 4px 16px rgba(17, 19, 24, 0.06);
    --header-h: 76px;
    --mobile-bar-h: 68px;
    --font-heading: "Manrope", "Be Vietnam Pro", sans-serif;
    --font-body: "Be Vietnam Pro", "Manrope", sans-serif;
    --container: 1180px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--surface);
    overflow-x: hidden;
    padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px));
}

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

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

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 0.6em;
}

p {
    margin: 0 0 1em;
}

p:last-child {
    margin-bottom: 0;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 1000;
    background: var(--primary);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
}

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

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

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

.section {
    padding: 96px 0;
}

.section-head {
    max-width: 640px;
    margin-bottom: 48px;
}

.section-head h2,
.why-intro h2,
.about-copy h2,
.booking-copy h2,
.contact-info h2,
.cta-content h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.7rem);
    font-weight: 800;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary);
}

.eyebrow span {
    display: inline-grid;
    place-items: center;
    min-width: 28px;
    height: 20px;
    padding: 0 6px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 0.65rem;
    letter-spacing: 0.04em;
}

.eyebrow.light {
    color: #F3C4CB;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(200, 16, 46, 0.22);
}

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

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
}

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

.btn-dark:hover {
    background: #000;
}

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

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

.btn-lg {
    min-height: 54px;
    padding: 14px 26px;
}

.btn-block {
    width: 100%;
}

.btn[disabled] {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--primary);
}

.text-link i {
    transition: transform 0.25s var(--ease);
}

.text-link:hover i {
    transform: translateX(4px);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    height: var(--header-h);
    background: rgba(17, 19, 24, 0.55);
    backdrop-filter: blur(16px);
    color: #fff;
    transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
    background: rgba(17, 19, 24, 0.96);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-mark {
    width: 12px;
    height: 36px;
    background: var(--primary);
    border-radius: 2px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo-text strong {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    letter-spacing: 0.08em;
}

.logo-text small {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 22px;
}

.nav-desktop a {
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    position: relative;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
    color: #fff;
}

.nav-desktop a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

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

.header-hotline {
    display: none;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.header-cta {
    display: none;
    min-height: 44px;
    padding: 10px 16px;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    display: grid;
    place-items: center;
    gap: 5px;
    padding: 0;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    transition: transform 0.25s var(--ease), opacity 0.25s;
}

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

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

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

/* Mobile drawer */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 90;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 360px);
    height: 100%;
    background: var(--dark);
    color: #fff;
    z-index: 100;
    padding: 24px 22px calc(24px + env(safe-area-inset-bottom));
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.mobile-drawer.is-open {
    transform: translateX(0);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-close {
    width: 42px;
    height: 42px;
    border: 0;
    background: var(--dark-soft);
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
}

.drawer-nav {
    display: grid;
    gap: 6px;
}

.drawer-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
    font-weight: 500;
}

.drawer-cta {
    display: grid;
    gap: 10px;
    margin-top: auto;
}

/* Hero */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 11, 14, 0.88) 0%, rgba(10, 11, 14, 0.55) 52%, rgba(10, 11, 14, 0.28) 100%),
        linear-gradient(180deg, rgba(10, 11, 14, 0.2) 0%, rgba(10, 11, 14, 0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 72px 0 80px;
    max-width: 820px;
}

.hero-eyebrow {
    color: #F3C4CB;
}

.hero h1 {
    font-size: clamp(2.05rem, 6vw, 4.4rem);
    font-weight: 800;
    margin-bottom: 18px;
}

.hero h1 span {
    display: block;
}

.hero h1 em {
    display: block;
    font-style: normal;
    color: #F7F7F8;
    margin-top: 6px;
}

.hero-lead {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    margin-bottom: 28px;
}

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

.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding: 10px 14px 10px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-phone i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
}

.hero-phone small {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.hero-phone strong {
    font-size: 1.15rem;
    letter-spacing: 0.02em;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-trust i {
    color: var(--primary);
}

.hero-badge {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    writing-mode: vertical-rl;
    text-align: center;
    letter-spacing: 0.28em;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 18px 10px;
    display: none;
}

.hero-badge span {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero-badge strong {
    font-size: 1.4rem;
    color: #fff;
}

/* Quick info */
.quick-info {
    background: var(--dark);
    color: #fff;
    position: relative;
    z-index: 3;
}

.quick-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 0;
}

.info-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.info-item a,
.info-item p {
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.4;
}

.info-action .btn {
    width: 100%;
}

/* Services */
.services {
    background: var(--light);
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.service-card:first-child {
    background:
        linear-gradient(180deg, rgba(200, 16, 46, 0.06), transparent 42%),
        var(--surface);
    border-color: rgba(200, 16, 46, 0.18);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    margin-bottom: 18px;
    font-size: 1.15rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Why us */
.why-us {
    background:
        radial-gradient(circle at 12% 20%, rgba(200, 16, 46, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        var(--dark);
    background-size: auto, 100% 28px, auto;
    color: #fff;
}

.why-layout {
    display: grid;
    gap: 48px;
}

.why-intro p {
    color: rgba(255, 255, 255, 0.72);
    max-width: 460px;
    margin-bottom: 24px;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.why-item {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.why-item h3 {
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.why-item p {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.95rem;
}

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

.process-timeline {
    display: grid;
    gap: 18px;
    position: relative;
}

.process-timeline li {
    position: relative;
    padding: 24px 22px 24px 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--light);
    border-left: 3px solid var(--primary);
}

.step-num {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.process-timeline h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.process-timeline p {
    color: var(--text-muted);
}

/* CTA */
.cta-banner {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.cta-media {
    position: absolute;
    inset: 0;
}

.cta-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 19, 24, 0.9) 0%, rgba(17, 19, 24, 0.62) 58%, rgba(17, 19, 24, 0.4) 100%);
}

.cta-content {
    position: relative;
    z-index: 1;
    padding: 72px 0;
    max-width: 680px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* About */
.about {
    background: var(--light);
}

.about-layout {
    display: grid;
    gap: 36px;
}

.about-media {
    position: relative;
}

.about-media img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.location-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 14px 16px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: calc(100% - 32px);
}

.location-badge i {
    color: var(--primary);
}

.location-badge strong,
.location-badge span {
    display: block;
}

.location-badge span {
    font-size: 0.86rem;
    color: var(--text-muted);
}

.about-copy p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

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

/* Brands */
.brands {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.brands-label {
    text-align: center;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.brand-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
}

.brand-list li {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #8A909A;
    font-size: 0.98rem;
}

/* Pricing */
.pricing {
    background: var(--surface);
}

.price-list {
    border-top: 1px solid var(--border);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.price-row span {
    position: relative;
    font-weight: 600;
}

.price-row strong {
    white-space: nowrap;
    color: var(--primary);
    font-family: var(--font-heading);
}

.price-note {
    margin-top: 22px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* Testimonials */
.testimonials {
    background: var(--light);
}

.review-grid {
    display: grid;
    gap: 16px;
}

.review-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    border: 1px solid var(--border);
}

.stars {
    color: #D4A017;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.review-card p {
    font-size: 1.02rem;
    margin-bottom: 18px;
}

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

.review-meta span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Booking */
.booking {
    background:
        linear-gradient(180deg, #16181E 0%, var(--dark) 100%);
    color: #fff;
}

.booking-layout {
    display: grid;
    gap: 36px;
}

.booking-copy p {
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 22px;
}

.booking-points {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
}

.booking-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.86);
}

.booking-points i {
    color: var(--primary);
}

.booking-hotline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
}

.booking-form,
.contact-form {
    background: #fff;
    color: var(--text);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    gap: 14px;
}

.field {
    margin-bottom: 14px;
}

.field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.88rem;
    font-weight: 600;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #FBFBFC;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
    min-height: 96px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
    background: #fff;
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
    border-color: var(--primary);
}

.form-hint {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-hint.is-error {
    color: var(--primary);
}

.form-hint.is-success {
    color: #1F7A3F;
}

/* Contact */
.contact {
    background: var(--light);
}

.contact-layout {
    display: grid;
    gap: 32px;
}

.contact-name {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.06em;
    margin: 8px 0 18px;
}

.contact-list {
    display: grid;
    gap: 16px;
    margin-bottom: 22px;
}

.contact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-list i {
    color: var(--primary);
    margin-top: 4px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.contact-form {
    box-shadow: none;
    border: 1px solid var(--border);
}

.contact-form h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.contact-map {
    position: relative;
    min-height: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #ddd;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
}

.map-open {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-soft);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Footer */
.site-footer {
    background: #0C0E12;
    color: rgba(255, 255, 255, 0.78);
    padding: 64px 0 28px;
}

.footer-grid {
    display: grid;
    gap: 32px;
}

.footer-brand p {
    margin-top: 16px;
    max-width: 320px;
}

.site-footer h3 {
    color: #fff;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.footer-nav {
    display: grid;
    gap: 8px;
}

.footer-nav a:hover,
.site-footer a:hover {
    color: #fff;
}

.social-links {
    display: grid;
    gap: 8px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Mobile action bar */
.mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr;
    background: #0C0E12;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-action-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: var(--mobile-bar-h);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mobile-action-bar i {
    font-size: 1.05rem;
}

.mobile-action-bar .action-primary {
    background: var(--primary);
    color: #fff;
}

.float-phone,
.back-to-top {
    display: none;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: calc(var(--mobile-bar-h) + 18px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    z-index: 120;
    max-width: min(92vw, 440px);
    background: var(--dark);
    color: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-size: 0.95rem;
}

.toast.is-error {
    background: var(--primary-dark);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

body.menu-open {
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   Breakpoints
   -------------------------------------------------------------------------- */

@media (min-width: 640px) {
    .service-grid,
    .review-grid,
    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .quick-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0 32px;
    }

    .process-timeline {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .header-hotline {
        display: inline-flex;
    }

    .header-cta {
        display: inline-flex;
    }

    .hero {
        min-height: 680px;
        align-items: center;
    }

    .hero-content {
        padding: 96px 0;
    }

    .hero-badge {
        display: block;
    }

    .quick-info-grid {
        grid-template-columns: repeat(5, 1fr);
        align-items: center;
        padding: 32px 0;
    }

    .info-action .btn {
        width: auto;
    }

    .about-media img {
        height: 520px;
    }

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

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-card:first-child {
        grid-column: span 2;
        min-height: 260px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .why-layout {
        grid-template-columns: 0.9fr 1.1fr;
        align-items: start;
        gap: 72px;
    }

    .why-intro {
        position: sticky;
        top: 108px;
    }

    .process-timeline {
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
    }

    .process-timeline li {
        padding: 28px 16px 24px;
        border-left: 1px solid var(--border);
        border-top: 3px solid var(--primary);
    }

    .about-layout,
    .booking-layout,
    .contact-layout {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 56px;
    }

    .contact-layout {
        align-items: stretch;
    }

    .review-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .booking-form,
    .contact-form {
        padding: 32px;
    }

    .mobile-action-bar {
        display: none;
    }

    body {
        padding-bottom: 0;
    }

    .float-phone,
    .back-to-top {
        display: grid;
        place-items: center;
        position: fixed;
        right: 22px;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        border: 0;
        cursor: pointer;
        z-index: 60;
        box-shadow: var(--shadow);
    }

    .float-phone {
        bottom: 28px;
        background: var(--primary);
        color: #fff;
    }

    .back-to-top {
        bottom: 92px;
        background: var(--dark);
        color: #fff;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s;
    }

    .back-to-top.is-visible {
        opacity: 1;
        pointer-events: auto;
    }

    .toast {
        bottom: 28px;
        left: auto;
        right: 22px;
        transform: none;
    }
}

@media (min-width: 1280px) {
    .service-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .service-card:first-child {
        grid-column: auto;
        min-height: 0;
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 72px 0;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 56px 0 48px;
    }

    .hero h1 {
        font-size: clamp(1.85rem, 8.2vw, 2.4rem);
    }

    .hero-lead {
        font-size: 0.98rem;
    }

    .hero-actions .btn,
    .cta-actions .btn,
    .about-actions .btn,
    .contact-actions .btn {
        flex: 1 1 160px;
    }

    .about-media img {
        height: 280px;
    }

    .contact-map iframe {
        min-height: 280px;
    }

    .price-row {
        flex-direction: column;
        gap: 6px;
    }
}

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

    .header-inner {
        gap: 10px;
    }

    .logo-text strong {
        font-size: 1rem;
    }

    .hero-phone strong {
        font-size: 1.02rem;
    }

    .btn-lg {
        padding: 12px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal,
    .btn,
    .service-card,
    .text-link i {
        transition: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
