/* ============================================================
   tech-defence.com — Main Stylesheet (Mobile-First)
   Brand: #3d7cc9 blue · #1a2b4a navy · #f8f9fb off-white
   Strategy: base styles = mobile, media queries = wider
   ============================================================ */

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

:root {
    --blue:        #3d7cc9;
    --blue-dark:   #2d5f9e;
    --blue-light:  #5a94d8;
    --navy:        #1a2b4a;
    --navy-mid:    #243756;
    --white:       #ffffff;
    --off-white:   #f8f9fb;
    --light-grey:  #eef1f6;
    --mid-grey:    #c5cdd9;
    --text:        #1e2a3a;
    --text-muted:  #5a6a7e;
    --border:      #dde3ec;
    --success:     #2e7d52;
    --error:       #c0392b;
    --font-body:   'Inter', system-ui, -apple-system, sans-serif;
    --font-display:'Playfair Display', Georgia, serif;
    --radius:      6px;
    --radius-lg:   12px;
    --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:   0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg:   0 8px 32px rgba(0,0,0,0.14);
    --transition:  0.22s ease;
    --max-width:   1160px;
    /* Mobile-safe horizontal padding */
    --px:          1.1rem;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Prevent horizontal overflow on mobile */
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* --- Typography (mobile-first sizes) --- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy);
    /* Prevent overflow on narrow screens */
    overflow-wrap: break-word;
    word-break: break-word;
}

h1 { font-size: 1.85rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.1rem; }
h4 { font-size: 0.95rem; font-weight: 600; }

@media (min-width: 600px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.85rem; }
    h3 { font-size: 1.25rem; }
}

@media (min-width: 900px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.4rem; }
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Layout Utilities --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--px);
}

/* Mobile: tighter sections */
.section        { padding: 3rem 0; }
.section-sm     { padding: 2rem 0; }

@media (min-width: 768px) {
    .section    { padding: 4.5rem 0; }
    .section-sm { padding: 2.5rem 0; }
}

@media (min-width: 1024px) {
    .section    { padding: 5.5rem 0; }
}

.section-dark {
    background: var(--navy);
    color: var(--white);
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }

.section-blue { background: var(--blue); color: var(--white); }
.section-blue h1,
.section-blue h2,
.section-blue h3 { color: var(--white); }

.section-light { background: var(--off-white); }

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    /* Ensure headings wrap on narrow screens */
    overflow-wrap: break-word;
    word-break: break-word;
    padding: 0 0.25rem;
}
@media (min-width: 768px) {
    .section-header { margin-bottom: 3.5rem; }
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0.75rem auto 0;
    font-size: 1rem;
}

.section-dark .section-header p,
.section-blue .section-header p { color: rgba(255,255,255,0.8); }

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.6rem;
    padding: 0.3rem 0.75rem;
    border: 1px solid rgba(61,124,201,0.3);
    border-radius: 2rem;
}

.section-dark .section-label,
.section-blue .section-label { color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.25); }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    /* Minimum tap target size */
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}
.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(61,124,201,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}
.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
}

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

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Full-width buttons on mobile */
.btn-block-mobile {
    width: 100%;
}
@media (min-width: 480px) {
    .btn-block-mobile { width: auto; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--navy);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

@media (min-width: 768px) {
    .nav-container { height: 70px; }
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    /* SVG is 1024x1024 square with text+icon side by side.
       Width-based sizing shows both elements at a readable scale. */
    width: 140px;
    height: auto;
}

@media (min-width: 768px) {
    .logo-img { width: 180px; }
}

.logo-dark  { display: none; }
.logo-white { display: block; }

/* Desktop nav */
.nav-links {
    display: none; /* hidden on mobile by default */
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }
}

.nav-link {
    padding: 0.5rem 0.9rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.nav-link.nav-cta {
    background: var(--blue);
    color: var(--white);
    margin-left: 0.5rem;
    padding: 0.5rem 1.2rem;
}

.nav-link.nav-cta:hover {
    background: var(--blue-dark);
}

/* Hamburger toggle — always visible on mobile */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    /* Large tap target */
    padding: 0.75rem;
    margin-right: -0.75rem;
    -webkit-tap-highlight-color: transparent;
}

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

/* Animated hamburger → X */
.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

/* Mobile nav drawer */
.nav-drawer {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    z-index: 999;
    overflow-y: auto;
    padding: 1.5rem var(--px) 2rem;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-drawer.open {
    display: flex;
}

@media (min-width: 768px) {
    .nav-drawer { display: none !important; }
}

.nav-drawer .nav-link {
    font-size: 1.1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-drawer .nav-link:last-child {
    border-bottom: none;
}

.nav-drawer .nav-link.nav-cta {
    margin-left: 0;
    margin-top: 1rem;
    text-align: center;
    background: var(--blue);
    border-color: transparent;
    border-bottom: none;
}

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash-container {
    position: fixed;
    top: 68px;
    left: var(--px);
    right: var(--px);
    z-index: 900;
}

@media (min-width: 600px) {
    .flash-container {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 90%;
        max-width: 560px;
    }
}

.flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
}

.flash-success {
    background: #d4edda;
    color: var(--success);
    border: 1px solid #b8dfc8;
}

.flash-error {
    background: #fde8e6;
    color: var(--error);
    border: 1px solid #f5c6c2;
}

.flash-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    line-height: 1;
    flex-shrink: 0;
    padding: 0.25rem;
    min-width: 32px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.flash-close:hover { opacity: 1; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    background: linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 55%, #1e3a6e 100%);
    color: var(--white);
    /* Mobile: less top padding, content visible immediately */
    padding: 5.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 600px) {
    .hero { padding: 7rem 0 4.5rem; }
}

@media (min-width: 1024px) {
    .hero { padding: 9rem 0 6rem; }
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 55%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(61,124,201,0.18) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 1rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(90,148,216,0.4);
    border-radius: 2rem;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

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

.hero-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 2rem;
    line-height: 1.65;
}

@media (min-width: 600px) {
    .hero-sub { font-size: 1.1rem; }
}

@media (min-width: 1024px) {
    .hero-sub { font-size: 1.2rem; max-width: 560px; }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

@media (min-width: 480px) {
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

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

@media (min-width: 480px) {
    .hero-actions .btn { width: auto; }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 5.5rem 0 2.5rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .page-hero { padding: 7rem 0 3.5rem; }
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
}

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

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

@media (min-width: 768px) {
    .page-hero p { font-size: 1.1rem; }
}

/* ============================================================
   HOME — WHO THIS IS FOR
   ============================================================ */
.audience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 600px) {
    .audience-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
    .audience-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.audience-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition);
}

@media (min-width: 768px) {
    .audience-card { padding: 2rem; }
}

.audience-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.audience-icon {
    width: 44px;
    height: 44px;
    background: var(--light-grey);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.audience-icon svg {
    width: 22px;
    height: 22px;
    color: var(--blue);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.audience-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.audience-card p  { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   HOME — WHAT WE DO
   ============================================================ */
.services-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 480px) {
    .services-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
    .services-list { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.1rem 1.25rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.service-item:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
}

.service-dot {
    width: 8px;
    height: 8px;
    background: var(--blue-light);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.55rem;
}

.service-item p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.88);
    margin: 0;
    font-weight: 500;
}

/* ============================================================
   HOME — HOW WE'RE DIFFERENT
   ============================================================ */
.differentiators {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .differentiators { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

@media (min-width: 1024px) {
    .differentiators { grid-template-columns: repeat(5, 1fr); }
}

.diff-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

@media (min-width: 768px) {
    .diff-item { padding: 2rem 1.5rem; background: none; border: none; }
}

.diff-check {
    width: 44px;
    height: 44px;
    background: rgba(61,124,201,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.diff-check svg {
    width: 20px;
    height: 20px;
    color: var(--blue);
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.diff-item h3 { font-size: 0.9rem; margin-bottom: 0.35rem; }
.diff-item p  { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

@media (min-width: 768px) {
    .diff-item h3 { font-size: 1rem; }
    .diff-item p  { font-size: 0.875rem; }
}

/* ============================================================
   SERVICES PAGE — PACKAGES
   ============================================================ */
.packages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 700px) {
    .packages-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
    .packages-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.package-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.package-card.featured {
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(61,124,201,0.2);
}

/* On tablet 2-col, make featured span full width */
@media (min-width: 700px) and (max-width: 1023px) {
    .package-card.featured {
        grid-column: 1 / -1;
    }
}

.package-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--blue);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 2rem;
}

.package-header {
    padding: 1.5rem 1.5rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
    .package-header { padding: 2rem 2rem 1.5rem; }
}

.package-card.featured .package-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.package-card.featured .package-header h3,
.package-card.featured .package-header p { color: var(--white); }
.package-card.featured .package-header p { color: rgba(255,255,255,0.75); }

.package-header h3 { font-size: 1.25rem; margin-bottom: 0.35rem; }
.package-header p  { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

.package-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .package-body { padding: 1.75rem 2rem 2rem; }
}

.package-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}

.package-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--text);
    border-bottom: 1px solid var(--light-grey);
}

.package-features li:last-child { border-bottom: none; }

.feature-check {
    width: 18px;
    height: 18px;
    background: rgba(61,124,201,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.feature-check svg {
    width: 10px;
    height: 10px;
    color: var(--blue);
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.package-includes {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

/* Full-width package CTA buttons */
.package-body .btn {
    width: 100%;
    justify-content: center;
}

.services-note {
    background: var(--light-grey);
    border-left: 3px solid var(--blue);
    padding: 1rem 1.25rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-top: 2.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ============================================================
   HOW IT WORKS — STEPS
   ============================================================ */
.steps-list {
    max-width: 700px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--border);
    position: relative;
}

@media (min-width: 600px) {
    .step-item { gap: 2rem; padding: 2.25rem 0; }
}

.step-item:last-child { border-bottom: none; }

.step-number {
    width: 44px;
    height: 44px;
    background: var(--blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

@media (min-width: 600px) {
    .step-number { width: 52px; height: 52px; font-size: 1.1rem; }
}

.step-content h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step-content p  { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

@media (min-width: 600px) {
    .step-content h3 { font-size: 1.15rem; }
    .step-content p  { font-size: 0.95rem; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro {
    max-width: 760px;
    margin: 0 auto;
}

.about-intro p { font-size: 1rem; line-height: 1.8; }

@media (min-width: 768px) {
    .about-intro p { font-size: 1.05rem; }
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 500px) {
    .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
    .values-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.value-card {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: all var(--transition);
}

@media (min-width: 768px) {
    .value-card { padding: 2rem; }
}

.value-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 44px;
    height: 44px;
    background: rgba(61,124,201,0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.value-icon svg {
    width: 22px;
    height: 22px;
    color: var(--blue);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.value-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.value-card p  { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
/* Mobile: single column stacked */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr 1.8fr;
        gap: 4rem;
        align-items: start;
    }
}

.contact-info h2 { font-size: 1.4rem; margin-bottom: 0.85rem; }
.contact-info p  { color: var(--text-muted); font-size: 0.95rem; }

@media (min-width: 768px) {
    .contact-info h2 { font-size: 1.6rem; }
}

.contact-reassurance {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--light-grey);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    border-left: 3px solid var(--blue);
}

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 600px) {
    .contact-form-card { padding: 2rem; }
}

@media (min-width: 1024px) {
    .contact-form-card { padding: 2.5rem; }
}

/* Form Elements */
.form-group { margin-bottom: 1.1rem; }

/* Mobile: always single column */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
}

/* Two columns only on larger screens */
@media (min-width: 600px) {
    .form-row { grid-template-columns: 1fr 1fr; }
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
}

label .required { color: var(--blue); margin-left: 2px; }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    /* Larger padding for easier mobile tapping */
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    /* 16px prevents iOS auto-zoom on focus */
    font-size: 1rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    /* Minimum tap target */
    min-height: 48px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(61,124,201,0.12);
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a6a7e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

.form-submit { margin-top: 1.5rem; }

.form-submit .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 3.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cta-banner { padding: 5rem 0; }
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(61,124,201,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner-inner { position: relative; z-index: 1; }

.cta-banner h2 { color: var(--white); margin-bottom: 0.85rem; }

.cta-banner p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 600px) {
    .cta-banner p { font-size: 1.05rem; }
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

@media (min-width: 480px) {
    .cta-actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

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

@media (min-width: 480px) {
    .cta-actions .btn { width: auto; max-width: none; }
}

/* ============================================================
   CONTACT INFO — WHAT TO EXPECT LIST
   ============================================================ */
.expect-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.expect-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.expect-icon {
    width: 24px;
    height: 24px;
    background: rgba(61,124,201,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.expect-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.75);
}

/* Mobile: single column */
.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem var(--px) 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-brand { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1.5fr;
        padding: 4rem var(--px) 3rem;
        gap: 3rem;
    }
    .footer-brand { grid-column: auto; }
}

.footer-logo {
    width: 160px;
    height: auto;
    margin-bottom: 0.85rem;
}

@media (min-width: 768px) {
    .footer-logo { width: 200px; }
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.footer-nav h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.footer-nav ul li { margin-bottom: 0.4rem; }

.footer-nav a {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    transition: color var(--transition);
    /* Larger tap target */
    display: inline-block;
    padding: 0.15rem 0;
}

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

.footer-contact p { font-size: 0.875rem; margin-bottom: 0.85rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.1rem var(--px);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
}

@media (min-width: 600px) {
    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

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

/* ============================================================
   ADMIN PAGE
   ============================================================ */
.admin-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    -webkit-overflow-scrolling: touch;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    min-width: 700px;
}

.admin-table th {
    background: var(--navy);
    color: var(--white);
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.admin-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    vertical-align: top;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:nth-child(even) td { background: var(--off-white); }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mb-0  { margin-bottom: 0; }
