/*
Theme Name: Mithrayon
Theme URI: https://mithrayon.com/
Author: Mithrayon
Author URI: https://mithrayon.com/
Description: Premium dark theme for Mithrayon — storm damage restoration specialists (roofing, siding, gutters & storm restoration) serving NJ, PA & CT. Auto-setup on activation: creates all pages, front page, primary navigation menu, and a Contact Form 7 form.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mithrayon
Tags: one-column, custom-menu, featured-images, translation-ready
*/
/* ============================================================
   Mithrayon Energy — styles.css
   Dark premium design · #0d1c2b / #1a2e44 · warm sun palette #fdb813 / #f07000 / #d63e00
   ============================================================ */

:root {
    --bg: #0d1c2b;
    --bg-2: #102135;
    --card: #1a2e44;
    --card-hover: #21395466;
    --accent: #f07000;
    --accent-hover: #d63e00;
    --accent-2: #fdb813;
    --grad: linear-gradient(135deg, #fdb813 0%, #f07000 55%, #e84a00 100%);
    --white: #ffffff;
    --body: #c8d4e0;
    --muted: #8fa3b8;
    --light: #f0f5ff;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    --radius: 14px;
    --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    --header-h: 84px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--body);
    font-size: 1.0625rem;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

h1,
h2,
h3,
h4 {
    color: var(--white);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.015em;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.accent {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Eyebrow labels ---------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--accent-2);
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 1.1rem;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--grad);
    flex: none;
}

.section-title {
    font-size: clamp(1.75rem, 3.4vw, 2.6rem);
    margin-bottom: 1.1rem;
}

.section-lead {
    max-width: 640px;
    color: var(--body);
}

.center {
    text-align: center;
}

.center .eyebrow {
    justify-content: center;
}

.center .eyebrow::before {
    display: none;
}

.center .eyebrow::after {
    display: none;
}

.center .section-lead {
    margin: 0 auto;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 2rem;
    border-radius: 8px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad);
    color: var(--white);
    box-shadow: 0 10px 26px rgba(240, 112, 0, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f0a800 0%, #e05f00 55%, #d63e00 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(240, 112, 0, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 28, 43, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
    background: rgba(11, 23, 36, 0.97);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}

.header-inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    line-height: 1;
    flex: none;
}

.logo-img {
    height: 52px;
    width: auto;
    flex: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.site-footer .logo-img {
    height: 72px;
}

.logo-main {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--white);
}

.logo-main span {
    color: var(--accent);
}

.logo-sub {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.52em;
    color: var(--accent);
    text-transform: uppercase;
    margin-top: 0.3rem;
}

/* Nav */

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2.1rem;
    list-style: none;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--body);
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.2s ease;
}

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

.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--accent);
}

/* Dropdown */

.has-dropdown {
    position: relative;
}

.has-dropdown>a::before {
    content: "▾";
    font-size: 0.7rem;
    margin-left: 0.4rem;
    float: right;
    transform: translateY(2px);
    color: var(--accent);
}

.dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translate(-50%, 8px);
    min-width: 250px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 0.6rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    list-style: none;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.dropdown li a {
    display: block;
    padding: 0.65rem 1rem;
    border-radius: 7px;
    font-size: 0.92rem;
}

.dropdown li a:hover {
    background: rgba(240, 112, 0, 0.12);
    color: var(--accent);
}

/* Header right */

.header-cta {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    flex: none;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    color: var(--white);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.header-phone svg {
    color: var(--accent);
}

.header-phone:hover {
    color: var(--accent);
}

.header-cta .btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.85rem;
}

/* Hamburger */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    z-index: 1100;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================================
   HERO (home)
   ============================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 4rem) 0 8rem;
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(105deg, rgba(13, 28, 43, 0.96) 20%, rgba(13, 28, 43, 0.75) 55%, rgba(13, 28, 43, 0.5) 100%);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 110px;
    background: var(--bg);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 50% 62%, 0 0);
    z-index: 0;
}

.hero-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.4rem, 5.6vw, 4.1rem);
    font-weight: 800;
    margin-bottom: 1.4rem;
}

.hero p.hero-sub {
    font-size: 1.15rem;
    max-width: 560px;
    margin-bottom: 2.4rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Trust badge strip */

.trust-strip {
    position: relative;
    z-index: 2;
    margin-top: -3.4rem;
    padding-bottom: 3.5rem;
}

.trust-strip .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.65rem 1.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

.trust-badge svg {
    color: var(--accent);
    flex: none;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */

.page-hero {
    position: relative;
    padding: calc(var(--header-h) + 6rem) 0 8.5rem;
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, rgba(13, 28, 43, 0.96) 25%, rgba(13, 28, 43, 0.72) 65%, rgba(13, 28, 43, 0.55) 100%);
}

.page-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 90px;
    background: var(--bg);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 50% 60%, 0 0);
}

.page-hero h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
    margin-bottom: 1rem;
}

.page-hero p {
    max-width: 620px;
    font-size: 1.1rem;
}

.breadcrumb {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 1.6rem;
}

.breadcrumb a {
    color: var(--accent);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ============================================================
   SECTIONS & DIVIDERS
   ============================================================ */

section {
    position: relative;
}

.section {
    padding: 6rem 0;
}

.section-alt {
    background: var(--bg-2);
}

/* Angled divider helpers */

.angle-top {
    padding-top: 9rem;
}

.angle-top::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 90px;
    background: var(--bg);
    clip-path: polygon(0 0, 100% 0, 100% 30%, 50% 100%, 0 30%);
}

.angle-bottom {
    padding-bottom: 9rem;
}

.angle-bottom::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 90px;
    background: var(--bg);
    clip-path: polygon(0 70%, 50% 0, 100% 70%, 100% 100%, 0 100%);
}

/* ============================================================
   ABOUT / PROMISE (split with floating stat cards)
   ============================================================ */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

.split-copy p+p {
    margin-top: 1.15rem;
}

.split-copy .btn {
    margin-top: 2.1rem;
}

.split-media {
    position: relative;
    padding: 0 2.2rem 2.6rem 0;
}

.split-media img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.float-card {
    position: absolute;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.3rem 1.7rem;
    text-align: center;
    min-width: 160px;
}

.float-card .num {
    font-size: 1.9rem;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
}

.float-card .lbl {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--body);
    margin-top: 0.35rem;
}

.float-card-1 {
    right: 0;
    top: 2.8rem;
}

.float-card-2 {
    left: -1.4rem;
    bottom: 0;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.6rem;
    margin-top: 3.2rem;
}

.services-grid .service-card {
    grid-column: span 2;
}

.services-grid .service-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.services-grid .service-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(240, 112, 0, 0.4);
}

.service-card-img {
    position: relative;
    height: 190px;
    overflow: hidden;
}

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

.service-card:hover .service-card-img img {
    transform: scale(1.07);
}

.service-tag {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    background: var(--grad);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
}

.service-card-body {
    padding: 1.6rem 1.5rem 1.7rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card-body h3 {
    font-size: 1.18rem;
    margin-bottom: 0.7rem;
}

.service-card-body p {
    font-size: 0.94rem;
    flex: 1;
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.2rem;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0.03em;
    transition: gap 0.25s ease;
}

.link-more:hover {
    gap: 0.8rem;
}

/* ============================================================
   STATS BAND
   ============================================================ */

.stats-band {
    background: var(--card);
    padding: 5rem 0;
    position: relative;
}

.stats-band::before,
.stats-band::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--bg);
}

.stats-band::before {
    top: -1px;
    clip-path: polygon(0 0, 100% 0, 100% 25%, 50% 100%, 0 25%);
}

.stats-band::after {
    bottom: -1px;
    clip-path: polygon(0 75%, 50% 0, 100% 75%, 100% 100%, 0 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    padding: 2.5rem 0;
}

.stat .stat-num {
    font-size: clamp(2.4rem, 4.4vw, 3.4rem);
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.05;
}

.stat .stat-lbl {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
}

/* ============================================================
   WHY / ICON GRID
   ============================================================ */

.icon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
    margin-top: 3rem;
}

.icon-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.2rem 2.1rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.icon-card:hover {
    transform: translateY(-6px);
    border-color: rgba(240, 112, 0, 0.4);
}

.icon-badge {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: rgba(240, 112, 0, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 1.3rem;
}

.icon-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
}

.icon-card p {
    font-size: 0.96rem;
}

/* ============================================================
   CTA SPLIT
   ============================================================ */

.cta-band {
    position: relative;
    background: linear-gradient(rgba(13, 28, 43, 0.88), rgba(13, 28, 43, 0.88)), var(--cta-img, none);
    background-size: cover;
    background-position: center;
    padding: 6.5rem 0;
}

.cta-band::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg);
    clip-path: polygon(0 0, 100% 0, 100% 25%, 50% 100%, 0 25%);
}

.cta-band::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg);
    clip-path: polygon(0 75%, 50% 0, 100% 75%, 100% 100%, 0 100%);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

.cta-inner h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    margin-bottom: 0.6rem;
}

.cta-inner p {
    max-width: 520px;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    margin-top: 3.2rem;
}

.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
}

.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: 0.6rem;
    right: 1.4rem;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(240, 112, 0, 0.18);
    line-height: 1;
}

.stars {
    color: var(--accent-2);
    letter-spacing: 0.2em;
    font-size: 1rem;
    margin-bottom: 1.1rem;
}

.testimonial-card blockquote {
    font-size: 0.98rem;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    margin-top: 1.6rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border);
}

.testimonial-author .name {
    font-weight: 800;
    color: var(--white);
    font-size: 0.98rem;
}

.testimonial-author .loc {
    font-size: 0.82rem;
    color: var(--muted);
    letter-spacing: 0.04em;
}

/* ============================================================
   PROJECTS
   ============================================================ */

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    margin-top: 3.2rem;
}

.project-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 380px;
    border: 1px solid var(--border);
}

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

.project-card:hover img {
    transform: scale(1.06);
}

.project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.8rem 1.7rem;
    background: linear-gradient(to top, rgba(13, 28, 43, 0.96) 8%, rgba(13, 28, 43, 0.45) 48%, transparent 75%);
}

.project-overlay .cat {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.project-overlay h3 {
    font-size: 1.22rem;
    margin-bottom: 0.25rem;
}

.project-overlay .loc {
    font-size: 0.86rem;
    color: var(--body);
}

/* ============================================================
   CONTACT STRIP / CARDS
   ============================================================ */

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    margin-top: 3.2rem;
}

.contact-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.4rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(240, 112, 0, 0.4);
}

.contact-card .icon-badge {
    margin: 0 auto 1.2rem;
}

.contact-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 0.95rem;
}

.contact-card a.big {
    display: block;
    margin-top: 0.6rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent);
}

.contact-card a.big:hover {
    color: var(--accent-hover);
}

/* ============================================================
   SERVICE PAGE ELEMENTS
   ============================================================ */

.checklist {
    list-style: none;
    margin-top: 1.8rem;
    display: grid;
    gap: 0.9rem;
}

.checklist li {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.3rem;
    font-weight: 600;
    color: var(--white);
    font-size: 0.98rem;
}

.checklist li svg {
    flex: none;
    color: var(--accent);
    margin-top: 0.25rem;
}

/* Process steps */

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
    margin-top: 3.2rem;
    counter-reset: step;
}

.process-step {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.4rem 1.8rem 2rem;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.process-step:hover {
    transform: translateY(-6px);
    border-color: rgba(240, 112, 0, 0.4);
}

.process-step .step-num {
    position: absolute;
    top: -1.35rem;
    left: 1.6rem;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 50%;
    background: var(--grad);
    color: var(--white);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: 0 8px 20px rgba(240, 112, 0, 0.4);
}

.process-step h3 {
    font-size: 1.12rem;
    margin: 0.6rem 0 0.6rem;
}

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

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.glance-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.4rem 2.2rem;
    box-shadow: var(--shadow);
}

.glance-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.4rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.glance-list {
    list-style: none;
    display: grid;
    gap: 0.95rem;
}

.glance-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.95rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.glance-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.glance-list .k {
    color: var(--muted);
    font-weight: 700;
}

.glance-list .v {
    color: var(--white);
    font-weight: 700;
    text-align: right;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-top: 3rem;
}

.partner-cell {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.6rem 1rem;
    text-align: center;
    font-weight: 800;
    color: var(--white);
    font-size: 1rem;
    letter-spacing: 0.04em;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.partner-cell:hover {
    border-color: rgba(240, 112, 0, 0.45);
    transform: translateY(-4px);
}

.state-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 3rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.state-cell {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.8rem 0.5rem;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.state-cell:hover {
    border-color: rgba(240, 112, 0, 0.45);
    transform: translateY(-4px);
}

.state-cell .abbr {
    font-size: 1.7rem;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.state-cell .full {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-top: 0.25rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-layout {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-form-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.6rem 2.4rem;
    box-shadow: var(--shadow);
}

.contact-form-card h2 {
    font-size: 1.55rem;
    margin-bottom: 0.5rem;
}

.contact-form-card>p {
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

.form-group {
    margin-bottom: 1.1rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font);
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(240, 112, 0, 0.18);
}

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

.reach-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.4rem 2.2rem;
    box-shadow: var(--shadow);
}

.reach-card h2 {
    font-size: 1.4rem;
    margin-bottom: 1.6rem;
}

.reach-item {
    display: flex;
    gap: 1.1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--border);
}

.reach-item:last-child {
    border-bottom: none;
}

.reach-item .icon-badge {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    margin: 0;
    flex: none;
}

.reach-item h3 {
    font-size: 0.98rem;
    margin-bottom: 0.2rem;
}

.reach-item p,
.reach-item a {
    font-size: 0.92rem;
    color: var(--body);
}

.reach-item a {
    font-weight: 700;
    color: var(--accent);
}

.reach-item a:hover {
    color: var(--accent-hover);
}

/* Next steps strip */

.steps-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
    margin-top: 3.2rem;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    background: #0a1622;
    border-top: 1px solid var(--border);
    padding: 5rem 0 0;
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg);
    clip-path: polygon(0 0, 100% 0, 100% 20%, 50% 100%, 0 20%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 3.5rem;
    padding: 2.5rem 0 3.5rem;
}

.footer-col .logo {
    margin-bottom: 1.3rem;
}

.footer-col p.blurb {
    font-size: 0.95rem;
    max-width: 340px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.4rem;
}

.footer-col h4::after {
    content: "";
    display: block;
    width: 34px;
    height: 2px;
    background: var(--grad);
    margin-top: 0.6rem;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--body);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    font-size: 0.94rem;
}

.footer-contact svg {
    color: var(--accent);
    flex: none;
    margin-top: 0.3rem;
}

.footer-contact a {
    color: var(--body);
    font-weight: 700;
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-bar {
    border-top: 1px solid var(--border);
    padding: 1.4rem 0;
}

.footer-bar .container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--muted);
}

.footer-bar .tagline {
    color: var(--accent);
    font-weight: 700;
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1080px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid .service-card,
    .services-grid .service-card:nth-child(4),
    .services-grid .service-card:nth-child(5) {
        grid-column: auto;
    }
    .process-grid,
    .steps-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .state-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .partner-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .header-phone span {
        display: none;
    }
}

@media (max-width: 900px) {
    :root {
        --header-h: 72px;
    }
    .nav-toggle {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(340px, 85vw);
        background: var(--bg-2);
        border-left: 1px solid var(--border);
        padding: calc(var(--header-h) + 2rem) 2rem 2rem;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        overflow-y: auto;
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
        height: min-content;
    }
    .main-nav.open {
        transform: translateX(0);
    }
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        width: 100%;
    }
    .main-nav ul>li {
        width: 100%;
    }
    .main-nav a {
        display: block;
        padding: 0.8rem 0.4rem;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--border);
    }
    .main-nav a.active::after {
        display: none;
    }
    .main-nav a.active {
        color: var(--accent);
    }
    .has-dropdown>a::before {
        content: "";
    }
    .dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 1rem;
        min-width: 0;
    }
    .dropdown li a {
        font-size: 0.95rem;
        color: var(--muted);
        padding: 0.6rem 0.4rem;
    }
    .header-cta .btn {
        display: none;
    }
    .split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .split-media {
        order: -1;
        padding: 0 1rem 2.4rem 0;
    }
    .split-media img {
        height: 380px;
    }
    .float-card-2 {
        left: 0;
    }
    .testimonial-grid,
    .project-grid,
    .contact-cards {
        grid-template-columns: 1fr;
    }
    .icon-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.6rem;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 1rem;
    }
    .logo-img {
        height: 44px;
    }
    .section {
        padding: 4.5rem 0;
    }
    .angle-top {
        padding-top: 7rem;
    }
    .angle-bottom {
        padding-bottom: 7rem;
    }
    .hero {
        padding: calc(var(--header-h) + 3rem) 0 7rem;
        min-height: 92vh;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .services-grid,
    .process-grid,
    .steps-strip {
        grid-template-columns: 1fr;
    }
    .state-grid {
        grid-template-columns: 1fr;
    }
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .header-phone {
        display: none;
    }
    .float-card {
        padding: 1rem 1.2rem;
        min-width: 130px;
    }
    .float-card .num {
        font-size: 1.5rem;
    }
    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── Footer social ─────────────────────────── */

.footer-social {
    margin-top: 18px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted, #c8d4e0);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

.footer-social a svg {
    color: var(--accent, #f07000);
}

.footer-social a:hover {
    color: var(--accent-2, #fdb813);
}

/* ── Careers job cards (no image → inline tag) ── */

.job-card .service-tag {
    position: static;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 14px;
}

/* ============================================================
   WORDPRESS / NAV MENU / CF7 / THANK-YOU ADDITIONS
   ============================================================ */

/* ---- Nav menu (emits li.menu-item / li.has-dropdown) ---- */

.main-nav ul li.menu-item {
    list-style: none;
}

.main-nav ul li.menu-item a {
    display: inline-block;
}

/* ---- CF7 contact form styling (matches static form) ---- */

.contact-form-card .wpcf7-form-control-wrap {
    display: block;
}

.contact-form-card .wpcf7-form-control.wpcf7-submit,
.contact-form-card form [type="submit"] {
    width: 100%;
}

.contact-form-card .wpcf7 form {
    position: relative;
}

.contact-form-card .wpcf7-response-output {
    margin: 1rem 0 0;
    padding: 0.9rem 1.1rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.contact-form-card .wpcf7 form.sent .wpcf7-response-output {
    border-color: #2ecc71;
    background: rgba(46, 204, 113, 0.12);
    color: #7ff0ad;
}

.contact-form-card .wpcf7 form.failed .wpcf7-response-output,
.contact-form-card .wpcf7 form.aborted .wpcf7-response-output {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.12);
    color: #ff9b8f;
}

/* ---- Thank-you page ---- */

.thankyou-section {
    padding: calc(var(--header-h) + 6rem) 0 8rem;
    text-align: center;
}

.thankyou-section .thankyou-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: rgba(240, 112, 0, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    color: var(--accent);
}

.thankyou-section h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin-bottom: 1rem;
}

.thankyou-section p {
    max-width: 560px;
    margin: 0 auto 2.2rem;
    font-size: 1.1rem;
}

.thankyou-section .btn {
    gap: 0.6rem;
}

/* ---- Admin bar offset for fixed header ---- */

.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* ---- Simple 404 ---- */

.notfound-section {
    padding: calc(var(--header-h) + 7rem) 0 8rem;
    text-align: center;
}

.notfound-section .code {
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 0.6rem;
}

.notfound-section h1 {
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    margin-bottom: 0.8rem;
}

.notfound-section p {
    max-width: 520px;
    margin: 0 auto 2rem;
}

/* ---- Editor / AMP image fixes ---- */

img.wp-post-image {
    height: auto;
}