/*
Theme Name: Sunnett Reconnect
Theme URI: https://sunnettinc.com/
Author: Sunnett Inc.
Author URI: https://sunnettinc.com/
Description: A conversion-focused, responsive WordPress theme for Sunnett Inc., a telecommunications construction and solutions company.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: sunnett-reconnect
*/

:root {
  --ink: #071722;
  --ink-2: #0d2736;
  --ink-3: #153a4a;
  --paper: #f5f7f8;
  --white: #ffffff;
  --muted: #a8b7bf;
  --line: rgba(255, 255, 255, .14);
  --brand: #8e181b;
  --brand-bright: #bd3133;
  --gold: #f5b348;
  --max: 1180px;
  --radius: 20px;
  --shadow: 0 24px 60px rgba(7, 23, 34, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute !important; white-space: nowrap; width: 1px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.section { padding: 112px 0; }
.section--dark { background: var(--ink); color: var(--white); }
.section--warm { background: #ece8e2; }
.eyebrow { color: var(--brand-bright); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section--dark .eyebrow { color: var(--gold); }
h1, h2, h3, h4 { margin: 0 0 20px; font-family: "Space Grotesk", Arial, sans-serif; letter-spacing: -.045em; line-height: 1.08; }
h1 { font-size: clamp(3.25rem, 7vw, 6.6rem); max-width: 760px; }
h2 { font-size: clamp(2.35rem, 4vw, 4.25rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 20px; }
.lead { color: #c5d0d5; font-size: 1.1rem; max-width: 640px; }
.section-intro { display: flex; justify-content: space-between; gap: 50px; align-items: end; margin-bottom: 56px; }
.section-intro h2 { max-width: 650px; margin-top: 14px; margin-bottom: 0; }
.section-intro p { max-width: 420px; color: #65767e; margin: 0; }
.section--dark .section-intro p { color: var(--muted); }

/* Header */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--white); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; font-family: "Space Grotesk", Arial, sans-serif; font-size: 1.2rem; font-weight: 800; letter-spacing: -.04em; }
.site-brand img { width: auto; max-width: 160px; max-height: 52px; }
.site-logo { display: block; width: 88px !important; height: 52px !important; object-fit: contain; object-position: left center; }
.footer-brand .site-logo { width: 118px !important; height: 62px !important; }
.brand-mark { width: 34px; height: 34px; border: 2px solid currentColor; border-radius: 50%; position: relative; display: inline-grid; place-items: center; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; border: 1px solid currentColor; border-radius: 50%; opacity: .55; }
.brand-mark::before { width: 48px; height: 48px; }
.brand-mark::after { width: 64px; height: 64px; opacity: .25; }
.site-nav ul { display: flex; align-items: center; gap: 30px; list-style: none; padding: 0; margin: 0; }
.site-nav a { font-size: .9rem; color: rgba(255,255,255,.82); transition: color .2s ease; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--white); }
.header-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: .86rem; font-weight: 700; transition: background .2s, border-color .2s; }
.header-cta:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.menu-toggle span { width: 25px; height: 2px; display: block; background: currentColor; margin: 5px 0; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; border: 1px solid transparent; border-radius: 999px; padding: 15px 23px; background: var(--brand); color: var(--white); font-weight: 800; line-height: 1; transition: transform .2s, background .2s, color .2s; }
.button::after { content: "↗"; font-size: 1.1em; }
.button:hover { transform: translateY(-2px); background: var(--brand-bright); color: var(--white); }
.button--outline { background: transparent; border-color: rgba(255,255,255,.38); }
.button--outline:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.button--light { background: var(--white); color: var(--ink); }
.button--light:hover { background: var(--gold); color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); font-weight: 800; }
.text-link::after { content: "→"; font-size: 1.25em; transition: transform .2s; }
.text-link:hover::after { transform: translateX(4px); }

/* Hero */
.hero { min-height: 810px; padding: 210px 0 110px; color: var(--white); background: var(--ink); overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -240px; top: 80px; border: 1px solid rgba(245,179,72,.25); border-radius: 50%; box-shadow: 0 0 0 72px rgba(245,179,72,.04), 0 0 0 144px rgba(245,179,72,.025), 0 0 0 216px rgba(245,179,72,.018); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(90deg, transparent, black 70%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero-kicker { display: flex; align-items: center; gap: 10px; color: var(--gold); font-size: .82rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 25px; }
.hero-kicker::before { content: ""; width: 42px; height: 2px; background: var(--gold); }
.hero h1 { margin-bottom: 28px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero-bottom { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-top: 110px; }
.hero-note { display: flex; align-items: center; gap: 14px; color: #c5d0d5; font-size: .84rem; }
.pulse { display: block; width: 11px; height: 11px; border-radius: 50%; background: #65d28d; box-shadow: 0 0 0 7px rgba(101,210,141,.15); }
.hero-scroll { color: var(--muted); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }

/* Proof strip */
.proof-strip { color: var(--white); background: var(--brand); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 30px 28px; border-right: 1px solid rgba(255,255,255,.25); }
.proof-item:first-child { padding-left: 0; }
.proof-item:last-child { border-right: 0; }
.proof-number { font-family: "Space Grotesk", Arial, sans-serif; font-size: 2.5rem; font-weight: 800; line-height: 1; }
.proof-label { margin-top: 8px; color: rgba(255,255,255,.76); font-size: .86rem; }

/* Cards and services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 290px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; background: var(--white); border: 1px solid #dce2e4; border-radius: var(--radius); transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(142,24,27,.3); box-shadow: var(--shadow); }
.service-icon { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 32px; color: var(--brand); border: 1px solid rgba(142,24,27,.3); border-radius: 12px; font-family: "Space Grotesk", Arial, sans-serif; font-weight: 800; }
.service-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.service-card p { color: #66777f; font-size: .94rem; margin-bottom: 24px; }
.service-arrow { color: var(--brand); font-size: 1.4rem; line-height: 1; }
.service-grid--compact .service-card { min-height: 230px; }

/* About split */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.split--reverse { grid-template-columns: 1.1fr .9fr; }
.split-copy p { color: #66777f; max-width: 580px; }
.split-copy .button { margin-top: 14px; }
.network-art { min-height: 500px; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); }
.network-art::before { content: ""; position: absolute; width: 460px; height: 460px; left: -150px; bottom: -210px; border: 1px solid rgba(245,179,72,.6); border-radius: 50%; box-shadow: 0 0 0 58px rgba(245,179,72,.08), 0 0 0 116px rgba(245,179,72,.05), 0 0 0 174px rgba(245,179,72,.03); }
.network-art::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(135deg, transparent 49.7%, rgba(255,255,255,.14) 50%, transparent 50.3%), linear-gradient(45deg, transparent 49.7%, rgba(255,255,255,.10) 50%, transparent 50.3%); background-size: 110px 110px; }
.tower { position: absolute; z-index: 1; width: 5px; height: 290px; left: 50%; bottom: 0; transform: translateX(-50%); background: linear-gradient(90deg, transparent, #e5edf0 48%, transparent 52%); }
.tower::before { content: ""; position: absolute; left: -58px; top: 18px; width: 120px; height: 2px; background: #e5edf0; box-shadow: 0 63px #e5edf0, 0 126px #e5edf0, 0 189px #e5edf0; transform: rotate(-48deg); transform-origin: center; }
.tower::after { content: ""; position: absolute; width: 22px; height: 22px; top: -10px; left: -8px; border: 4px solid var(--gold); border-radius: 50%; box-shadow: 0 0 0 12px rgba(245,179,72,.15), 0 0 0 24px rgba(245,179,72,.08); }
.art-label { position: absolute; z-index: 2; right: 28px; top: 28px; color: rgba(255,255,255,.7); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; writing-mode: vertical-rl; }
.list-checks { display: grid; gap: 15px; list-style: none; padding: 0; margin: 28px 0; }
.list-checks li { display: flex; gap: 13px; align-items: start; }
.list-checks li::before { content: "✓"; flex: 0 0 auto; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--brand); color: white; font-size: .75rem; font-weight: 800; }

/* CTA */
.cta-band { position: relative; overflow: hidden; color: var(--white); background: var(--brand); }
.cta-band::after { content: ""; position: absolute; width: 500px; height: 500px; right: -180px; top: -250px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; box-shadow: 0 0 0 65px rgba(255,255,255,.05), 0 0 0 130px rgba(255,255,255,.03); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { max-width: 700px; margin-bottom: 0; }

/* Page hero */
.page-hero { padding: 170px 0 92px; color: var(--white); background: var(--ink); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 500px; height: 500px; right: -140px; top: 40px; border: 1px solid rgba(245,179,72,.28); border-radius: 50%; box-shadow: 0 0 0 54px rgba(245,179,72,.04), 0 0 0 108px rgba(245,179,72,.025); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(3rem, 7vw, 5.8rem); margin-bottom: 0; }
.breadcrumbs { margin-bottom: 20px; color: var(--gold); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 75px; align-items: start; }
.contact-details { display: grid; gap: 24px; }
.contact-detail { padding-top: 17px; border-top: 1px solid #d7dddf; }
.contact-detail strong { display: block; margin-bottom: 5px; font-family: "Space Grotesk", Arial, sans-serif; }
.contact-detail span, .contact-detail a { color: #66777f; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: .84rem; font-weight: 800; }
.field input, .field textarea { width: 100%; padding: 15px 16px; color: var(--ink); background: var(--white); border: 1px solid #ccd6d9; border-radius: 10px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(142,24,27,.12); }
.form-note { color: #66777f; font-size: .82rem; }
.notice { margin-bottom: 25px; padding: 14px 18px; border-radius: 10px; background: #e4f6eb; color: #1d6740; }
.notice--error { background: #fae7e7; color: #8e181b; }

/* Footer */
.site-footer { padding: 72px 0 28px; color: var(--muted); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 45px; padding-bottom: 58px; }
.footer-brand { color: var(--white); }
.footer-brand p { max-width: 290px; margin-top: 20px; font-size: .9rem; }
.footer-heading { color: var(--white); font-family: "Space Grotesk", Arial, sans-serif; font-size: .95rem; font-weight: 700; }
.footer-links { display: grid; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; font-size: .87rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; border-top: 1px solid var(--line); font-size: .78rem; }

@media (max-width: 900px) {
  .site-nav { display: none; position: absolute; left: 20px; right: 20px; top: 78px; padding: 20px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: grid; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border: 0; }
  .site-nav a { display: block; padding: 13px 0; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .split, .split--reverse { grid-template-columns: 1fr; gap: 45px; }
  .split--reverse .network-art { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
  .container, .narrow { width: min(calc(100% - 32px), var(--max)); }
  .section { padding: 78px 0; }
  .hero { min-height: 720px; padding-top: 165px; }
  .hero::before { width: 490px; height: 490px; right: -290px; top: 170px; }
  .hero-bottom { margin-top: 75px; }
  .section-intro, .cta-inner { display: block; }
  .section-intro p { margin-top: 20px; }
  .cta-inner .button { margin-top: 28px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item, .proof-item:first-child { padding: 22px 16px; border-bottom: 1px solid rgba(255,255,255,.25); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(3), .proof-item:nth-child(4) { border-bottom: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .network-art { min-height: 360px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .field--full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 35px; }
  .footer-bottom { display: grid; gap: 8px; }
}
