/* ============================================
   Energy Laboratories — Custom Styles
   Warm terracotta + sand palette
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-terracotta: #C0603A;
    --color-terracotta-dark: #A84E2C;
    --color-terracotta-light: #D4856A;
    --color-sand: #FDF6F0;
    --color-sand-dark: #F5E6D8;
    --color-sand-mid: #EDE0D4;
    --color-cream: #FFF9F5;
    --color-charcoal: #2C2420;
    --color-warm-gray: #6B5B53;
    --color-warm-gray-light: #9A8A82;
    --color-white: #FFFFFF;
    --color-success: #2E7D32;
    --color-success-bg: #E8F5E9;

    --font-heading: 'Quicksand', sans-serif;
    --font-body: 'Lora', serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(44, 36, 32, 0.06);
    --shadow-md: 0 4px 20px rgba(44, 36, 32, 0.08);
    --shadow-lg: 0 8px 40px rgba(44, 36, 32, 0.12);
    --shadow-xl: 0 16px 60px rgba(44, 36, 32, 0.14);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-charcoal);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--color-terracotta);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-terracotta-dark);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-charcoal);
}

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--color-terracotta);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-family: var(--font-heading);
    font-weight: 600;
}

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-terracotta);
    color: var(--color-white);
    border-color: var(--color-terracotta);
}

.btn-primary:hover {
    background: var(--color-terracotta-dark);
    border-color: var(--color-terracotta-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-terracotta);
    border-color: var(--color-terracotta);
}

.btn-secondary:hover {
    background: var(--color-terracotta);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-charcoal);
    border-color: var(--color-sand-dark);
}

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

.btn-nav {
    background: var(--color-terracotta);
    color: var(--color-white);
    border-color: var(--color-terracotta);
    padding: 10px 22px;
    font-size: 14px;
}

.btn-nav:hover {
    background: var(--color-terracotta-dark);
    border-color: var(--color-terracotta-dark);
    color: var(--color-white);
}

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

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

/* --- Section Shared --- */
.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    background: rgba(192, 96, 58, 0.1);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

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

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 16px;
    color: var(--color-charcoal);
}

.section-desc {
    font-size: 17px;
    color: var(--color-warm-gray);
    line-height: 1.7;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 246, 240, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(192, 96, 58, 0.08);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-charcoal);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-menu a:not(.btn) {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-warm-gray);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.nav-menu a:not(.btn):hover {
    color: var(--color-terracotta);
    background: rgba(192, 96, 58, 0.08);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 2px;
    background: var(--color-charcoal);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--color-charcoal);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    background: var(--color-sand);
    padding: 120px 0 0;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-bottom: 80px;
}

.hero-content {
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    color: var(--color-terracotta);
    background: rgba(192, 96, 58, 0.1);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    color: var(--color-charcoal);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

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

.hero-sub {
    font-size: 17px;
    color: var(--color-warm-gray);
    line-height: 1.8;
    margin-bottom: 32px;
}

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

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

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    color: var(--color-terracotta);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--color-warm-gray-light);
    font-family: var(--font-heading);
    font-weight: 600;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-sand-dark);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
}

.hero-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: 100%;
}

.hero-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-float {
    position: absolute;
    bottom: -20px;
    left: -40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-white);
    width: 220px;
}

.hero-img-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card {
    position: absolute;
    top: 40px;
    right: -20px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 260px;
}

.hero-card-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(192, 96, 58, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-terracotta);
}

.hero-card p {
    font-size: 13px;
    color: var(--color-warm-gray);
    line-height: 1.6;
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    background: var(--color-sand);
    padding: 100px 0;
}

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

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    border: 1px solid rgba(192, 96, 58, 0.06);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(192, 96, 58, 0.15);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(192, 96, 58, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-terracotta);
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--color-terracotta);
    color: var(--color-white);
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--color-charcoal);
}

.service-card p {
    font-size: 15px;
    color: var(--color-warm-gray);
    line-height: 1.7;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--color-cream);
    padding: 100px 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-img-group {
    position: relative;
    height: 500px;
}

.about-img-group > img:first-child {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.about-accent-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-white);
}

.about-accent-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: 20px;
    right: 40px;
    background: var(--color-terracotta);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
}

.about-content .section-title {
    text-align: left;
}

.about-content > p {
    font-size: 16px;
    color: var(--color-warm-gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-content > p em {
    color: var(--color-charcoal);
    font-family: var(--font-body);
}

.about-values {
    margin-top: 28px;
    display: grid;
    gap: 12px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--color-charcoal);
}

.value-check {
    width: 24px;
    height: 24px;
    background: rgba(192, 96, 58, 0.1);
    color: var(--color-terracotta);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ============================================
   PROCESS
   ============================================ */
.process {
    background: var(--color-sand);
    padding: 100px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: start;
}

.step {
    text-align: center;
    padding: 0 16px;
}

.step-number {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 48px;
    color: rgba(192, 96, 58, 0.15);
    line-height: 1;
    margin-bottom: 12px;
}

.step-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--color-charcoal);
}

.step-content p {
    font-size: 14px;
    color: var(--color-warm-gray);
    line-height: 1.7;
}

.step-arrow {
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--color-sand-dark), var(--color-terracotta-light), var(--color-sand-dark));
    margin-top: 40px;
    position: relative;
}

.step-arrow::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 8px solid var(--color-terracotta-light);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

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

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

.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid rgba(192, 96, 58, 0.06);
    transition: all var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 700;
    color: var(--color-terracotta);
    opacity: 0.2;
    line-height: 1;
    position: absolute;
    top: 16px;
    left: 24px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--color-warm-gray);
    line-height: 1.8;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    padding-top: 24px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--color-charcoal);
}

.author-detail {
    font-size: 13px;
    color: var(--color-warm-gray-light);
}

/* ============================================
   CTA
   ============================================ */
.cta {
    background: var(--color-charcoal);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(192, 96, 58, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
}

.cta-content {
    color: var(--color-white);
}

.cta-headline {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 32px;
}

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

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--color-white);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--color-white);
}

.cta-visual {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--color-sand);
    padding: 100px 0 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
}

.contact-info .section-title {
    text-align: left;
}

.contact-info .section-desc {
    text-align: left;
    margin-bottom: 32px;
}

.contact-details {
    display: grid;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(192, 96, 58, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-terracotta);
    flex-shrink: 0;
}

.contact-item strong {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--color-charcoal);
    display: block;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 15px;
    color: var(--color-warm-gray);
    line-height: 1.6;
}

.contact-item a {
    color: var(--color-terracotta);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form h3,
.form-success h3 {
    font-size: 22px;
    margin-bottom: 24px;
    color: var(--color-charcoal);
}

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

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    color: var(--color-charcoal);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-sand-dark);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-charcoal);
    background: var(--color-cream);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-terracotta);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(192, 96, 58, 0.1);
}

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

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

.form-note {
    font-size: 13px;
    color: var(--color-warm-gray-light);
    text-align: center;
    margin-top: 12px;
}

.form-success {
    text-align: center;
    padding: 20px;
}

.form-success .success-icon {
    margin-bottom: 16px;
}

.form-success h3 {
    color: var(--color-success);
}

.form-success p {
    color: var(--color-warm-gray);
    margin-bottom: 20px;
}

/* Map */
.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer .logo-text {
    color: var(--color-white);
    font-size: 18px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
}

.footer-links a:hover {
    color: var(--color-terracotta-light);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 4px;
}

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

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

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.footer-bottom a:hover {
    color: var(--color-terracotta-light);
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Non-reduced-motion default: content is visible */
.reveal {
    opacity: 1;
    transform: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        height: 420px;
        max-width: 500px;
    }

    .hero-img-float {
        left: -20px;
        width: 180px;
    }

    .hero-card {
        right: 0;
        top: 20px;
    }

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

    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-img-group {
        height: 400px;
        max-width: 480px;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-content > p {
        text-align: center;
    }

    .process-steps {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .step-arrow {
        display: none;
    }

    .step {
        text-align: left;
        padding: 0;
    }

    .step-number {
        display: inline;
        font-size: 36px;
        margin-right: 12px;
    }

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

    .cta-container {
        grid-template-columns: 1fr;
    }

    .cta-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 246, 240, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid rgba(192, 96, 58, 0.1);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu a:not(.btn) {
        display: block;
        padding: 12px 16px;
        font-size: 16px;
    }

    .nav-menu li:last-child {
        margin-top: 8px;
    }

    .hero {
        padding: 100px 0 0;
    }

    .hero-container {
        padding-bottom: 60px;
    }

    .hero-visual {
        height: 360px;
    }

    .hero-img-float {
        width: 150px;
        left: -10px;
        bottom: -10px;
    }

    .hero-card {
        display: none;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat-number {
        font-size: 18px;
    }

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

    .services, .about, .process, .testimonials, .contact {
        padding: 72px 0;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .step-number {
        font-size: 28px;
    }

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

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

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .stat-divider {
        display: none;
    }

    .cta-actions {
        flex-direction: column;
    }

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