/* xvert tech — site styles
   Palette: #059091 teal · #FFFFFF white · #004777 navy · #A30000 red · #FF7700 orange
   (plus a few shades of those for readable contrast) */

:root {
  --navy: #004777;
  --navy-2: #003B63;
  --ink: #00253F;
  --line: #1A5E8E;
  --line-2: #3F7AA3;
  --muted: #C3D6E4;
  --orange: #FF7700;
  --orange-soft: #FFA24D;
  --teal: #059091;
  --teal-text: #047273;
  --red: #A30000;
  --white: #FFFFFF;
  --light: #F0F7F7;
  --light-card: #EEF5F9;
  --light-line: #CFE0EA;
  --light-muted: #2E4A63;
  --light-muted-2: #3D5A72;

  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Figtree', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --gutter: clamp(20px, 6vw, 96px);
  --section: clamp(72px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin: 0; }
a { color: var(--orange); }
a:hover { color: var(--orange-soft); }
:focus-visible { outline: 3px solid var(--orange-soft); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.stack-sm > * + * { margin-top: 16px; }
.stack-md > * + * { margin-top: 28px; }
.stack-lg > * + * { margin-top: 24px; }
.stack-xl > * + * { margin-top: clamp(48px, 6vw, 72px); }

.muted { color: var(--muted); }
.small { font-size: 15px; }
.big { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; }
.accent { color: var(--orange); }

.eyebrow { font-family: var(--mono); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.eyebrow.teal { color: var(--teal-text); }
.eyebrow.orange-soft { color: var(--orange-soft); }

.h-xl { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5.4vw, 76px); line-height: 0.98; letter-spacing: -0.04em; }
.h-lg { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4.5vw, 64px); line-height: 1; letter-spacing: -0.035em; }
.h-md { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 2.6vw, 36px); letter-spacing: -0.02em; }

.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1.4; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 14px; font-size: 17px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; text-align: center; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-soft); color: var(--ink); }
.btn-outline { border: 1.5px solid var(--white); color: var(--white); font-weight: 500; }
.btn-outline:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.btn-sm { min-height: 48px; padding: 0 20px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header { position: relative; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 24px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.logo:hover { color: var(--white); }
.logo em { font-style: normal; color: var(--orange); }
.logo-box { color: var(--orange); }
.site-nav { display: flex; align-items: center; gap: 32px; font-weight: 500; }
.site-nav a:not(.btn) { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.site-nav a:not(.btn):hover { color: var(--orange-soft); }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid var(--white); background: transparent; color: var(--white); align-items: center; justify-content: center; cursor: pointer; }

/* Hero */
.hero { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(64px, 8vw, 112px); }
.hero > * + * { margin-top: 40px; }
.announce { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--navy-2); border: 1px solid var(--line); color: var(--white); text-decoration: none; font-size: 15px; }
.announce:hover { color: var(--white); border-color: var(--line-2); }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(52px, 7.8vw, 112px); line-height: 0.92; letter-spacing: -0.045em; max-width: 1200px; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: end; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); max-width: 640px; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }

/* Services */
.services { padding-bottom: var(--section); }
.services-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.svc { grid-column: span 2; padding: 28px; border-radius: 20px; background: var(--navy-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 40px; }
.svc h3 { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; }
.svc p { font-size: 15px; color: var(--muted); margin-top: 8px; }
.svc-feature { grid-column: span 3; padding: 40px; border-radius: 24px; border: 0; min-height: 340px; justify-content: space-between; gap: 48px; text-decoration: none; }
.svc-feature h3 { font-weight: 800; font-size: clamp(34px, 3vw, 44px); letter-spacing: -0.03em; line-height: 1; }
.svc-feature p { font-size: 17px; line-height: 1.55; margin-top: 10px; }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.more { display: block; font-weight: 600; margin-top: 16px; }
.svc-web { background: var(--white); color: var(--navy); }
.svc-web p { color: var(--light-muted); }
.svc-web:hover { color: var(--navy); box-shadow: 0 0 0 3px var(--teal); }
.svc-cloud { background: var(--orange); color: var(--ink); }
.svc-cloud p { color: var(--ink); }
.svc-cloud:hover { color: var(--ink); box-shadow: 0 0 0 3px var(--orange-soft); }
.tag-dark { padding: 6px 14px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 600; }

/* Home Cloud */
.cloud { background: var(--light); color: var(--navy); padding-block: var(--section); }
.split-head { display: grid; grid-template-columns: 7fr 4fr; gap: 32px 8%; align-items: end; }
.intro { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; }
.cloud .intro { color: var(--light-muted); }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.compare-card { margin: 0; padding: clamp(24px, 3vw, 40px); border-radius: 28px; display: flex; flex-direction: column; gap: 24px; }
.compare-card figcaption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.compare-card > svg { width: 100%; height: auto; }
.compare-title { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; }
.compare-usual { background: var(--white); border: 1px solid #D3E2EC; }
.compare-home { background: var(--navy); color: var(--white); }
.compare-home .eyebrow { font-size: 13px; }
.verdict { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; font-size: 16px; }
.compare-usual .verdict { background: var(--light-card); }
.compare-home .verdict { background: var(--navy-2); }
.verdict svg { flex: none; }
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.benefit { padding-top: 24px; border-top: 3px solid var(--teal); }
.benefit h3 { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.015em; }
.benefit p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--light-muted); }
.package-faq { display: grid; grid-template-columns: 5fr 6fr; gap: 32px 8%; align-items: start; }
.package { padding: clamp(28px, 3.5vw, 44px); border-radius: 28px; background: var(--navy); color: var(--white); display: flex; flex-direction: column; gap: 22px; }
.package .eyebrow { font-size: 13px; }
.package-title { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 3.6vw, 52px); letter-spacing: -0.03em; line-height: 1; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.faq h3 { font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: -0.02em; margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--light-line); padding-block: 20px; }
.faq details:last-child { border-bottom: 0; }
.faq summary { font-size: 19px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--teal-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--light-muted); }

/* Web development */
.web { padding-top: var(--section); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { padding: 32px; border-radius: 20px; background: var(--navy-2); border: 1px solid var(--line); }
.feature h3 { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.015em; }
.feature p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.web-cta { display: flex; justify-content: center; }

/* Recent work */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work { display: block; color: var(--white); text-decoration: none; }
.work:hover { color: var(--white); }
.work > * + * { margin-top: 12px; }
.work-shot img { transition: transform 0.3s ease; }
.work:hover .work-shot img { transform: scale(1.03); }
.work:hover .work-shot { border-color: var(--orange); }
.work-visit { display: block; font-size: 15px; font-weight: 600; color: var(--orange); }
.work:hover .work-visit { color: var(--orange-soft); text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .work-shot img { transition: none; } }
.work-shot { aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--navy-2); border: 1px solid var(--line); }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work h4 { font-size: 19px; font-weight: 600; margin-top: 16px; }
.work p { font-size: 15px; line-height: 1.5; }

/* Photos */
.photo { margin: 0; border-radius: 28px; overflow: hidden; background: var(--navy-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-wide { aspect-ratio: 5 / 2; }
.photo-band { padding-bottom: clamp(48px, 6vw, 72px); }
.photo-benefits { display: grid; grid-template-columns: 5fr 7fr; gap: 40px 6%; align-items: center; }
.photo-tall { aspect-ratio: 6 / 7; }
.photo-benefits .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* About */
.about { padding-block: var(--section); display: grid; grid-template-columns: 4fr 7fr; gap: 48px 8%; align-items: center; }
.about-photo { aspect-ratio: 4 / 5; }
.about .big { max-width: 640px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 12px; }
.stats > div { padding-top: 20px; border-top: 1px solid var(--line); }
.stat { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 3vw, 44px); color: var(--orange); letter-spacing: -0.03em; }

/* Contact */
.contact { padding: clamp(28px, 5vw, 72px); border-radius: 32px; background: var(--navy-2); border: 1px solid var(--line); display: grid; grid-template-columns: 5fr 6fr; gap: 40px 8%; }
.contact { align-items: center; }
.contact-actions { display: flex; flex-direction: column; gap: 16px; }
.contact-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 20px; align-items: center; padding: 28px 32px; border-radius: 22px; text-decoration: none; }
.contact-card svg { grid-row: span 2; }
.contact-label { font-size: 15px; font-weight: 600; }
.contact-value { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.02em; line-height: 1.1; overflow-wrap: anywhere; }
.contact-call { background: var(--orange); color: var(--ink); }
.contact-call:hover { background: var(--orange-soft); color: var(--ink); }
.contact-email { background: var(--navy); color: var(--white); border: 1.5px solid var(--line-2); }
.contact-email:hover { color: var(--white); border-color: var(--orange); }
.contact-email .contact-label { color: var(--muted); }

/* Footer */
.site-footer { padding-top: clamp(64px, 8vw, 96px); padding-bottom: 48px; }
.footer-mark { font-family: var(--display); font-weight: 800; font-size: clamp(64px, 12.5vw, 180px); line-height: 0.85; letter-spacing: -0.06em; color: var(--navy-2); white-space: nowrap; }
.footer-bar { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav { gap: 22px; font-size: 15px; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-actions { align-items: flex-start; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); flex-direction: column; align-items: stretch; gap: 4px; padding: 16px; border-radius: 20px; background: var(--navy-2); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { min-height: 48px; padding: 0 8px; font-size: 17px; }
  .site-nav .btn { margin-top: 8px; }
  .services-grid { grid-template-columns: 1fr; }
  .svc, .svc-feature { grid-column: auto; }
  .svc-feature { min-height: 0; }
  .split-head, .package-faq, .about, .contact { grid-template-columns: 1fr; }
  .compare { grid-template-columns: minmax(0, 1fr); }
  .compare-card { min-width: 0; }
  .photo-benefits { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; max-width: 560px; }
  .photo-tall { aspect-ratio: 4 / 3; }
  .photo-wide { aspect-ratio: 16 / 9; }
  .about-photo { aspect-ratio: 4 / 3; }
}

@media (max-width: 600px) {
  .announce { font-size: 14px; border-radius: 18px; }
  .btn-row { flex-direction: column; width: 100%; }
  .btn-row .btn, .web-cta .btn { width: 100%; }
  .benefits, .photo-benefits .benefits, .features { grid-template-columns: 1fr; }
  .contact-card { padding: 22px; column-gap: 16px; }
  .benefits { gap: 28px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .footer-bar { flex-direction: column; }
}

/* ---------- Animations (used with animations.js) ---------- */

/* Sticky header that tightens up on scroll */
.site-header { position: sticky; top: 0; transition: background-color .3s ease, box-shadow .3s ease; }
.site-header .header-inner { transition: padding .3s ease; }
.site-header.scrolled { background: rgba(0, 59, 99, 0.94); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.site-header.scrolled .header-inner { padding-block: 12px; }
section[id] { scroll-margin-top: 88px; }

/* Hero entrance */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.anim .hero > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.anim .hero > :nth-child(2) { animation-delay: .12s; }
.anim .hero > :nth-child(3) { animation-delay: .28s; }
.anim .hero .accent { background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 92% / 0% 6px; animation: underline .9s .9s ease-out forwards; }
@keyframes underline { to { background-size: 100% 6px; } }

/* Reveal on scroll */
.anim .reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.anim .reveal.in { opacity: 1; transform: none; }

/* Card lift on hover */
.svc, .feature, .contact-card { transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease; }
.svc-feature:hover, .feature:hover, .contact-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22); }
.photo img { will-change: transform; transition: transform .1s linear; }

/* Home Cloud diagram */
.packet { opacity: 0; }
.compare.playing .packet-a { animation: hop-a 3s ease-in-out infinite; }
.compare.playing .packet-b { animation: hop-a 3s ease-in-out 1.1s infinite; }
.compare.playing .packet-home { animation: hop-home 1.6s ease-in-out infinite; }
.compare.playing .compare-usual path[stroke-dasharray] { animation: march 1s linear infinite; }
.compare.playing .wifi-inner { animation: pulse 1.6s ease-in-out infinite; }
.compare.playing .wifi-outer { animation: pulse 1.6s ease-in-out .3s infinite; }
.compare.playing .status-led { animation: blink 2s ease-in-out infinite; }
@keyframes hop-a { 0% { opacity: 0; transform: translateX(0); } 10% { opacity: 1; } 55% { opacity: 1; transform: translateX(70px); } 65%, 100% { opacity: 0; transform: translateX(70px); } }
@keyframes hop-home { 0% { opacity: 0; transform: translateX(0); } 12% { opacity: 1; } 80% { opacity: 1; transform: translateX(108px); } 100% { opacity: 0; transform: translateX(108px); } }
@keyframes march { to { stroke-dashoffset: -26; } }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

@media (prefers-reduced-motion: reduce) {
  .anim .hero > *, .anim .hero .accent { animation: none; }
  .anim .reveal { opacity: 1; transform: none; transition: none; }
  .compare.playing * { animation: none !important; }
  .packet { display: none; }
  .svc-feature:hover, .feature:hover, .contact-card:hover { transform: none; }
}

/* ---------- Service pages ---------- */
.site-nav a[aria-current="page"] { color: var(--orange-soft); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--orange); border-radius: 2px; }
.site-nav a:not(.btn) { position: relative; }
@media (max-width: 1180px) and (min-width: 901px) { .site-nav { gap: 18px; font-size: 15px; } .site-nav .btn-sm { padding: 0 14px; } }

a.svc-link { color: var(--white); text-decoration: none; }
a.svc-link:hover { color: var(--white); border-color: var(--orange); transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,0.22); }
a.svc-link .more { color: var(--orange); font-size: 15px; }
.link-soft { color: var(--orange-soft); text-align: center; }

/* Page hero */
.page-hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: 7fr 5fr; gap: 40px 6%; align-items: center; }
.page-hero > * + * { margin-top: 0; }
.page-hero-text > * + * { margin-top: 24px; }
.page-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 5.6vw, 84px); line-height: 0.95; letter-spacing: -0.04em; }
.page-hero .photo { aspect-ratio: 4 / 5; }
.crumb { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--orange-soft); }

/* Sections */
.section { padding-block: var(--section); }
.section-light { background: var(--light); color: var(--navy); }
.section-light .text-soft, .text-soft-light { color: var(--light-muted); }
.section-head { max-width: 820px; }
.section-head > * + * { margin-top: 16px; }
.section-head p { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; }
.section > .wrap > * + * { margin-top: clamp(40px, 5vw, 64px); }

/* Card grid (light cards on light sections, dark on dark) */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { padding: 28px; border-radius: 20px; background: var(--navy-2); border: 1px solid var(--line); }
.card h3 { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.015em; }
.card p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.card svg { margin-bottom: 18px; }
.section-light .card { background: var(--white); border-color: #D3E2EC; }
.section-light .card p { color: var(--light-muted); }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { counter-increment: step; padding-top: 24px; border-top: 3px solid var(--teal); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--mono); font-size: 14px; color: var(--orange-soft); margin-bottom: 12px; }
.section-light .steps li::before { color: var(--teal-text); }
.steps h3 { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.015em; }
.steps p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.section-light .steps p { color: var(--light-muted); }

/* Two-column checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
.checklist li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.5; }
.checklist li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--orange); }
.section-light .checklist li::before { color: var(--teal-text); }

/* Split: text + photo */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 6%; align-items: center; }
.split .photo { aspect-ratio: 4 / 3; }
.split-text > * + * { margin-top: 20px; }

/* FAQ on dark backgrounds */
.faq-dark details { border-bottom-color: var(--line); }
.faq-dark summary::after { color: var(--orange); }
.faq-dark details p { color: var(--muted); }

/* Call-to-action band */
.cta-band { padding: clamp(32px, 5vw, 64px); border-radius: 32px; background: var(--orange); color: var(--ink); display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; }
.cta-band h2 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 3.6vw, 52px); line-height: 1; letter-spacing: -0.03em; }
.cta-band p { margin-top: 12px; font-size: 18px; line-height: 1.5; }
.cta-band .btn-row { justify-content: flex-end; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--navy); color: var(--white); }
.btn-outline-ink { border: 1.5px solid var(--ink); color: var(--ink); font-weight: 600; }
.btn-outline-ink:hover { background: rgba(0,37,63,0.08); color: var(--ink); }

/* Footer links */
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 40px; font-weight: 500; }
.footer-links a { color: var(--white); text-decoration: none; }
.footer-links a:hover { color: var(--orange-soft); }

@media (max-width: 1100px) {
  .card-grid.cols-4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .page-hero, .split, .cta-band { grid-template-columns: 1fr; }
  .page-hero .photo { aspect-ratio: 4 / 3; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps.cols-3 { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .site-nav a[aria-current="page"]::after { display: none; }
}
@media (max-width: 600px) {
  .card-grid, .card-grid.cols-4, .steps, .checklist { grid-template-columns: 1fr; }
  .cta-band .btn { width: 100%; }
}

/* Keep phone number and email on one line on small phones */
@media (max-width: 600px) {
  .contact { padding: 28px 18px; }
  .contact-card { padding: 18px; column-gap: 14px; }
  .contact-value { font-size: 23px; overflow-wrap: normal; white-space: nowrap; }
}

/* ---------- Teal (#059091) ---------- */
/* Dark ink text on teal passes contrast (4.8:1); white text is only used at large sizes. */
:root { --teal-ink: #001521; }

/* Homepage: Web Development feature card */
.svc-web { background: var(--teal); color: var(--teal-ink); }
.svc-web p, .svc-web .eyebrow.teal, .svc-web .more { color: var(--teal-ink); }
.svc-web:hover { color: var(--teal-ink); box-shadow: 0 0 0 3px var(--white); }

/* Full-width teal band (used for "How it works" sections) */
.section-teal { background: var(--teal); color: var(--teal-ink); }
.section-teal .eyebrow, .section-teal .muted, .section-teal .text-soft, .section-teal .steps p, .section-teal .steps li::before { color: var(--teal-ink); }
.section-teal .steps li { border-top-color: var(--teal-ink); }
.section-teal .faq details { border-bottom-color: rgba(0, 21, 33, 0.25); }
.section-teal .faq details p { color: var(--teal-ink); }
.section-teal .faq summary::after { color: var(--teal-ink); }
.section-teal a:not(.btn) { color: var(--teal-ink); }

/* Teal graphics on light sections */
.section-light .checklist li::before, .cloud .checklist li::before { color: var(--teal); }
.section-light .card svg { stroke: var(--teal); }
