/* ═══════════════════════════════════════════════════════════════
   SERVICE PAGES — shared stylesheet
   Used by: /services/seo.php, /services/ppc.php, etc.
   Brand: Terracotta + Teal + Cream
═══════════════════════════════════════════════════════════════ */

:root {
    --terracotta:   #C8553D;
    --terracotta-d: #A64328;
    --terracotta-l: #E57A5F;
    --teal:         #2E7D7A;
    --teal-d:       #1F5E5C;
    --teal-l:       #4FA39F;
    --deep-brown:   #2B1F1A;
    --cream:        #F6F1E9;
    --sand:         #E8DCC4;
    --sand-d:       #D4C4A4;
    --white:        #FFFFFF;
    --gray:         #6B6359;
    --gray-light:   #9A9082;
    --border:       rgba(43,31,26,.10);
    --shadow-sm:    0 2px 8px rgba(43,31,26,.05);
    --shadow-md:    0 6px 20px rgba(43,31,26,.08);
    --shadow-lg:    0 16px 40px rgba(43,31,26,.12);
    --radius:       10px;
    --font-head:    'Playfair Display', Georgia, serif;
    --font-body:    'Instrument Sans', system-ui, sans-serif;
}

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

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--deep-brown);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: all .2s ease; }
img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1.25;
    color: var(--deep-brown);
}
h1 { font-size: 3.2rem; letter-spacing: -0.01em; }
h2 { font-size: 2.1rem; letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; }

p { color: var(--gray); }

/* ─── HERO ────────────────────────────────────── */
.service-hero {
    padding: 80px 0 70px;
    background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
    position: relative;
    overflow: hidden;
}
.service-hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(200,85,61,.08) 0%, transparent 70%);
    pointer-events: none;
}
.service-hero .breadcrumbs {
    display: flex; align-items: center; gap: 8px;
    font-size: .85rem; color: var(--gray-light);
    margin-bottom: 22px;
}
.service-hero .breadcrumbs a { color: var(--terracotta); }
.service-hero .breadcrumbs a:hover { color: var(--terracotta-d); }
.service-hero .breadcrumbs i { font-size: .7rem; }

.hero-eyebrow {
    display: inline-block;
    color: var(--teal);
    letter-spacing: .18em;
    font-size: .78rem;
    text-transform: uppercase;
    margin-bottom: 18px;
    font-weight: 500;
}
.service-hero h1 {
    max-width: 900px;
    margin-bottom: 22px;
}
.service-hero h1 .accent {
    color: var(--terracotta);
    font-style: italic;
}
.service-hero .lede {
    max-width: 720px;
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin-bottom: 36px;
}
.hero-stat {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 18px;
    box-shadow: var(--shadow-sm);
}
.hero-stat-num {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 600;
    color: var(--terracotta);
    line-height: 1;
    margin-bottom: 6px;
}
.hero-stat-label {
    font-size: .82rem;
    color: var(--gray);
    letter-spacing: .02em;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px;
    border-radius: 8px;
    font-size: .95rem;
    font-weight: 500;
    transition: all .2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: var(--terracotta-d);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-secondary {
    background: transparent;
    color: var(--deep-brown);
    border: 1px solid var(--deep-brown);
}
.btn-secondary:hover {
    background: var(--deep-brown);
    color: var(--white);
    transform: translateY(-2px);
}

/* ─── SECTION SHELL ───────────────────────────── */
.sec {
    padding: 80px 0;
}
.sec + .sec { border-top: 1px solid var(--border); }
.sec-head { max-width: 800px; margin-bottom: 48px; }
.sec-label {
    display: inline-block;
    color: var(--teal);
    letter-spacing: .2em;
    font-size: .75rem;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-weight: 500;
}
.sec-h {
    margin-bottom: 18px;
}
.sec-h .accent {
    color: var(--terracotta);
    font-style: italic;
}
.sec-p {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.8;
}

/* ─── CARD GRIDS ──────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--terracotta-l);
}
.card-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-l) 100%);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
}
.card-icon.teal {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-l) 100%);
}
.card-h {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--deep-brown);
    margin-bottom: 12px;
    line-height: 1.3;
}
.card-p {
    font-size: .95rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}
.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.card-list li {
    position: relative;
    padding-left: 22px;
    font-size: .9rem;
    color: var(--deep-brown);
    margin-bottom: 8px;
    line-height: 1.5;
}
.card-list li::before {
    content: '\F270'; /* bi-check2 */
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0; top: 1px;
    color: var(--teal);
    font-size: .95rem;
    font-weight: bold;
}

/* ─── LARGE FEATURE CARD ──────────────────────── */
.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

/* ─── PLAYBOOK (numbered steps) ───────────────── */
.playbook {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.step {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    position: relative;
}
.step-num {
    font-family: var(--font-head);
    font-size: 2.5rem;
    color: var(--terracotta);
    opacity: .4;
    line-height: 1;
    margin-bottom: 12px;
    font-weight: 700;
}
.step h4 { margin-bottom: 10px; font-size: 1.1rem; }
.step p { font-size: .9rem; color: var(--gray); }

/* ─── PRICING PACKAGES ────────────────────────── */
.packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pkg {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 30px;
    position: relative;
    transition: all .3s ease;
}
.pkg:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.pkg.featured {
    background: linear-gradient(180deg, var(--deep-brown) 0%, #3b2b25 100%);
    color: var(--white);
    border-color: var(--terracotta);
    transform: scale(1.02);
}
.pkg.featured .pkg-price,
.pkg.featured h3 { color: var(--white); }
.pkg.featured .pkg-list li { color: rgba(255,255,255,.9); }
.pkg.featured .pkg-list li::before { color: var(--terracotta-l); }
.pkg-badge {
    position: absolute;
    top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--terracotta);
    color: var(--white);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 600;
}
.pkg h3 { margin-bottom: 12px; font-size: 1.4rem; }
.pkg-price {
    font-family: var(--font-head);
    font-size: 2.5rem;
    color: var(--terracotta);
    margin-bottom: 8px;
    line-height: 1;
}
.pkg-price .per {
    font-size: .9rem;
    color: var(--gray);
    font-family: var(--font-body);
}
.pkg.featured .pkg-price .per { color: rgba(255,255,255,.7); }
.pkg-desc {
    font-size: .9rem;
    color: var(--gray);
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.pkg.featured .pkg-desc {
    color: rgba(255,255,255,.8);
    border-bottom-color: rgba(255,255,255,.15);
}
.pkg-list {
    list-style: none;
    margin-bottom: 28px;
}
.pkg-list li {
    position: relative;
    padding-left: 24px;
    font-size: .92rem;
    margin-bottom: 10px;
    line-height: 1.55;
    color: var(--deep-brown);
}
.pkg-list li::before {
    content: '\F270';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0; top: 1px;
    color: var(--teal);
    font-weight: bold;
}
.pkg .btn { width: 100%; justify-content: center; }

/* ─── FAQ ACCORDION ───────────────────────────── */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 14px;
    overflow: hidden;
    transition: all .2s ease;
}
.faq-item[open] {
    box-shadow: var(--shadow-sm);
    border-color: var(--terracotta-l);
}
.faq-item summary {
    padding: 22px 26px;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--deep-brown);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: var(--font-body);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '\F282'; /* bi-chevron-down */
    font-family: 'bootstrap-icons';
    color: var(--terracotta);
    transition: transform .3s ease;
    font-size: 1.1rem;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item .faq-body {
    padding: 0 26px 24px;
    color: var(--gray);
    font-size: .96rem;
    line-height: 1.8;
}

/* ─── CLOSING CTA ─────────────────────────────── */
.closing-cta {
    background: linear-gradient(135deg, var(--deep-brown) 0%, #3b2b25 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}
.closing-cta .sec-label { color: var(--terracotta-l); }
.closing-cta h2 { color: var(--white); margin-bottom: 20px; }
.closing-cta h2 .accent { color: var(--terracotta-l); }
.closing-cta p {
    color: rgba(255,255,255,.75);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto 32px;
}
.closing-cta .btn-primary {
    background: var(--terracotta);
}
.closing-cta .btn-primary:hover {
    background: var(--terracotta-l);
}
.closing-cta .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.closing-cta .btn-secondary:hover {
    background: var(--white);
    color: var(--deep-brown);
}

/* ─── COMPARISON TABLE ────────────────────────── */
.compare-table {
    width: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border-collapse: collapse;
}
.compare-table th,
.compare-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: .92rem;
}
.compare-table th {
    background: var(--cream);
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--deep-brown);
    letter-spacing: .01em;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(200,85,61,.03); }

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 960px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.7rem; }
    .grid-3, .grid-4, .packages { grid-template-columns: repeat(2, 1fr); }
    .service-hero { padding: 56px 0 48px; }
    .sec { padding: 56px 0; }
    .pkg.featured { transform: none; }
}
@media (max-width: 640px) {
    h1 { font-size: 2rem; }
    .grid-2, .grid-3, .grid-4, .packages { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .feature-card { padding: 24px; }
    .pkg { padding: 28px 22px; }
}
