/*
Theme Name: Fiegel Law
Theme URI: https://fiegellawfirm.com
Author: Jason Fiegel
Author URI: https://fiegellawfirm.com
Description: Custom estate planning law firm theme for Fiegel Law, Columbia MD.
Version: 1.0.0
License: Proprietary
Text Domain: fiegel-law
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
    --navy:       #084272;
    --navy-dark:  #062f52;
    --navy-light: #0a5a9e;
    --cream:      #faf8f4;
    --gold:       #d4af37;
    --gray:       #6b7280;
    --gray-light: #f3f4f6;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.7;
    background: var(--cream);
    overflow-x: hidden;
}

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

a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 248, 244, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(8, 66, 114, 0.1);
    transition: box-shadow 0.3s ease;
}

#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(8, 66, 114, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-mark {
    width: 50px;
    height: 50px;
    background: var(--navy);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.5px;
}

/* Nav links — WordPress outputs a <ul> inside wp_nav_menu */
.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links .current-menu-item a::after {
    width: 100%;
}

/* Nav CTA button */
.nav-cta {
    background: var(--navy);
    color: white !important;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 2px solid var(--navy);
    white-space: nowrap;
}

.nav-cta:hover {
    background: white;
    color: var(--navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 66, 114, 0.2);
}

/* ============================================================
   BUTTONS (shared)
   ============================================================ */
.btn-primary {
    display: inline-block;
    background: var(--navy);
    color: white;
    padding: 16px 40px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    border: 2px solid var(--navy);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--navy-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(8, 66, 114, 0.25);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--navy);
    padding: 16px 40px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    border: 2px solid var(--navy);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

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

.btn-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ============================================================
   SECTION SHARED STYLES
   ============================================================ */
.section-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    margin-top: 91px; /* height of the fixed nav */
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #faf8f4 0%, #e8e4dd 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

/* Hero text */
.hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 72px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease-out both;
}

.hero-content .hero-subtitle {
    font-size: 22px;
    color: var(--gray);
    margin-bottom: 25px;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-content .hero-body {
    font-size: 17px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-content .btn-group {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Hero image column */
.hero-image-col {
    position: relative;
    animation: fadeIn 1s ease-out 0.4s both;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(8, 66, 114, 0.15);
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 66, 114, 0.1) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Trust badge */
.trust-badge {
    position: absolute;
    bottom: -20px;
    left: 30px;
    background: white;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(8, 66, 114, 0.15);
    z-index: 2;
}

.trust-badge-title {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.trust-badge-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
    padding: 120px 40px;
    background: white;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--cream);
    padding: 45px;
    border-radius: 12px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(8, 66, 114, 0.12);
    border-color: var(--navy);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--navy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: var(--gold);
    transform: rotate(5deg) scale(1.1);
}

.service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    color: var(--navy);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
}

.service-link:hover {
    gap: 15px;
    color: var(--navy);
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing {
    padding: 120px 40px;
    background: var(--gray-light);
}

@media (max-width: 768px) {
    .pricing { padding: 80px 24px; }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
    padding: 120px 40px;
    background: var(--navy);
    color: white;
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 600;
    color: white;
    margin-bottom: 30px;
    line-height: 1.2;
}

.about-content p {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.95);
}

.about-content p:last-of-type {
    margin-bottom: 0;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat {
    text-align: center;
}

.stat-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 8px;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
}

/* About image */
.about-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.about-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    padding: 100px 40px;
    background: linear-gradient(135deg, var(--cream) 0%, #e8e4dd 100%);
    text-align: center;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
}

.cta-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 25px;
    line-height: 1.2;
}

.cta-section p {
    font-size: 19px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-section .btn-group {
    justify-content: center;
}

/* ============================================================
   PAGE HERO (Contact / Payment pages)
   ============================================================ */
.page-hero {
    margin-top: 91px;
    padding: 80px 40px;
    background: linear-gradient(135deg, #faf8f4 0%, #e8e4dd 100%);
    text-align: center;
    border-bottom: 1px solid rgba(8, 66, 114, 0.08);
}

.page-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 15px;
    line-height: 1.15;
}

.page-hero p {
    font-size: 20px;
    color: var(--gray);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================
   PAGE CONTENT AREA (Contact / Payment)
   ============================================================ */
.page-content-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 40px;
}

.page-content-wrap h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 20px;
}

.page-content-wrap h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--navy);
    margin-top: 40px;
    margin-bottom: 15px;
}

.page-content-wrap p {
    font-size: 17px;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-content-wrap a {
    color: var(--navy);
    font-weight: 500;
}

.page-content-wrap a:hover {
    color: var(--navy-light);
}

/* Gutenberg block styles inside page content */
.page-content-wrap .wp-block-buttons {
    margin-top: 30px;
}

.page-content-wrap .wp-block-button__link {
    background: var(--navy);
    color: white;
    border-radius: 6px;
    padding: 14px 35px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    border: 2px solid var(--navy);
    transition: all 0.3s ease;
}

.page-content-wrap .wp-block-button__link:hover {
    background: var(--navy-dark);
}

/* Contact form plugin compatibility */
.page-content-wrap .wpcf7,
.page-content-wrap .wpforms-container,
.page-content-wrap .kadence-form-wrap {
    margin-top: 40px;
}

.page-content-wrap input[type="text"],
.page-content-wrap input[type="email"],
.page-content-wrap input[type="tel"],
.page-content-wrap textarea,
.page-content-wrap select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(8, 66, 114, 0.2);
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #333;
    background: white;
    transition: border-color 0.3s ease;
    margin-bottom: 15px;
}

.page-content-wrap input:focus,
.page-content-wrap textarea:focus,
.page-content-wrap select:focus {
    outline: none;
    border-color: var(--navy);
}

.page-content-wrap textarea {
    min-height: 140px;
    resize: vertical;
}

.page-content-wrap input[type="submit"],
.page-content-wrap button[type="submit"] {
    background: var(--navy);
    color: white;
    padding: 14px 35px;
    border: 2px solid var(--navy);
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-content-wrap input[type="submit"]:hover,
.page-content-wrap button[type="submit"]:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 66, 114, 0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--navy-dark);
    color: white;
    padding: 60px 40px 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 15px;
}

.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: white;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.footer-col a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 8px;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: white;
}

/* ============================================================
   GUTENBERG BLOCK COMPATIBILITY
   Ensures native Gutenberg blocks render correctly inside our
   custom CSS sections when content is managed via the block editor.
   ============================================================ */

/* Remove default block spacing that conflicts with section layout */
.hero .wp-block-group,
.services .wp-block-group,
.about .wp-block-group,
.pricing .wp-block-group,
.cta-section .wp-block-group {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* Strip any inline padding the block editor adds to the hero/about
   group blocks — inline styles beat selectors, so !important is needed */
.wp-block-group.hero,
.wp-block-group.about {
    padding-top:    0 !important;
    padding-bottom: 0 !important;
    padding-left:   0 !important;
    padding-right:  0 !important;
}

/* WordPress wraps every group block's content in a __inner-container div.
   That div sits between our .hero flex container and .hero-container,
   and has no width set, so it collapses to content width and pulls
   everything to one side. Force it to span the full section width. */
.hero         > .wp-block-group__inner-container,
.services     > .wp-block-group__inner-container,
.about        > .wp-block-group__inner-container,
.pricing      > .wp-block-group__inner-container,
.cta-section  > .wp-block-group__inner-container {
    width:         100% !important;
    max-width:     none !important;
    margin-left:   0    !important;
    margin-right:  0    !important;
    padding-left:  0    !important;
    padding-right: 0    !important;
}

/* Hero two-column: override wp:columns flex with our CSS grid */
.hero-container.wp-block-columns {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    flex-wrap: unset;
    width: 100%;
}

.hero-container .wp-block-column {
    flex-basis: unset !important;
    min-width: 0;
    width: auto;
}

/* About two-column: override wp:columns flex with our CSS grid */
.about-container.wp-block-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-wrap: unset;
}

.about-container .wp-block-column {
    flex-basis: unset !important;
    min-width: 0;
    width: auto;
}

/* Service / pricing cards grid — wp:group.services-grid already
   matches our existing .services-grid { display: grid } rule */
.services-grid.wp-block-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px;
}

/* Heading blocks inside service cards */
.service-card .wp-block-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 15px;
}

/* White text for headings and paragraphs inside the navy About section */
.about .wp-block-heading {
    color: white;
}

.about .wp-block-paragraph {
    color: rgba(255, 255, 255, 0.95);
}

/* wp:image used as hero/about photo — renders as <figure> not <div>,
   so re-declare the same styles targeting the figure element */
figure.hero-image-wrapper.wp-block-image,
figure.about-image-wrapper.wp-block-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(8, 66, 114, 0.15);
    margin: 0;
    position: relative;
    min-height: 400px;
    background: var(--gray-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

figure.hero-image-wrapper.wp-block-image img,
figure.about-image-wrapper.wp-block-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Show the upload-prompt caption when no image is loaded yet.
   Once Jason uploads a real photo, the img fills the figure and
   the caption is hidden below the fold inside overflow:hidden. */
.hero-image-wrapper figcaption,
.about-image-wrapper figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(8, 66, 114, 0.75);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    text-align: center;
    padding: 12px;
    margin: 0;
}

/* Button blocks — fill style (primary) */
.wp-block-button.is-style-fill .wp-block-button__link,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
    background: var(--navy);
    color: white;
    border: 2px solid var(--navy);
    border-radius: 6px;
    padding: 16px 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
}

.wp-block-button.is-style-fill .wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
    background: var(--navy-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(8, 66, 114, 0.25);
}

/* Button blocks — outline style (secondary) */
.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
    border-radius: 6px;
    padding: 16px 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--navy);
    color: white;
}

/* Button group spacing and alignment */
.wp-block-buttons.btn-group {
    gap: 20px;
    flex-wrap: wrap;
}

.cta-section .wp-block-buttons {
    justify-content: center;
}

/* Responsive: stack hero/about columns on tablet */
@media (max-width: 1024px) {
    .hero-container.wp-block-columns,
    .about-container.wp-block-columns {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .hero-content h1  { font-size: 60px; }
    .section-title    { font-size: 44px; }
    .about-content h2 { font-size: 44px; }
    .cta-section h2   { font-size: 46px; }
}

@media (max-width: 1024px) {
    .hero-container   { grid-template-columns: 1fr; gap: 50px; }
    .about-container  { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 40px; }
    .hero-content h1  { font-size: 56px; }
    .services-grid,
    .services-grid.wp-block-group { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
    .nav-links        { display: none; }
    .nav-container    { padding: 18px 24px; }
    .hero             { margin-top: 80px; }
    .page-hero        { margin-top: 80px; }
    .hero-content h1  { font-size: 42px; }
    .hero-container   { padding: 60px 24px; }
    .section-title    { font-size: 36px; }
    .about-content h2 { font-size: 36px; }
    .cta-section h2   { font-size: 38px; }
    .services         { padding: 80px 24px; }
    .about            { padding: 80px 24px; }
    .cta-section      { padding: 80px 24px; }
    .trust-badge      { position: static; margin-top: 20px; }
    .stats            { grid-template-columns: 1fr; gap: 25px; }
    .services-grid    { grid-template-columns: 1fr !important; }
    .footer-container { grid-template-columns: 1fr; gap: 35px; }
    .service-card     { padding: 30px; }
    .btn-group        { flex-direction: column; align-items: flex-start; }
    .cta-section .btn-group { align-items: center; }
    .page-hero h1     { font-size: 38px; }
    .page-content-wrap { padding: 50px 24px; }
}
