/* ============================================
   SIMPLIFY YOUR DIVORCE — THEME STYLES
   Premium legal services design
   Palette: Navy #0f1623 · Gold #c9a84e · Slate #2a3347
   ============================================ */

/* --- CSS Variables --- */
:root {
    --navy:       #0f1623;
    --navy-light: #1a2438;
    --navy-mid:   #151e30;
    --slate:      #2a3347;
    --slate-light:#3d4a63;
    --gold:       #c9a84e;
    --gold-light: #d4b86a;
    --gold-dark:  #b08f3a;
    --gold-muted: rgba(201, 168, 78, 0.15);
    --white:      #ffffff;
    --off-white:  #f7f6f3;
    --warm-gray:  #e8e5df;
    --text-light: #c5c9d3;
    --text-body:  #8a90a0;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width:  1200px;
    --section-pad: 100px;
    --transition:  0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--navy);
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.section-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.gold-rule {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border: none;
    margin: 24px 0;
}

.gold-rule--center { margin: 24px auto; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 78, 0.3);
}

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

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline-dark {
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--navy);
}

.btn-outline-dark:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-text {
    background: none;
    border: none;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 0;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-text::after {
    content: ' →';
    transition: transform var(--transition);
    display: inline-block;
}

.btn-text:hover {
    color: var(--gold-light);
}

.btn-text:hover::after {
    transform: translateX(4px);
}

/* =====================
   HEADER / NAVIGATION
   ===================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: all var(--transition);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
}

.site-header.scrolled {
    background: rgba(15, 22, 35, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.site-header.scrolled .container {
    padding-top: 12px;
    padding-bottom: 12px;
}

.site-logo img {
    height: 50px;
    width: auto;
    transition: height var(--transition);
}

.site-header.scrolled .site-logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 40px;
}

.main-nav a {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    padding: 4px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--white);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.nav-cta {
    padding: 14px 32px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold) !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px;
    transition: all var(--transition);
}

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

.nav-cta:hover {
    background: var(--gold);
    color: var(--navy) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(201, 168, 78, 0.25);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 6px 0;
    transition: all var(--transition);
}

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

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

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

/* ============
   HERO SECTION
   ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--navy);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(201, 168, 78, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 168, 78, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, rgba(15, 22, 35, 0) 0%, rgba(15, 22, 35, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 140px 0 100px;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 8px;
    font-weight: 500;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 560px;
}

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

.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat h3 {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--gold);
    font-family: var(--font-heading);
}

.hero-stat p {
    font-size: 0.82rem;
    color: var(--text-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Decorative line elements */
.hero-deco {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 400px;
    z-index: 1;
}

.hero-deco::before,
.hero-deco::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(201, 168, 78, 0.1);
}

.hero-deco::before {
    width: 250px;
    height: 350px;
    top: 0;
    right: 0;
}

.hero-deco::after {
    width: 200px;
    height: 300px;
    bottom: 0;
    left: 0;
}

/* ==================
   INTRO / ABOUT BAR
   ================== */
.intro-bar {
    background: var(--off-white);
    padding: 80px 0;
}

.intro-bar .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-bar h2 {
    color: var(--navy);
    margin-bottom: 4px;
}

.intro-text p {
    color: #5a6070;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* =================
   SERVICES SECTION
   ================= */
.services-section {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.services-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.services-header p {
    color: #5a6070;
    font-size: 1.05rem;
    line-height: 1.8;
}

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

.service-card {
    background: var(--white);
    border: 1px solid #e8e5df;
    padding: 44px 36px;
    transition: all var(--transition);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    border-color: rgba(201, 168, 78, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(15, 22, 35, 0.08);
}

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

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-muted);
    margin-bottom: 24px;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.5;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
    color: var(--navy);
}

.service-card p {
    color: #5a6070;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Featured service (£399) */
.service-card--featured {
    background: var(--navy);
    border-color: var(--navy);
    grid-column: span 1;
}

.service-card--featured h3 {
    color: var(--white);
}

.service-card--featured p {
    color: var(--text-light);
}

.service-card--featured .service-icon {
    background: rgba(201, 168, 78, 0.15);
}

.service-price {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
}

.service-price .currency {
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 600;
}

.service-price .amount {
    font-size: 2.6rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gold);
}

.service-price .note {
    font-size: 0.8rem;
    color: var(--text-body);
    margin-left: 8px;
}

/* ==================
   PROCESS SECTION
   ================== */
.process-section {
    padding: var(--section-pad) 0;
    background: var(--navy);
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(201, 168, 78, 0.04) 0%, transparent 60%);
}

.process-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 70px;
    position: relative;
}

.process-header h2 {
    color: var(--white);
}

.process-header p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 78, 0.3), rgba(201, 168, 78, 0.3), transparent);
}

.process-step {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.step-number {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 168, 78, 0.3);
    margin: 0 auto 28px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold);
    position: relative;
    background: var(--navy);
}

.process-step h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 12px;
}

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

/* =============
   WHY US / USP
   ============= */
.why-section {
    padding: var(--section-pad) 0;
    background: var(--off-white);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.why-content h2 {
    margin-bottom: 8px;
}

.why-content > p {
    color: #5a6070;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 36px;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

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

.why-feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-muted);
}

.why-feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.5;
}

.why-feature h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--navy);
}

.why-feature p {
    color: #5a6070;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* USP highlight panel */
.why-panel {
    background: var(--navy);
    padding: 48px 40px;
}

.why-panel .section-label {
    color: var(--gold);
}

.why-panel h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.why-panel p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.why-panel-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.why-panel-stat h4 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 4px;
}

.why-panel-stat p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-body);
    margin-bottom: 0;
}

/* ==============
   CTA BANNER
   ============== */
.cta-section {
    padding: 80px 0;
    background: var(--navy);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(201, 168, 78, 0.05) 0%, transparent 40%),
        linear-gradient(-135deg, rgba(201, 168, 78, 0.05) 0%, transparent 40%);
}

.cta-section .container {
    position: relative;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 36px;
}

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

/* ==============
   CONTACT PAGE
   ============== */
.contact-section {
    padding: var(--section-pad) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 8px;
}

.contact-info > p {
    color: #5a6070;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-detail {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 32px;
}

.contact-detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-muted);
}

.contact-detail-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.5;
}

.contact-detail h4 {
    font-size: 0.82rem;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
    color: var(--navy);
    font-size: 1.05rem;
}

.contact-detail a:hover {
    color: var(--gold);
}

/* Contact Form */
.contact-form {
    background: var(--off-white);
    padding: 48px;
}

.contact-form h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.contact-form > p {
    color: #5a6070;
    margin-bottom: 32px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--warm-gray);
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

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

/* ==========
   ABOUT PAGE
   ========== */
.about-hero {
    padding: 160px 0 80px;
    background: var(--navy);
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 60%, rgba(201, 168, 78, 0.06) 0%, transparent 50%);
}

.about-hero .container {
    position: relative;
}

.about-hero h1 {
    color: var(--white);
    max-width: 640px;
}

.about-hero p {
    color: var(--text-light);
    font-size: 1.15rem;
    max-width: 560px;
    margin-top: 16px;
    line-height: 1.8;
}

.about-content {
    padding: var(--section-pad) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h2 {
    margin-bottom: 8px;
}

.about-text p {
    color: #5a6070;
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

/* Values grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.value-card {
    padding: 32px 28px;
    background: var(--off-white);
    border-left: 3px solid var(--gold);
}

.value-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--navy);
}

.value-card p {
    color: #5a6070;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Page hero for inner pages */
.page-hero {
    padding: 160px 0 80px;
    background: var(--navy);
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 60%, rgba(201, 168, 78, 0.06) 0%, transparent 50%);
}

.page-hero .container {
    position: relative;
}

.page-hero h1 {
    color: var(--white);
}

.page-hero p {
    color: var(--text-light);
    font-size: 1.15rem;
    max-width: 560px;
    margin-top: 16px;
    line-height: 1.8;
}

/* Services detail list */
.services-detail {
    padding: var(--section-pad) 0;
}

.service-detail-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    padding: 60px 0;
    border-bottom: 1px solid var(--warm-gray);
}

.service-detail-block:last-child {
    border-bottom: none;
}

.service-detail-block h2 {
    margin-bottom: 8px;
}

.service-detail-block p {
    color: #5a6070;
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.service-detail-block ul {
    margin-top: 12px;
}

.service-detail-block ul li {
    position: relative;
    padding-left: 24px;
    color: #5a6070;
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 8px;
}

.service-detail-block ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 10px;
    height: 1px;
    background: var(--gold);
}

/* =========
   FOOTER
   ========= */
.site-footer {
    background: var(--navy);
    color: var(--text-body);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 78, 0.3), transparent);
}

.footer-main {
    padding: 70px 0;
}

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

.footer-brand img {
    height: 44px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-body);
    max-width: 280px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 24px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 0.9rem;
    color: var(--text-body);
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.5;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item a,
.footer-contact-item p {
    font-size: 0.9rem;
    color: var(--text-body);
}

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

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

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-body);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 0.82rem;
    color: var(--text-body);
}

.footer-legal a:hover {
    color: var(--gold);
}

/* =================
   RESPONSIVE
   ================= */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    .process-steps {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .process-steps::before { display: none; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 70px;
    }

    .menu-toggle { display: block; }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: var(--navy);
        padding: 100px 40px 40px;
        transition: right var(--transition);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .main-nav a {
        font-size: 1rem;
    }

    .hero-content { padding: 120px 0 80px; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .hero-deco { display: none; }

    .intro-bar .container,
    .why-grid,
    .about-grid,
    .contact-grid,
    .service-detail-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

    .footer-bottom .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .contact-form { padding: 32px 24px; }
    .form-row { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .cta-actions { flex-direction: column; align-items: center; }
}
