/* ============================================
   Alpha Group Tax & Accounting Services
   Modern Redesign - CSS Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --color-navy: #1a1a1a;
    --color-navy-dark: #0a0a0a;
    --color-gold: #a52823;
    --color-gold-light: #c43933;
    --color-cream: #fafafa;
    --color-white: #ffffff;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e8e8e8;
    --color-gray-400: #9ca3af;
    --color-gray-600: #6b7280;
    --color-gray-800: #1f2937;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.16);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--color-gray-600);
}

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

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

ul {
    list-style: none;
}

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

/* Sections */
.section {
    padding: 100px 0;
}

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

.section-header h2 {
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 24px auto 0;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    gap: 8px;
}

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

.btn-primary:hover {
    background: var(--color-navy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--color-navy);
    border: 2px solid var(--color-navy);
}

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

.btn-gold {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    color: var(--color-navy);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

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

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 39, 68, 0.06);
    transition: var(--transition-base);
}

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

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

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

.logo img {
    height: 72px;
    width: auto;
}

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

.nav-link {
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-gray-600);
    border-radius: 6px;
    position: relative;
}

.nav-link:hover {
    color: var(--color-navy);
    background: var(--color-gray-100);
}

.nav-link.active {
    color: var(--color-navy);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition-base);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-link {
    display: block;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--color-gray-600);
    border-radius: 8px;
}

.nav-dropdown-link:hover {
    background: var(--color-gray-100);
    color: var(--color-navy);
}

.nav-cta {
    margin-left: 16px;
}

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

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-navy);
    border-radius: 2px;
    transition: var(--transition-base);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 24px;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition-base);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-gray-600);
    border-bottom: 1px solid var(--color-gray-100);
}

.mobile-menu a:hover {
    color: var(--color-navy);
}

.mobile-menu .mobile-cta {
    color: var(--color-gold);
    font-weight: 600;
    border-bottom: none;
    margin-top: 8px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-navy);
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.78) 0%,
        rgba(26, 26, 26, 0.65) 50%,
        rgba(10, 10, 10, 0.78) 100%
    );
    z-index: 1;
}

.hero-bg-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(165, 40, 35, 0.35), transparent 70%);
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
}

.hero-bg-shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
}

.hero-bg-shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    padding: 140px 24px 60px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(165, 40, 35, 0.2);
    border: 1px solid rgba(165, 40, 35, 0.5);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
    backdrop-filter: blur(8px);
}

.hero h1 {
    color: var(--color-white);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.hero h1 span {
    color: var(--color-gold-light);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 auto 40px;
    line-height: 1.8;
    max-width: 700px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--color-white);
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 24px;
    right: -24px;
    bottom: -24px;
    border: 3px solid var(--color-gold);
    border-radius: 16px;
    z-index: -1;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1.0625rem;
}

.about-stats {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--color-gray-200);
}

.stat {
    text-align: left;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 4px;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    background: var(--color-cream);
    position: relative;
}

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

.service-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 40px 28px 32px;
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    transform: scaleX(0);
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-gold);
}

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

.service-icon {
    width: 120px;
    height: 100px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(165, 40, 35, 0.08), rgba(165, 40, 35, 0.03));
    border-radius: 20px;
}

.service-icon img {
    width: 48px;
    height: 48px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.9375rem;
    margin-bottom: 24px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-top: auto;
}

.service-link svg {
    transition: var(--transition-base);
}

.service-link:hover {
    color: var(--color-gold);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   History Section
   ============================================ */
.history {
    background: var(--color-navy);
    position: relative;
    overflow: hidden;
}

.history::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23a52823' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

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

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

.history h2::after {
    background: var(--color-gold);
}

.history-subtitle {
    font-size: 1.125rem;
    color: var(--color-gold);
    margin-bottom: 32px;
    font-weight: 500;
}

.history p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.0625rem;
    line-height: 1.9;
}

.history-highlight {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--color-gold);
    border-radius: 12px;
    padding: 32px 36px;
    margin: 40px 0;
}

.history-highlight p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 0;
    line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(165, 40, 35, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

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

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

.cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

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

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: var(--color-white);
}

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

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

.contact-info > p {
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.contact-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(165, 40, 35, 0.15), rgba(165, 40, 35, 0.05));
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-gold);
    stroke: var(--color-gold);
}

.contact-item-content h4 {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item-content p {
    font-size: 0.9375rem;
    margin-bottom: 0;
}

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

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-cream);
    border-radius: 20px;
    padding: 48px;
}

.contact-form-wrapper h3 {
    margin-bottom: 8px;
}

.contact-form-wrapper > p {
    margin-bottom: 32px;
}

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

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

.form-group.full-width {
    grid-column: 1 / -1;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    border: 2px solid var(--color-gray-200);
    border-radius: 10px;
    background: var(--color-white);
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(165, 40, 35, 0.1);
}

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

/* Character counter under textareas */
.char-counter {
    display: block;
    text-align: right;
    font-size: 0.8125rem;
    color: var(--color-gray-600, #6b7280);
    margin-top: 6px;
    font-variant-numeric: tabular-nums; /* keeps digits aligned as they change */
    transition: color 0.2s ease;
}

.char-counter-near {
    color: #c87917; /* amber — "heads up, getting close" */
}

.char-counter-full {
    color: var(--color-navy, #a52823); /* matches your brand red on cap reached */
    font-weight: 600;
}

/* Honeypot anti-spam field — must be invisible to humans but
   still in the DOM so bots find and fill it. Avoid display:none
   since some bots specifically skip those. */
.honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Inline form validation errors */
.form-error {
    display: block;
    color: var(--color-gold);
    font-size: 0.8125rem;
    font-weight: 500;
    margin-top: 6px;
    line-height: 1.4;
}

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

/* ============================================
   Toast notifications
   ============================================ */
.toast-container {
    position: fixed;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: calc(100% - 48px);
}

.toast {
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 320px;
    max-width: 420px;
    border-left: 4px solid #16a34a;
    pointer-events: auto;
    transform: translateY(-24px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s;
}

.toast.toast-visible {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: rgba(22, 163, 74, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16a34a;
}

.toast-icon svg {
    width: 16px;
    height: 16px;
}

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-navy);
    font-size: 0.95rem;
    margin-bottom: 2px;
    line-height: 1.3;
}

.toast-message {
    color: var(--color-gray-600);
    font-size: 0.875rem;
    line-height: 1.5;
}

.toast-close {
    background: none;
    border: none;
    color: var(--color-gray-400);
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    margin: -2px -4px -2px 0;
}

.toast-close:hover {
    color: var(--color-gray-800);
}

/* Error variant — overrides the green left border and icon */
.toast.toast-error {
    border-left-color: #dc2626;
}
.toast.toast-error .toast-icon {
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
}

@media (max-width: 768px) {
    .toast-container {
        top: 100px;
    }
}

@media (max-width: 480px) {
    .toast-container {
        top: 100px;
        left: 16px;
        right: 16px;
        transform: none;
        max-width: none;
    }

    .toast {
        min-width: 0;
        max-width: none;
    }
}

/* ============================================
   Page Hero (Inner Pages)
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23a52823' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.8;
}

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

.page-hero h1 {
    color: var(--color-white);
    margin-bottom: 16px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Content */
.page-content {
    padding: 80px 0;
    background: var(--color-white);
}

.page-content .container {
    max-width: 900px;
}

.page-content h3 {
    margin-top: 48px;
    margin-bottom: 16px;
}

.page-content h3:first-child {
    margin-top: 0;
}

.page-content p {
    font-size: 1.0625rem;
    line-height: 1.9;
}

.page-content ul {
    margin: 16px 0 24px;
    padding-left: 0;
}

.page-content li {
    margin-bottom: 12px;
    color: var(--color-gray-600);
    padding-left: 28px;
    position: relative;
}

.page-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 50%;
}

/* Service Detail Cards */
.service-detail-card {
    background: var(--color-cream);
    border-radius: 16px;
    padding: 32px;
    margin: 32px 0;
    border-left: 4px solid var(--color-gold);
}

.service-detail-card h4 {
    margin-bottom: 16px;
    font-size: 1.25rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-navy-dark);
    padding: 60px 0 30px;
}

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

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    line-height: 1.8;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gold);
    margin-bottom: 24px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

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

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

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

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* ============================================
   Map
   ============================================ */
.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 48px;
    }

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

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

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

    .header-inner {
        height: 80px;
    }

    .logo img {
        height: 56px;
    }

    .nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero-content {
        max-width: 100%;
        padding: 120px 24px 60px;
    }

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

    .hero-buttons .btn {
        width: 100%;
    }

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

    .about-image {
        order: -1;
    }

    .about-image::before {
        display: none;
    }

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

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

    .contact-form-wrapper {
        padding: 32px 24px;
    }

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

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

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

    .page-hero {
        padding: 140px 0 60px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        text-align: left;
    }

    .stat-value {
        font-size: 2rem;
        margin-bottom: 0;
    }
}
