/* ============================================
   Handyman Rotherham - Site Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,800;1,9..144,500&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --navy: #0f2742;
    --navy-deep: #08182d;
    --navy-soft: #1c3a5f;
    --orange: #e87a2c;
    --orange-deep: #c45f15;
    --cream: #f7f1e6;
    --cream-soft: #fbf7ee;
    --ink: #1a1a1a;
    --grey: #5a5a5a;
    --grey-light: #e7e2d6;
    --line: #d8d2c4;
    --display: 'Fraunces', Georgia, serif;
    --body: 'Inter', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    color: var(--ink);
    background: var(--cream-soft);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange-deep); }

/* ============ TOP BAR ============ */
.topbar {
    background: var(--navy-deep);
    color: var(--cream);
    font-size: 13px;
    padding: 8px 0;
    letter-spacing: 0.02em;
}
.topbar-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.topbar a { color: var(--cream); }
.topbar a:hover { color: var(--orange); }

/* ============ HEADER ============ */
.site-header {
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo {
    font-family: var(--display);
    font-weight: 800;
    font-size: 26px;
    color: var(--navy);
    line-height: 1;
    letter-spacing: -0.01em;
}
.logo span { color: var(--orange); font-style: italic; font-weight: 500; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.nav a {
    padding: 8px 14px;
    font-weight: 500;
    font-size: 15px;
    color: var(--navy);
    border-radius: 4px;
    transition: all 0.2s;
}
.nav a:hover { background: var(--grey-light); color: var(--navy-deep); }
.nav a.active { color: var(--orange-deep); }
.btn-primary {
    background: var(--orange);
    color: white !important;
    padding: 11px 22px !important;
    border-radius: 4px;
    font-weight: 600 !important;
    transition: background 0.2s;
}
.btn-primary:hover { background: var(--orange-deep); color: white !important; }
.btn-outline {
    border: 1.5px solid var(--navy);
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 600;
    color: var(--navy);
    display: inline-block;
    transition: all 0.2s;
}
.btn-outline:hover { background: var(--navy); color: white; }

/* ============ HERO ============ */
.hero {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-soft) 100%);
    color: var(--cream);
    padding: 90px 24px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(232,122,44,0.18) 0%, transparent 50%);
    pointer-events: none;
}
.hero-inner {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.hero-eyebrow {
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}
.hero h1 {
    font-family: var(--display);
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
    max-width: 900px;
}
.hero h1 em {
    font-style: italic;
    color: var(--orange);
    font-weight: 500;
}
.hero p.lead {
    font-size: 19px;
    max-width: 650px;
    color: rgba(247, 241, 230, 0.85);
    margin-bottom: 36px;
    line-height: 1.55;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-primary { display: inline-block; }
.hero .btn-ghost {
    border: 1.5px solid rgba(247,241,230,0.4);
    color: var(--cream);
    padding: 11px 22px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
}
.hero .btn-ghost:hover { background: rgba(247,241,230,0.1); color: var(--cream); }

/* ============ SECTIONS ============ */
section { padding: 80px 24px; }
.container { max-width: 1240px; margin: 0 auto; }
.container-narrow { max-width: 880px; margin: 0 auto; }

.section-eyebrow {
    color: var(--orange-deep);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
}
.section-title {
    font-family: var(--display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--navy-deep);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--orange-deep); font-weight: 500; }
.section-sub {
    font-size: 18px;
    color: var(--grey);
    max-width: 700px;
    margin-bottom: 50px;
}

/* ============ INTRO STRIP ============ */
.intro-strip {
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 50px 24px;
}
.intro-strip-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.intro-stat {
    text-align: left;
    padding-left: 20px;
    border-left: 3px solid var(--orange);
}
.intro-stat .num {
    font-family: var(--display);
    font-size: 36px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}
.intro-stat .label {
    font-size: 14px;
    color: var(--grey);
    margin-top: 6px;
}
@media (max-width: 720px) {
    .intro-strip-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ============ SERVICE CARDS ============ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.service-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15,39,66,0.12);
}
.service-card .img-wrap {
    aspect-ratio: 4 / 3;
    background: var(--grey-light);
    overflow: hidden;
}
.service-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.service-card:hover .img-wrap img { transform: scale(1.05); }
.service-card .card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 {
    font-family: var(--display);
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.2;
}
.service-card p { color: var(--grey); font-size: 15px; flex: 1; margin-bottom: 14px; }
.service-card .more {
    font-size: 14px;
    color: var(--orange-deep);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============ SPLIT BLOCK ============ */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split img { border-radius: 6px; }
.split h2 {
    font-family: var(--display);
    font-size: clamp(28px, 3.4vw, 40px);
    color: var(--navy-deep);
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.split p { color: var(--grey); margin-bottom: 14px; font-size: 16px; }
.split.reverse > div:first-child { order: 2; }
@media (max-width: 880px) { .split.reverse > div:first-child { order: 0; } }

/* ============ AREAS / LOCATIONS ============ */
.areas-section { background: var(--cream); }
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px 32px;
}
.areas-grid h4 {
    font-family: var(--display);
    color: var(--navy);
    font-size: 18px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--orange);
}
.areas-grid ul { list-style: none; }
.areas-grid li { margin-bottom: 6px; font-size: 15px; }
.areas-grid li a { color: var(--navy-soft); }
.areas-grid li a:hover { color: var(--orange-deep); }

.map-wrap {
    margin-top: 50px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--line);
}
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ============ CONTENT (article body) ============ */
.article-body { font-size: 17px; color: #2a2a2a; line-height: 1.75; }
.article-body p { margin-bottom: 18px; }
.article-body h2 {
    font-family: var(--display);
    font-size: 30px;
    color: var(--navy-deep);
    margin: 36px 0 14px;
    line-height: 1.2;
}
.article-body h3 {
    font-family: var(--display);
    font-size: 22px;
    color: var(--navy);
    margin: 26px 0 10px;
}
.article-body ul, .article-body ol { margin: 12px 0 22px 22px; }
.article-body li { margin-bottom: 6px; }
.article-body strong { color: var(--navy-deep); }

/* ============ HISTORY BLOCK ============ */
.history-block {
    background: var(--navy-deep);
    color: var(--cream);
    padding: 80px 24px;
}
.history-block .section-title { color: var(--cream); }
.history-block .section-eyebrow { color: var(--orange); }
.history-block p { color: rgba(247,241,230,0.85); font-size: 17px; margin-bottom: 16px; line-height: 1.7; }

/* ============ CTA STRIP ============ */
.cta-strip {
    background: var(--orange);
    color: white;
    padding: 60px 24px;
    text-align: center;
}
.cta-strip h2 {
    font-family: var(--display);
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 14px;
    font-weight: 700;
}
.cta-strip p { font-size: 18px; margin-bottom: 24px; opacity: 0.95; }
.cta-strip .btn-primary {
    background: var(--navy-deep);
    color: white !important;
    padding: 14px 32px !important;
    font-size: 16px;
    display: inline-block;
}
.cta-strip .btn-primary:hover { background: black; }

/* ============ FOOTER ============ */
.site-footer {
    background: var(--navy-deep);
    color: var(--cream);
    padding: 60px 24px 24px;
}
.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
}
@media (max-width: 880px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-inner { grid-template-columns: 1fr; } }
.site-footer h5 {
    font-family: var(--display);
    font-size: 17px;
    color: white;
    margin-bottom: 16px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; font-size: 14px; }
.site-footer a { color: rgba(247,241,230,0.75); }
.site-footer a:hover { color: var(--orange); }
.site-footer p.about { color: rgba(247,241,230,0.75); font-size: 14px; line-height: 1.6; }
.footer-bottom {
    border-top: 1px solid rgba(247,241,230,0.15);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(247,241,230,0.6);
}
.footer-bottom a { color: rgba(247,241,230,0.75); }

/* ============ FORM ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card {
    background: white;
    padding: 40px;
    border-radius: 6px;
    border: 1px solid var(--line);
}
.form-row { margin-bottom: 18px; }
.form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}
.form-row input, .form-row textarea, .form-row select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-family: var(--body);
    font-size: 15px;
    background: var(--cream-soft);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
    outline: none;
    border-color: var(--orange);
    background: white;
}
.form-row textarea { min-height: 130px; resize: vertical; }
button.btn-submit {
    background: var(--orange);
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--body);
    transition: background 0.2s;
}
button.btn-submit:hover { background: var(--orange-deep); }

.contact-info-block { padding: 10px 0; }
.contact-info-block h3 {
    font-family: var(--display);
    color: var(--navy-deep);
    font-size: 26px;
    margin-bottom: 14px;
}
.contact-info-block .info-item {
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}
.contact-info-block .info-item:last-child { border: none; }
.contact-info-block .info-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--orange-deep);
    font-weight: 600;
    margin-bottom: 4px;
}
.contact-info-block .info-value { font-size: 17px; color: var(--navy); }

/* ============ ODD JOBS LIST ============ */
.jobs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 4px 32px;
    column-rule: 1px solid var(--line);
}
.jobs-list a {
    display: block;
    padding: 7px 0;
    border-bottom: 1px dotted var(--line);
    font-size: 15px;
    color: var(--navy-soft);
}
.jobs-list a:hover { color: var(--orange-deep); padding-left: 6px; transition: padding 0.15s; }

/* ============ FEATURE LIST ============ */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin: 30px 0;
}
.feature-item {
    background: var(--cream);
    border-left: 3px solid var(--orange);
    padding: 18px 20px;
    border-radius: 0 4px 4px 0;
}
.feature-item h4 {
    font-family: var(--display);
    color: var(--navy-deep);
    font-size: 17px;
    margin-bottom: 6px;
}
.feature-item p { font-size: 14.5px; color: var(--grey); margin: 0; }

/* ============ BREADCRUMB ============ */
.crumbs {
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 14px 24px;
    font-size: 13px;
    color: var(--grey);
}
.crumbs-inner { max-width: 1240px; margin: 0 auto; }
.crumbs a { color: var(--navy-soft); }
.crumbs span.sep { margin: 0 8px; color: var(--line); }

/* ============ MOBILE NAV ============ */
.menu-btn {
    display: none;
    background: none;
    border: 1.5px solid var(--navy);
    color: var(--navy);
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--body);
}
@media (max-width: 920px) {
    .nav { display: none; flex-direction: column; width: 100%; padding-top: 14px; align-items: flex-start; }
    .nav.open { display: flex; }
    .menu-btn { display: block; }
    .header-inner { flex-wrap: wrap; }
    .nav a { width: 100%; }
}

/* ============ MCS BADGE ============ */
.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}
.badge {
    background: var(--cream);
    border: 1px solid var(--line);
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.badge::before {
    content: "✓";
    color: var(--orange);
    font-weight: 800;
}
