/*
Theme Name: OFH Logistics
Theme URI: https://ofhlogistics.ie
Author: OFH Logistics
Description: Custom professional theme for OFH Logistics - ecommerce, parcel and large item delivery specialists.
Version: 1.1.0
Text Domain: ofh-logistics
*/

/* ============================================
   CSS VARIABLES & RESET
   ============================================ */
:root {
    --ofh-navy: #1a1a6e;
    --ofh-blue: #2b2b8e;
    --ofh-light-blue: #4a90d9;
    --ofh-sky: #5bb8f5;
    --ofh-dark: #0d0d3b;
    --ofh-white: #ffffff;
    --ofh-light-gray: #f5f7fa;
    --ofh-gray: #6b7280;
    --ofh-text: #1f2937;
    --ofh-gradient: linear-gradient(135deg, #1a1a6e 0%, #4a90d9 50%, #5bb8f5 100%);
    --ofh-gradient-dark: linear-gradient(135deg, #0d0d3b 0%, #1a1a6e 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--ofh-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--ofh-dark);
}

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

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--ofh-gradient);
    color: var(--ofh-white);
    box-shadow: 0 4px 15px rgba(43, 43, 142, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(43, 43, 142, 0.4);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--ofh-blue);
    border: 2px solid var(--ofh-blue);
}

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.site-logo img {
    height: 55px;
    width: auto;
}

.site-logo .logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ofh-navy);
    letter-spacing: 1px;
}

.site-logo .logo-text span {
    color: var(--ofh-light-blue);
}

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

.main-nav a {
    padding: 8px 18px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--ofh-text);
    border-radius: 50px;
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav .current-menu-item a {
    color: var(--ofh-blue);
    background: rgba(43, 43, 142, 0.06);
}

.main-nav .nav-cta a {
    background: var(--ofh-gradient);
    color: var(--ofh-white);
    padding: 10px 24px;
}

.main-nav .nav-cta a:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(43, 43, 142, 0.3);
}

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

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--ofh-navy);
    border-radius: 3px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION — IMAGE BACKGROUND
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 13, 59, 0.92) 0%, rgba(26, 26, 110, 0.8) 50%, rgba(43, 43, 142, 0.7) 100%);
    z-index: 1;
}

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

.hero-content {
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(74, 144, 217, 0.15);
    color: var(--ofh-sky);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 28px;
    border: 1px solid rgba(74, 144, 217, 0.25);
    backdrop-filter: blur(10px);
}

.hero h1 {
    color: var(--ofh-white);
    margin-bottom: 24px;
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #5bb8f5 0%, #4a90d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    font-size: 0.95rem;
    padding: 16px 36px;
}

/* Swoosh decoration */
.hero-swoosh {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 3;
}

.hero-swoosh svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    background: var(--ofh-white);
    padding: 0;
    position: relative;
    z-index: 4;
}

.trust-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: var(--ofh-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 40px 50px;
    margin-top: -50px;
    position: relative;
    z-index: 5;
}

.trust-item {
    text-align: center;
    flex: 1;
    padding: 10px 20px;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ofh-navy);
    line-height: 1;
    margin-bottom: 6px;
    background: var(--ofh-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ofh-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-divider {
    width: 1px;
    height: 50px;
    background: #e5e7eb;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    padding: 100px 0;
}

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

.section-gray {
    background: var(--ofh-light-gray);
}

.section-dark {
    background: var(--ofh-gradient-dark);
}

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

.section-label {
    display: inline-block;
    color: var(--ofh-blue);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
}

/* ============================================
   SERVICES V2 — IMAGE CARDS
   ============================================ */
.services-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card-v2 {
    background: var(--ofh-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.service-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.service-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.05), transparent);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-v2:hover .service-card-image img {
    transform: scale(1.08);
}

.service-card-body {
    padding: 28px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-body h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.service-card-body p {
    font-size: 0.92rem;
    flex: 1;
    margin-bottom: 16px;
}

.service-card-body .service-link {
    color: var(--ofh-blue);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.service-card-v2:hover .service-link {
    gap: 10px;
}

/* Old service cards (still used on inner pages) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--ofh-white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

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

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

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

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    background: rgba(43, 43, 142, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 28px;
    color: var(--ofh-blue);
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-link {
    color: var(--ofh-blue);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    gap: 10px;
}

/* ============================================
   ABOUT / WHY CHOOSE US
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 450px;
}

.about-image-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--ofh-white);
    border-radius: var(--radius-lg);
    padding: 18px 24px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    z-index: 2;
}

.about-image-badge .badge-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--ofh-navy);
    line-height: 1;
    background: var(--ofh-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-image-badge .badge-text {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ofh-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--ofh-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    border-radius: var(--radius-lg);
}

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

.about-content > p {
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.features-list {
    display: grid;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-check {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: rgba(43, 43, 142, 0.1);
    color: var(--ofh-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-top: 2px;
}

.feature-item h4 {
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: var(--ofh-gradient);
    z-index: 0;
    border-radius: 3px;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--ofh-gradient);
    color: var(--ofh-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: 0 8px 25px rgba(43, 43, 142, 0.3);
    border: 4px solid var(--ofh-white);
}

.process-step h3 {
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.9rem;
}

/* ============================================
   CTA SECTION — IMAGE BACKGROUND
   ============================================ */
.cta-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 13, 59, 0.9) 0%, rgba(26, 26, 110, 0.85) 100%);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

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

.cta-section h2 {
    color: var(--ofh-white);
    margin-bottom: 16px;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.2rem;
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

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

/* ============================================
   TESTIMONIALS — IMPROVED
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--ofh-white);
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.testimonial-quote {
    font-size: 4rem;
    line-height: 1;
    background: var(--ofh-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: Georgia, serif;
    margin-bottom: -10px;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 3px;
}

.testimonial-card blockquote {
    font-size: 1rem;
    color: var(--ofh-text);
    margin-bottom: 24px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--ofh-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-info strong {
    display: block;
    color: var(--ofh-text);
    font-size: 0.95rem;
}

.testimonial-info span {
    font-size: 0.85rem;
    color: var(--ofh-gray);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 32px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: var(--radius-lg);
    background: rgba(43, 43, 142, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ofh-blue);
    font-size: 1.3rem;
}

.contact-info-card h4 {
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-info-card a {
    color: var(--ofh-blue);
    font-weight: 500;
}

.contact-form {
    background: var(--ofh-white);
    padding: 44px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

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

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--ofh-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--ofh-light-gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ofh-blue);
    background: var(--ofh-white);
    box-shadow: 0 0 0 4px rgba(43, 43, 142, 0.08);
}

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

.contact-form .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--ofh-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-about .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ofh-white);
    margin-bottom: 16px;
    display: block;
}

.footer-about .logo-text span {
    color: var(--ofh-light-blue);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    font-size: 0.85rem;
    font-weight: 600;
}

.footer-social a:hover {
    background: var(--ofh-blue);
    color: var(--ofh-white);
    transform: translateY(-2px);
}

.footer-column h4 {
    color: var(--ofh-white);
    margin-bottom: 20px;
    font-size: 1rem;
}

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

.footer-column ul a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-column ul a:hover {
    color: var(--ofh-white);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   PAGE TEMPLATES
   ============================================ */
.page-hero {
    background: var(--ofh-gradient-dark);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 144, 217, 0.12) 0%, transparent 70%);
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 184, 245, 0.08) 0%, transparent 70%);
}

.page-hero h1 {
    color: var(--ofh-white);
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.15rem;
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    line-height: 1.7;
}

.page-content {
    padding: 80px 0;
}

.page-content h2 {
    margin-bottom: 16px;
}

.page-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

/* Service detail page */
.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.service-sidebar {
    background: var(--ofh-light-gray);
    padding: 32px;
    border-radius: var(--radius-xl);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.service-sidebar h3 {
    margin-bottom: 20px;
    font-size: 1.15rem;
}

.service-sidebar ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--ofh-text);
    font-size: 0.95rem;
}

.service-sidebar ul li:last-child {
    border-bottom: none;
}

.service-sidebar ul li a {
    color: var(--ofh-text);
    font-weight: 500;
}

.service-sidebar ul li a:hover {
    color: var(--ofh-blue);
}

/* Quote form specific */
.quote-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

/* Map placeholder */
.map-container {
    width: 100%;
    height: 400px;
    background: var(--ofh-light-gray);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ofh-gray);
    font-size: 1.1rem;
    margin-top: 40px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .process-steps::before {
        display: none;
    }

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

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

    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .trust-stats {
        padding: 30px 20px;
    }

    .trust-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--ofh-white);
        box-shadow: var(--shadow-lg);
        padding: 80px 30px 30px;
        transition: var(--transition);
        z-index: 999;
    }

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

    .main-nav ul {
        flex-direction: column;
        gap: 4px;
    }

    .main-nav a {
        display: block;
        padding: 12px 20px;
        font-size: 1.05rem;
    }

    .hero {
        min-height: auto;
        padding: 140px 0 100px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .trust-stats {
        flex-wrap: wrap;
        margin-top: -30px;
        padding: 24px 16px;
        gap: 10px;
    }

    .trust-item {
        flex: 0 0 calc(50% - 10px);
        padding: 12px 10px;
    }

    .trust-divider {
        display: none;
    }

    .trust-number {
        font-size: 1.75rem;
    }

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

    .service-card-image {
        height: 200px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }

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

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

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

    .section {
        padding: 70px 0;
    }

    .about-image img {
        min-height: 300px;
    }

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

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Stagger children animations */
.services-grid-v2 .fade-in:nth-child(2) { transition-delay: 0.1s; }
.services-grid-v2 .fade-in:nth-child(3) { transition-delay: 0.2s; }
.services-grid-v2 .fade-in:nth-child(4) { transition-delay: 0.3s; }
.services-grid-v2 .fade-in:nth-child(5) { transition-delay: 0.4s; }
.services-grid-v2 .fade-in:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   TECHNOLOGY SECTION
   ============================================ */
.tech-section {
    position: relative;
    background: var(--ofh-gradient-dark);
    color: var(--ofh-white);
    overflow: hidden;
}

.tech-section .section-header h2,
.tech-section .section-header p {
    color: var(--ofh-white);
}

.tech-section .section-header p {
    opacity: 0.85;
}

.tech-label {
    color: var(--ofh-sky) !important;
}

.tech-bg-glow {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91, 184, 245, 0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.tech-section .container {
    position: relative;
    z-index: 1;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.tech-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(91, 184, 245, 0.4);
    transform: translateY(-4px);
}

.tech-card-feature {
    background: linear-gradient(135deg, rgba(74, 144, 217, 0.18), rgba(91, 184, 245, 0.08));
    border-color: rgba(91, 184, 245, 0.35);
}

.tech-icon {
    font-size: 2rem;
    margin-bottom: 18px;
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    background: rgba(91, 184, 245, 0.15);
    border-radius: var(--radius);
    color: var(--ofh-sky);
}

.tech-card h3 {
    color: var(--ofh-white);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.tech-card p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.tech-tags li {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    background: rgba(91, 184, 245, 0.12);
    color: var(--ofh-sky);
    border-radius: 999px;
    border: 1px solid rgba(91, 184, 245, 0.2);
}

.tech-cta {
    margin-top: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

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

.tech-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--ofh-white);
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

.tech-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.tech-grid .fade-in:nth-child(3) { transition-delay: 0.2s; }
.tech-grid .fade-in:nth-child(4) { transition-delay: 0.3s; }

.trust-stats .fade-in:nth-child(2) { transition-delay: 0.1s; }
.trust-stats .fade-in:nth-child(3) { transition-delay: 0.15s; }
.trust-stats .fade-in:nth-child(4) { transition-delay: 0.2s; }
.trust-stats .fade-in:nth-child(5) { transition-delay: 0.25s; }
.trust-stats .fade-in:nth-child(6) { transition-delay: 0.3s; }
.trust-stats .fade-in:nth-child(7) { transition-delay: 0.35s; }

/* Honeypot field — hidden from humans, visible to bots */
.ofh-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
