/* The WiFi Company — site styles */

@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }

:root {
  /* Brand colours taken from the logo's signal arcs */
  --yellow: #ffe36e;
  --amber: #fdc448;
  --orange: #f2922d;
  --orange-dark: #d9771a;
  --ink: #232323;
  --ink-soft: #4a4a4a;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-alt: #f6f5f2;
  --dark: #15181d;
  --dark-2: #1f242b;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(20, 24, 29, 0.08);
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: #c9ccd1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-dark); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--yellow), var(--orange)); }
.section--dark .eyebrow { color: var(--amber); }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font: 600 .95rem/1 var(--font); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--yellow); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; }
.brand img { height: 64px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange-dark); }
.nav .btn { margin-left: 8px; padding: .75em 1.3em; font-size: .82rem; letter-spacing: .06em; color: #fff; }
.nav .btn:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 80px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    box-shadow: var(--shadow); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 16px 0 0; border-radius: 999px; border-bottom: 0; }
}

/* Hero */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--dark); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,17,21,.86) 0%, rgba(15,17,21,.62) 48%, rgba(15,17,21,.15) 100%); }
.hero .container { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { color: #fff; max-width: 12ch; }
.hero h1 span { background: linear-gradient(90deg, var(--yellow), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 520px; color: #e3e5e8; margin-bottom: 2rem; }
.hero .eyebrow { color: var(--amber); }

.page-hero { background: var(--dark); color: #d4d7db; padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 36px solid rgba(242,146,45,.18); box-shadow: 0 0 0 60px rgba(253,196,72,.08), 0 0 0 120px rgba(255,227,110,.05);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); }
.page-hero p { max-width: 640px; font-size: 1.1rem; margin: 0; }
.page-hero .container { position: relative; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 860px) { .split, .split--rev { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

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

/* Coverage chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 32px; list-style: none; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 12px;
  font-size: .95rem; font-weight: 500; color: var(--ink);
}
.chips li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--yellow), var(--orange)); }

/* Feature tiles (Event / Business) */
.tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,17,21,0) 20%, rgba(15,17,21,.85) 100%); }
.tile:hover img { transform: scale(1.04); }
.tile__body { padding: 28px; }
.tile h3 { color: #fff; font-size: 1.6rem; margin-bottom: .3em; }
.tile p { color: #e3e5e8; margin-bottom: 1em; }
.tile .more { font-weight: 600; color: var(--amber); }
.tile:hover { color: #fff; }

/* Ticked list */
.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 36px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Numbered services */
.services-list { counter-reset: svc; }
.svc { position: relative; padding-top: 64px; }
.svc::before {
  counter-increment: svc; content: counter(svc, decimal-leading-zero);
  position: absolute; top: 24px; left: 28px;
  font-weight: 700; font-size: 1.05rem; color: var(--orange-dark);
  background: linear-gradient(135deg, rgba(255,227,110,.45), rgba(242,146,45,.25)); padding: 4px 12px; border-radius: 999px;
}

/* Service sector blocks */
.sector { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; scroll-margin-top: 100px; }
.sector__icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--yellow), var(--orange)); color: var(--ink); }
.sector__icon svg { width: 30px; height: 30px; }
.sector ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sector ul li { font-size: .82rem; font-weight: 500; color: var(--ink); background: var(--bg-alt); border-radius: 999px; padding: 4px 12px; }

.jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.jump a { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: #fff; text-decoration: none; font-size: .9rem; font-weight: 500; }
.jump a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Logos strip */
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.logos img { height: 84px; width: auto; object-fit: contain; }

/* Gallery / tabs */
.gallery { display: grid; gap: 16px; }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery figcaption { padding: 12px 16px; font-size: .9rem; font-weight: 500; color: var(--ink); border-top: 1px solid var(--line); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tabs button { font: 500 .9rem var(--font); padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab-panel[hidden] { display: none; }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 24px; }
.areas li { padding: 10px 18px; border-radius: 999px; background: var(--dark-2); color: #fff; font-weight: 500; font-size: .95rem; }
.areas li::before { content: "\25CF"; color: var(--orange); margin-right: 8px; font-size: .7em; vertical-align: middle; }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--orange) 0%, var(--amber) 70%, var(--yellow) 100%); color: var(--ink); border-radius: var(--radius); padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin: 0; max-width: 18ch; }
.cta-band p { margin: .5em 0 0; color: #3b2a12; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item:first-child { padding-top: 0; }
.contact-item svg { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(242,146,45,.12); color: var(--orange-dark); }
.contact-item h3 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; font-weight: 600; }
.contact-item a, .contact-item address { font-style: normal; font-size: 1.05rem; color: var(--ink); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.contact-item a:hover { color: var(--orange-dark); }

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: var(--orange-dark); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--font); color: var(--ink);
  padding: 12px 14px; border: 1.5px solid #d9d9d9; border-radius: var(--radius-sm); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242,146,45,.18); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status.is-ok { background: #e8f6ea; color: #1d5e2a; }
.form-status.is-err { background: #fdecea; color: #8a1f14; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.small { font-size: .85rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--dark); color: #a9aeb5; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: #e3e5e8; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.footer-logo { background: #fff; border-radius: 12px; padding: 10px 14px; display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 48px; width: auto; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--dark-2); color: #fff; }
.social a:hover { background: var(--orange); color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
