
/* ============================================
   NORTHWEST ORDINANCE CONSULTING
   Brand Stylesheet
   ============================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
    /* Brand Colors */
    --orange: #F07800;
    --orange-light: #FF9A2E;
    --orange-dark: #C96200;
    --orange-glow: rgba(240, 120, 0, 0.15);
    
    /* Neutrals */
    --black: #0A0A0A;
    --charcoal: #1A1A1A;
    --slate: #2A2A2A;
    --gray-700: #3D3D3D;
    --gray-500: #6B6B6B;
    --gray-400: #8A8A8A;
    --gray-300: #B0B0B0;
    --gray-200: #B8C4B0;
    --gray-100: #C8D3C0;
    --off-white: #D4DDCC;
    --cream: #DFE7D8;
    --white: #EBF0E7;
    
    /* Nature-inspired accents */
    --forest: #2D5016;
    --slate-blue: #4A6274;
    --stone: #A69B8D;
    
    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Source Serif 4', Georgia, serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    
    /* Transitions */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

html, body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--cream);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s var(--ease); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--black);
}

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: all 0.4s var(--ease);
    background: transparent;
}

.nav.scrolled {
    background: rgba(45, 80, 22, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.6rem 0;
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

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

.nav-logo-img {
    height: 42px;
    width: auto;
    transition: height 0.3s var(--ease);
}

.nav.scrolled .nav-logo-img {
    height: 36px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.nav-links a {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.02em;
    transition: color 0.3s var(--ease);
    position: relative;
}

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

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

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

.nav-cta {
    background: var(--orange) !important;
    color: var(--white) !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: 6px;
    font-weight: 600 !important;
}

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

.nav-cta:hover {
    background: var(--orange-light) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

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

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    padding-top: 120px;
}

.hero-badge {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}

.accent { color: var(--orange); }

.hero-subtitle {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    right: var(--space-md);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    opacity: 0;
    animation: fadeIn 1s var(--ease-out) 1.2s forwards;
}

.hero-scroll-indicator span {
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    writing-mode: vertical-lr;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--orange), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- Page Hero (subpages) --- */
.page-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.page-hero-compact {
    min-height: 45vh;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    padding-bottom: var(--space-2xl);
    width: 100%;
}

.page-hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    letter-spacing: 0.01em;
}

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

.btn-primary:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(240, 120, 0, 0.3);
}

.btn-outline {
    background: rgba(45, 80, 22, 0.85);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(45, 80, 22, 0.95);
    transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* --- Section Styles --- */
.section {
    padding: var(--space-3xl) 0;
}

.section-dark {
    background: var(--charcoal);
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-tag {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
    display: inline-block;
    margin-bottom: var(--space-sm);
}

.section-tag-light {
    color: var(--orange-light);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.section-title-light {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* --- Services Grid (Homepage) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    display: block;
}

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

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border-color: transparent;
}

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

.service-number {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--orange);
    margin-bottom: var(--space-md);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.service-link {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--orange);
    transition: color 0.3s var(--ease);
}

.service-card:hover .service-link { color: var(--orange-dark); }

/* --- About Teaser --- */
.about-teaser {
    position: relative;
    overflow: hidden;
}

.about-teaser-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.about-teaser-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 10, 10, 0.92) 0%,
        rgba(10, 10, 10, 0.85) 50%,
        rgba(10, 10, 10, 0.6) 100%
    );
}

.about-teaser-content {
    position: relative;
    z-index: 2;
}

.about-teaser-text {
    max-width: 600px;
}

.about-teaser-text p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.about-teaser-text .btn { margin-top: var(--space-sm); }

/* --- CTA Section --- */
.cta-section {
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--white);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.cta-content p {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* --- About Page --- */
.about-main { padding-top: var(--space-2xl); }

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.about-narrative h2 {
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
    margin-top: var(--space-xl);
    letter-spacing: -0.01em;
}

.about-narrative h2:first-child { margin-top: 0; }

.about-narrative p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--gray-500);
    margin-bottom: var(--space-md);
}

.about-values {
    background: var(--charcoal);
    border-radius: 16px;
    padding: var(--space-xl);
    position: sticky;
    top: 120px;
}

.about-values h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--slate);
}

.value-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.value-item:last-child { margin-bottom: 0; }

.value-marker {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--orange);
    flex-shrink: 0;
    padding-top: 2px;
}

.value-item h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.value-item p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}

/* --- Services Detail Page --- */
.services-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gray-500);
}

.service-detail { padding: var(--space-2xl) 0; }

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-2xl);
    align-items: start;
}

.service-detail-number {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: var(--space-sm);
}

.service-detail-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: -0.02em;
    position: sticky;
    top: 100px;
}

.service-detail-body p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--gray-500);
    margin-bottom: var(--space-lg);
}

.service-capabilities h3 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: var(--space-md);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.capability {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    padding: var(--space-md);
    transition: all 0.3s var(--ease);
}

.capability:hover {
    border-color: var(--orange-glow);
    box-shadow: 0 4px 20px rgba(240, 120, 0, 0.06);
}

.capability h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

.capability p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    color: var(--gray-500);
    margin-bottom: 0 !important;
}

.service-divider hr {
    border: none;
    height: 1px;
    background: var(--gray-200);
}

/* --- Contact Page --- */
.contact-section { padding-top: var(--space-2xl); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.contact-info > p {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.contact-details { margin-bottom: var(--space-xl); }

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--orange);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail-item h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: 0.1rem;
}

.contact-detail-item p {
    font-size: 1rem;
    color: var(--black);
}

.contact-services-hint h3 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: var(--space-sm);
}

.hint-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hint-tag {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    background: var(--orange-glow);
    color: var(--orange-dark);
    border: 1px solid rgba(240, 120, 0, 0.15);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    padding: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--black);
    background: var(--cream);
    transition: all 0.3s var(--ease);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--orange-glow);
    background: var(--white);
}

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

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

.form-note {
    font-size: 0.8rem;
    color: var(--gray-400);
    text-align: center;
    margin-top: var(--space-sm);
}

/* --- Footer --- */
.footer {
    background: var(--black);
    padding-top: var(--space-2xl);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--slate);
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: var(--space-2xl);
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.5);
    margin-bottom: var(--space-md);
}

.footer-col a {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: var(--space-xs);
    transition: color 0.3s var(--ease);
}

.footer-col a:hover { color: var(--orange); }

.footer-bottom {
    padding: var(--space-md) 0;
}

.footer-bottom p {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

/* --- Animations --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid { gap: var(--space-sm); }
    .about-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
    .about-values { position: static; }
    .service-detail-grid { grid-template-columns: 1fr; gap: var(--space-md); }
    .service-detail-header h2 { position: static; }
    .contact-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--charcoal);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px var(--space-lg) var(--space-lg);
        gap: var(--space-md);
        transition: right 0.4s var(--ease);
        box-shadow: -20px 0 60px rgba(0,0,0,0.3);
    }
    
    .nav-links.open { right: 0; }
    
    .nav-links a {
        font-size: 1.1rem;
        color: rgba(255,255,255,0.8);
    }
    
    .nav-cta {
        margin-top: var(--space-sm);
    }
    
    .services-grid { grid-template-columns: 1fr; }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .capabilities-grid { grid-template-columns: 1fr; }
    
    .hero-scroll-indicator { display: none; }
    
    .hero {
        min-height: 100vh;
        padding-bottom: 6rem;
    }
    
    .hero-content {
        padding-top: 100px;
        padding-bottom: 4rem;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }
    
    
    
    .email-full { display: none !important; }
    .email-mobile { display: inline !important; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--white); }

    /* Contact page mobile fixes */
    .contact-email-link {
        padding: 1rem 1.2rem;
        gap: 0.6rem;
        max-width: 100%;
        word-break: break-all;
    }
    
    .email-mobile {
    display: none;
}

.contact-email-link span,
.contact-email-link .email-full {
        font-size: 0.85rem;
    }
    
    .contact-simple-inner {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .contact-simple h2 {
        font-size: 1.6rem;
    }
    
    .contact-section {
        padding-top: 3rem;
    }
    
    .page-hero-compact {
        min-height: 35vh;
    }

    
    .footer-inner {
        flex-direction: column;
        gap: var(--space-xl);
    }
    
    .footer-links {
        gap: var(--space-xl);
    }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; margin-bottom: 2rem; }
    .btn { width: 100%; justify-content: center; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .service-card { padding: var(--space-lg); }
    
    /* Contact small screen fixes */
    .contact-email-link {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .page-hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

}

/* --- Ideal For Box --- */
.ideal-for {
    background: var(--charcoal);
    border-radius: 12px;
    padding: 2rem 2.5rem;
    margin-top: 2rem;
}

.ideal-for h3 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--orange);
    margin-bottom: 1rem;
}

.ideal-for ul {
    list-style: none;
    padding: 0;
}

.ideal-for li {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.6rem;
}

.ideal-for li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    background: var(--orange);
    border-radius: 50%;
}

.service-detail-tagline {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--gray-500);
    font-style: italic;
    margin-top: 0.5rem;
    font-weight: 400;
}

/* --- Simple Contact Layout --- */
.contact-simple {
    display: flex;
    justify-content: center;
    text-align: center;
}

.contact-simple-inner {
    max-width: 600px;
}

.contact-simple h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.contact-simple > p,
.contact-simple-inner > p {
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-email-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--charcoal);
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    transition: all 0.3s var(--ease);
    margin-bottom: 1.5rem;
}

.contact-email-link:hover {
    background: var(--slate);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.contact-email-icon {
    width: 24px;
    height: 24px;
    color: var(--orange);
    flex-shrink: 0;
}

.email-mobile {
    display: none;
}

.contact-email-link span,
.contact-email-link .email-full {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

.contact-location {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--gray-400);
    font-family: var(--font-display);
    font-size: 0.95rem;
}

.contact-location-icon {
    width: 18px;
    height: 18px;
    color: var(--gray-400);
}
