/* ============================================
   Gary Matthews Solicitors - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --primary: #1a3a5c;
    --primary-dark: #0f2540;
    --accent: #c8a84b;
    --accent-dark: #a8893a;
    --text-dark: #2c2c2c;
    --text-mid: #555555;
    --text-light: #777777;
    --bg-light: #f8f8f8;
    --bg-white: #ffffff;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --radius: 6px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }
h1, h2, h3, h4, h5 {
    font-family: 'Merriweather', serif;
    color: var(--primary-dark);
    line-height: 1.3;
}

/* ============ TOP BAR ============ */
.top-bar {
    background: var(--primary-dark);
    color: #ccc;
    font-size: 13px;
    padding: 8px 0;
}
.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.top-bar a { color: #ccc; }
.top-bar a:hover { color: var(--accent); }
.top-bar-left { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.top-bar-right { display: flex; gap: 14px; align-items: center; }
.top-bar-right a { font-size: 14px; }
.tb-item { display: flex; align-items: center; gap: 6px; }
.tb-item i { color: var(--accent); }

/* ============ HEADER ============ */
header {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.logo img { height: 65px; width: auto; }
.logo:hover { opacity: 0.9; }

/* ============ NAVIGATION ============ */
nav ul {
    display: flex;
    gap: 5px;
    align-items: center;
}
nav ul li a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    border-radius: var(--radius);
    white-space: nowrap;
}
nav ul li a:hover, nav ul li a.active {
    color: var(--accent);
}

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a::after {
    content: ' ▾';
    font-size: 11px;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--bg-white);
    min-width: 230px;
    box-shadow: var(--shadow-hover);
    border-radius: var(--radius);
    border-top: 3px solid var(--accent);
    z-index: 999;
    padding: 8px 0;
}
.dropdown-menu li a {
    padding: 10px 20px;
    font-size: 13.5px;
    border-radius: 0;
    color: var(--text-dark);
    display: block;
}
.dropdown-menu li a:hover { background: var(--bg-light); color: var(--accent); }
.has-dropdown:hover .dropdown-menu { display: block; }

/* CTA Button */
.nav-cta a {
    background: var(--accent) !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
}
.nav-cta a:hover { background: var(--accent-dark) !important; }

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 7px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -7px); }

/* ============ HERO SECTION ============ */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #2a5080 100%);
    color: #fff;
    padding: 90px 20px 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,138.7C672,128,768,160,864,181.3C960,203,1056,213,1152,197.3C1248,181,1344,139,1392,117.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') no-repeat bottom center / cover;
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-text h1 {
    font-size: 2.6rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.25;
}
.hero-text h1 span { color: var(--accent); }
.hero-text p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 30px;
}
.hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.hero-badge {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero-badge i { color: var(--accent); }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
    border: 2px solid var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid rgba(255,255,255,0.6);
    transition: var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }

/* Hero Form Card */
.hero-form-card {
    background: #fff;
    border-radius: 10px;
    padding: 35px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.hero-form-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 6px;
}
.hero-form-card p {
    font-size: 13.5px;
    color: var(--text-mid);
    margin-bottom: 20px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-dark);
    background: #fff;
    transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-submit {
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}
.form-submit:hover { background: var(--accent-dark); transform: translateY(-1px); }
.form-note { font-size: 12px; color: var(--text-light); margin-top: 10px; text-align: center; }

/* ============ TRUST BAR ============ */
.trust-bar {
    background: var(--primary);
    padding: 22px 20px;
}
.trust-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}
.trust-item i { font-size: 1.8rem; color: var(--accent); }
.trust-item-text strong { display: block; font-size: 14px; }
.trust-item-text span { font-size: 12px; color: rgba(255,255,255,0.7); }

/* ============ SECTIONS ============ */
.section { padding: 80px 20px; }
.section-light { background: var(--bg-light); }
.section-dark { background: var(--primary-dark); color: #fff; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2rem; margin-bottom: 12px; }
.section-header p { font-size: 1rem; color: var(--text-mid); max-width: 600px; margin: 0 auto; }
.section-dark .section-header h2 { color: #fff; }
.section-dark .section-header p { color: rgba(255,255,255,0.75); }

.section-tag {
    display: inline-block;
    background: rgba(200,168,75,0.15);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 30px;
    margin-bottom: 12px;
}

/* ============ SERVICES GRID ============ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    border-bottom: 4px solid transparent;
    transition: var(--transition);
}
.service-card:hover {
    border-bottom-color: var(--accent);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(26,58,92,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.service-icon i { font-size: 1.6rem; color: var(--primary); }
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-mid); margin-bottom: 16px; }
.service-card a.read-more {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--accent-dark);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.service-card a.read-more:hover { gap: 8px; }

/* ============ WHY CHOOSE US ============ */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.why-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
    width: 100%;
    height: 420px;
    object-fit: cover;
}
.why-content h2 { font-size: 1.9rem; margin-bottom: 16px; }
.why-content p { color: var(--text-mid); margin-bottom: 24px; }
.why-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.why-item { display: flex; gap: 14px; }
.why-check {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.why-check i { color: #fff; font-size: 12px; }
.why-item-text strong { display: block; font-size: 15px; color: var(--primary-dark); margin-bottom: 3px; }
.why-item-text span { font-size: 14px; color: var(--text-mid); }

/* ============ STATS ============ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stat-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Merriweather', serif;
    display: block;
    margin-bottom: 6px;
}
.stat-label { font-size: 13.5px; color: rgba(255,255,255,0.75); }

/* ============ PROCESS STEPS ============ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}
.step-card { text-align: center; position: relative; z-index: 1; }
.step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border: 4px solid var(--bg-white);
    box-shadow: 0 4px 15px rgba(26,58,92,0.3);
}
.step-card h4 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: 13.5px; color: var(--text-mid); }

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 28px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
    position: relative;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 5rem;
    color: rgba(200,168,75,0.15);
    font-family: Georgia, serif;
    line-height: 1;
}
.stars { color: var(--accent); font-size: 14px; margin-bottom: 12px; }
.testimonial-card p { font-size: 14px; color: var(--text-mid); margin-bottom: 16px; font-style: italic; }
.testimonial-author strong { font-size: 14px; color: var(--primary-dark); }
.testimonial-author span { font-size: 13px; color: var(--text-light); display: block; }

/* ============ CTA BANNER ============ */
.cta-banner {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    padding: 70px 20px;
    text-align: center;
}
.cta-banner h2 { font-size: 2rem; color: #fff; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.88); font-size: 1.05rem; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-white {
    display: inline-block;
    background: #fff;
    color: var(--accent-dark);
    padding: 14px 34px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    margin: 6px;
    transition: var(--transition);
}
.cta-banner .btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.cta-banner .btn-outline-white {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 14px 34px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid rgba(255,255,255,0.7);
    margin: 6px;
    transition: var(--transition);
}
.cta-banner .btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    padding: 60px 20px 50px;
    text-align: center;
}
.page-hero h1 { font-size: 2.2rem; color: #fff; margin-bottom: 12px; }
.page-hero p { font-size: 1rem; color: rgba(255,255,255,0.8); max-width: 650px; margin: 0 auto 16px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.6); }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }

/* ============ SERVICE PAGE ============ */
.service-page-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 20px;
}
.service-content h2 { font-size: 1.6rem; margin: 30px 0 14px; color: var(--primary-dark); }
.service-content h2:first-child { margin-top: 0; }
.service-content p { color: var(--text-mid); margin-bottom: 16px; font-size: 15px; }
.service-content ul {
    list-style: none;
    margin: 0 0 20px;
}
.service-content ul li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--text-mid);
    font-size: 15px;
    border-bottom: 1px solid var(--border);
}
.service-content ul li:last-child { border-bottom: none; }
.service-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}
.external-link-box {
    background: linear-gradient(135deg, var(--bg-light), #fff);
    border: 2px solid var(--accent);
    border-radius: 8px;
    padding: 22px;
    margin: 30px 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.external-link-box i { color: var(--accent); font-size: 1.5rem; margin-top: 2px; flex-shrink: 0; }
.external-link-box p { margin-bottom: 8px; font-size: 14px; color: var(--text-mid); }
.external-link-box a {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    text-decoration: underline;
}
.external-link-box a:hover { color: var(--accent); }

/* Sidebar */
.service-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-card {
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.sidebar-card-header {
    background: var(--primary);
    color: #fff;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Merriweather', serif;
}
.sidebar-card-body { padding: 20px; }
.sidebar-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-mid);
}
.sidebar-contact-item:last-child { border-bottom: none; }
.sidebar-contact-item i { color: var(--accent); margin-top: 2px; width: 16px; flex-shrink: 0; }
.sidebar-contact-item a { color: var(--text-mid); }
.sidebar-contact-item a:hover { color: var(--accent); }
.sidebar-services li { border-bottom: 1px solid var(--border); }
.sidebar-services li:last-child { border-bottom: none; }
.sidebar-services li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-dark);
}
.sidebar-services li a:hover { color: var(--accent); }
.sidebar-services li a i { font-size: 11px; }
.sidebar-services li a.active-service { color: var(--accent); font-weight: 700; }
.sidebar-cta {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 8px;
    padding: 28px;
    text-align: center;
}
.sidebar-cta h4 { color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
.sidebar-cta p { color: rgba(255,255,255,0.75); font-size: 13.5px; margin-bottom: 18px; }
.sidebar-cta a {
    display: block;
    background: var(--accent);
    color: #fff;
    padding: 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
}
.sidebar-cta a:hover { background: var(--accent-dark); color: #fff; }
.sidebar-cta a.phone-cta {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.3);
}
.sidebar-cta a.phone-cta:hover { background: rgba(255,255,255,0.2); }

/* ============ FAQ ============ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-dark);
    gap: 12px;
}
.faq-question i { color: var(--accent); transition: var(--transition); flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-answer p { padding-bottom: 16px; color: var(--text-mid); font-size: 14.5px; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ============ ABOUT PAGE ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}
.about-image img {
    border-radius: 10px;
    width: 100%;
    height: 400px;
    object-fit: cover;
    box-shadow: var(--shadow-hover);
}
.about-text h2 { font-size: 1.8rem; margin-bottom: 14px; }
.about-text p { color: var(--text-mid); margin-bottom: 14px; font-size: 15px; }
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}
.value-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    background: var(--bg-white);
    box-shadow: var(--shadow);
}
.value-icon { font-size: 2rem; color: var(--accent); margin-bottom: 14px; }
.value-card h4 { font-size: 1rem; margin-bottom: 8px; }
.value-card p { font-size: 13.5px; color: var(--text-mid); }
.team-section { margin-top: 60px; }
.team-section h2 { font-size: 1.8rem; text-align: center; margin-bottom: 10px; }
.team-section > p { text-align: center; color: var(--text-mid); max-width: 600px; margin: 0 auto 40px; }

/* ============ CONTACT PAGE ============ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 20px;
}
.contact-info h2 { font-size: 1.7rem; margin-bottom: 12px; }
.contact-info > p { color: var(--text-mid); margin-bottom: 30px; }
.contact-details { display: flex; flex-direction: column; gap: 18px; margin-bottom: 30px; }
.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.cd-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    background: rgba(26,58,92,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cd-icon i { color: var(--primary); font-size: 1rem; }
.cd-text strong { display: block; font-size: 14px; color: var(--primary-dark); margin-bottom: 3px; }
.cd-text p, .cd-text a { font-size: 14px; color: var(--text-mid); }
.cd-text a:hover { color: var(--accent); }
.hours-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hours-table tr td { padding: 8px 12px; border-bottom: 1px solid var(--border); }
.hours-table tr td:last-child { text-align: right; color: var(--accent-dark); font-weight: 600; }
.social-links-block { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: var(--transition);
}
.social-link:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.contact-form-box {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 36px;
    box-shadow: var(--shadow);
}
.contact-form-box h3 { font-size: 1.4rem; margin-bottom: 8px; }
.contact-form-box > p { color: var(--text-mid); font-size: 14px; margin-bottom: 24px; }
.map-section { padding: 0 20px 70px; max-width: 1200px; margin: 0 auto; }
.map-section h3 { font-size: 1.4rem; margin-bottom: 20px; }
.map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.map-wrapper iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ============ FOOTER ============ */
footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
}
.footer-top { padding: 60px 20px 40px; }
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}
.footer-logo { margin-bottom: 18px; }
.footer-logo img { height: 55px; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-about p { font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.footer-socials a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    transition: var(--transition);
}
.footer-socials a:hover { background: var(--accent); color: #fff; }
.footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    font-family: 'Open Sans', sans-serif;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.75); }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 14px;
}
.footer-contact-item i { color: var(--accent); margin-top: 3px; width: 16px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.75); }
.footer-contact-item a:hover { color: var(--accent); }
.footer-bottom {
    background: rgba(0,0,0,0.25);
    padding: 18px 20px;
}
.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
}
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,0.6); }
.footer-bottom-links a:hover { color: var(--accent); }

/* ============ PARTNER WEBSITES ============ */
.partner-sites {
    margin-top: 16px;
}
.partner-sites strong { display: block; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.partner-sites-links { display: flex; flex-direction: column; gap: 5px; }
.partner-sites-links a { font-size: 13px; color: rgba(255,255,255,0.6); }
.partner-sites-links a:hover { color: var(--accent); }

/* ============ NOTICE BAR ============ */
.notice-bar {
    background: var(--accent);
    padding: 10px 20px;
    text-align: center;
    font-size: 13.5px;
    color: #fff;
    font-weight: 600;
}
.notice-bar a { color: #fff; text-decoration: underline; }

/* ============ SUCCESS / ERROR MSG ============ */
.form-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 14px 18px;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 14px;
    display: none;
}
.form-success.show { display: block; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-form-card { max-width: 560px; }
    .why-grid { grid-template-columns: 1fr; }
    .why-image img { height: 280px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .process-steps::before { display: none; }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .service-page-layout { grid-template-columns: 1fr; }
    .service-sidebar { order: -1; display: grid; grid-template-columns: 1fr 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.1); padding: 16px; z-index: 999; }
    nav.open { display: block; }
    nav ul { flex-direction: column; gap: 0; }
    nav ul li a { padding: 12px 10px; border-bottom: 1px solid var(--border); border-radius: 0; }
    .has-dropdown > a::after { float: right; }
    .dropdown-menu { display: none; position: static; box-shadow: none; border: none; border-radius: 0; padding: 0 0 0 16px; }
    .has-dropdown.dd-open .dropdown-menu { display: block; }
    .hamburger { display: flex; }
    .hero-text h1 { font-size: 1.9rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .service-sidebar { grid-template-columns: 1fr; }
    .cta-banner h2 { font-size: 1.5rem; }
    .top-bar-right { display: none; }
    .section { padding: 55px 20px; }
    .page-hero h1 { font-size: 1.7rem; }
}
@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.6rem; }
    .stat-number { font-size: 2rem; }
    .hero-btns { flex-direction: column; }
    .hero-btns a { text-align: center; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}
