/* ============================================
   RVIS Driving School — Custom Styles
   Palette: Terracotta (#C1694F) + Sand (#E8D5C4)
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --terracotta: #C1694F;
    --terracotta-dark: #A8553A;
    --terracotta-light: #D4917A;
    --sand: #E8D5C4;
    --sand-light: #F5EDE5;
    --sand-lighter: #FBF7F3;
    --sand-dark: #C4A882;
    --cream: #FDF8F4;
    --charcoal: #2C2420;
    --charcoal-light: #4A3F38;
    --warm-gray: #7A6B63;
    --warm-gray-light: #9E8E84;
    --white: #FFFFFF;
    --success: #1A5632;
    --success-light: #E8F5E9;
    
    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    --shadow-sm: 0 1px 3px rgba(44, 36, 32, 0.06), 0 1px 2px rgba(44, 36, 32, 0.04);
    --shadow-md: 0 4px 16px rgba(44, 36, 32, 0.08), 0 2px 4px rgba(44, 36, 32, 0.04);
    --shadow-lg: 0 12px 40px rgba(44, 36, 32, 0.12), 0 4px 12px rgba(44, 36, 32, 0.06);
    --shadow-xl: 0 24px 60px rgba(44, 36, 32, 0.16);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 244, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(193, 105, 79, 0.08);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(253, 248, 244, 0.97);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--charcoal);
}

.nav-logo:hover {
    color: var(--terracotta);
}

.nav-logo-icon {
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal-light);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: width var(--transition);
    border-radius: 1px;
}

.nav-links a:hover {
    color: var(--terracotta);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--terracotta);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(193, 105, 79, 0.3);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--terracotta-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(193, 105, 79, 0.4);
    color: var(--white) !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(44, 36, 32, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-overlay-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--charcoal);
    transition: all var(--transition);
    box-shadow: var(--shadow-md);
}

.nav-overlay-close:hover {
    background: var(--terracotta);
    color: var(--white);
}

.nav-overlay-links {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.nav-overlay-link {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal);
    transition: color var(--transition);
}

.nav-overlay-link:hover {
    color: var(--terracotta);
}

.nav-overlay-cta {
    margin-top: 12px;
    background: var(--terracotta);
    color: var(--white) !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: var(--charcoal);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 36, 32, 0.82) 0%,
        rgba(44, 36, 32, 0.65) 50%,
        rgba(193, 105, 79, 0.45) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 213, 196, 0.15);
    border: 1px solid rgba(232, 213, 196, 0.25);
    color: var(--sand);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero-badge svg {
    opacity: 0.9;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
    max-width: 780px;
}

.hero-headline em {
    font-style: italic;
    color: var(--sand);
}

.hero-subheadline {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: rgba(245, 237, 229, 0.85);
    line-height: 1.7;
    max-width: 580px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(245, 237, 229, 0.7);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(245, 237, 229, 0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(245, 237, 229, 0.5);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(245, 237, 229, 0.5), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(193, 105, 79, 0.35);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(193, 105, 79, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Section Shared --- */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 16px;
    position: relative;
    padding: 0 8px;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px;
    height: 1px;
    background: var(--terracotta-light);
}

.section-tag::before {
    left: -20px;
}

.section-tag::after {
    right: -20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: 18px;
}

.section-title--light {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

.section-subtitle--light {
    color: rgba(245, 237, 229, 0.8);
}

/* --- Services --- */
.services {
    padding: 100px 0;
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid rgba(193, 105, 79, 0.08);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--terracotta), var(--sand-dark));
    opacity: 0;
    transition: opacity var(--transition);
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--sand-light), var(--sand));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.service-description {
    font-size: 0.92rem;
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--charcoal-light);
    font-weight: 500;
}

.service-features li svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* --- Why RVIS --- */
.why-rvis {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--charcoal) 0%, #3D322C 100%);
    position: relative;
    overflow: hidden;
}

.why-rvis::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(193, 105, 79, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.why-rvis .container {
    position: relative;
    z-index: 1;
}

.why-rvis-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.why-rvis-images {
    position: relative;
}

.why-rvis-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.why-rvis-img-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.why-rvis-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--charcoal);
}

.why-rvis-img-secondary img {
    width: 220px;
    height: 220px;
    object-fit: cover;
}

.why-rvis-experience-badge {
    position: absolute;
    top: -20px;
    right: 40px;
    background: var(--terracotta);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.badge-text {
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1.3;
}

.why-rvis-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
}

.why-rvis-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.why-rvis-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(193, 105, 79, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-rvis-feature-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.why-rvis-feature-text {
    font-size: 0.9rem;
    color: rgba(245, 237, 229, 0.7);
    line-height: 1.6;
}

/* --- Process --- */
.process {
    padding: 100px 0;
    background: var(--sand-lighter);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px;
    position: relative;
}

.process-step-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--sand);
    line-height: 1;
    margin-bottom: 16px;
    transition: color var(--transition);
}

.process-step:hover .process-step-number {
    color: var(--terracotta-light);
}

.process-step-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.process-step-text {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

.process-step-text a {
    color: var(--terracotta);
    font-weight: 600;
    transition: color var(--transition);
}

.process-step-text a:hover {
    color: var(--terracotta-dark);
}

.process-step-connector {
    display: none;
}

/* --- Testimonials --- */
.testimonials {
    padding: 100px 0;
    background: var(--cream);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid rgba(193, 105, 79, 0.08);
    transition: all var(--transition);
}

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

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--charcoal-light);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--sand);
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--charcoal);
}

.testimonial-detail {
    display: block;
    font-size: 0.82rem;
    color: var(--warm-gray);
    margin-top: 2px;
}

/* --- CTA Banner --- */
.cta-banner {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

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

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 36, 32, 0.85) 0%,
        rgba(193, 105, 79, 0.7) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    line-height: 1.2;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(245, 237, 229, 0.85);
    line-height: 1.7;
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--charcoal) 0%, #3D322C 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(193, 105, 79, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
    margin-bottom: 36px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(193, 105, 79, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--terracotta-light);
    margin-bottom: 4px;
}

.contact-detail-value {
    display: block;
    font-size: 0.95rem;
    color: var(--white);
    line-height: 1.6;
}

.contact-phone {
    transition: color var(--transition);
}

.contact-phone:hover {
    color: var(--sand);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Contact Form */
.contact-form-wrapper {
    position: relative;
    z-index: 1;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 44px 40px;
    box-shadow: var(--shadow-xl);
}

.contact-form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.contact-form-subtitle {
    font-size: 0.9rem;
    color: var(--warm-gray);
    margin-bottom: 32px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--sand);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--charcoal);
    background: var(--sand-lighter);
    transition: all var(--transition);
    outline: none;
}

.form-input::placeholder {
    color: var(--warm-gray-light);
}

.form-input:focus {
    border-color: var(--terracotta);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(193, 105, 79, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A6B63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 110px;
}

/* Form Success */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.form-success.active {
    display: flex;
}

.form-success-icon {
    width: 72px;
    height: 72px;
    background: var(--success-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.form-success-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.form-success-text {
    font-size: 0.92rem;
    color: var(--warm-gray);
    line-height: 1.7;
    max-width: 320px;
}

.form-success-text a {
    color: var(--terracotta);
    font-weight: 600;
}

/* --- Footer --- */
.footer {
    background: var(--charcoal);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(245, 237, 229, 0.08);
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo:hover {
    color: var(--sand);
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(245, 237, 229, 0.55);
    line-height: 1.7;
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sand-dark);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(245, 237, 229, 0.6);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--sand);
}

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(245, 237, 229, 0.6);
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--terracotta-light);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--sand);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-copyright {
    font-size: 0.82rem;
    color: rgba(245, 237, 229, 0.35);
}

.footer-location {
    font-size: 0.82rem;
    color: rgba(245, 237, 229, 0.35);
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-rvis-layout {
        gap: 48px;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        padding: 100px 24px 60px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .hero-stat-number {
        font-size: 1.5rem;
    }
    
    .services {
        padding: 72px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-rvis {
        padding: 72px 0;
    }
    
    .why-rvis-layout {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    
    .why-rvis-img-secondary {
        right: 0;
        bottom: -30px;
    }
    
    .why-rvis-img-main img {
        height: 350px;
    }
    
    .process {
        padding: 72px 0;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .testimonials {
        padding: 72px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-banner {
        padding: 60px 0;
    }
    
    .contact {
        padding: 72px 0;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-card {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer {
        padding: 56px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .hero-stat-divider {
        display: none;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
