:root {
  --bg: #fbf7ef;
  --paper: #fffdfa;
  --ink: #242124;
  --muted: #5d5a55;
  --line: #ded7cd;
  --red: #ed1d24;
  --red-dark: #c2141a;
  --brand-green: #00ae4d;
  --teal: #087a77;
  --soft-green: #e8f6ea;
  --whatsapp: #1ca73f;
  --shadow: 0 24px 70px rgba(47, 37, 25, 0.12);
  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 6%, rgba(206, 230, 205, 0.58), transparent 24rem),
    linear-gradient(180deg, #fffdf8 0%, var(--bg) 58%, #fff 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2 {
  text-wrap: balance;
}

/* Shared icon system -------------------------------------------------- */

.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Brand glyphs (WhatsApp, heart) are solid shapes, not strokes. */
.icon.brand-glyph,
.icon.heart {
  fill: currentColor;
  stroke: none;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.4rem;
  transition: top 140ms ease;
}

.skip-link:focus {
  top: 1rem;
}

/* Header -------------------------------------------------------------- */

.site-header {
  display: flex;
  align-items: center;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1.6rem var(--gutter) 0.5rem;
}

/* Full-colour logo on transparency — sits directly on the page. */
.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: clamp(8.5rem, 11vw, 11rem);
  height: auto;
}

/* Hero ---------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.66fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(2rem, 4.5vw, 4rem) var(--gutter) 2rem;
}

.hero-copy {
  min-width: 0;
  max-width: 45rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.15rem;
  color: var(--teal);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.eyebrow-mark {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1.5px solid rgba(8, 122, 119, 0.5);
  border-radius: 50%;
}

.eyebrow-mark .icon {
  width: 1.15rem;
  height: 1.15rem;
}

h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  line-height: 1.04;
  max-width: 20ch;
}

.title-rule {
  display: block;
  width: 4rem;
  height: 0.22rem;
  margin: 1.6rem 0 1.4rem;
  border-radius: 999px;
  background: var(--red);
}

.intro {
  max-width: 36rem;
  margin: 0 0 1.7rem;
  color: #3c3838;
  font-size: 1.08rem;
  line-height: 1.56;
}

.reassurance {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.98rem;
  line-height: 1.5;
}

.reassurance-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.1rem;
  height: 2.1rem;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
}

.reassurance-mark .icon {
  width: 1.2rem;
  height: 1.2rem;
  stroke-width: 2.25;
}

.reassurance p {
  margin: 0;
}

.reassurance strong {
  font-weight: 800;
}

/* Hero side panel ------------------------------------------------------ */

.upgrade-note {
  min-width: 0;
  padding: clamp(1.7rem, 2.8vw, 2.6rem);
  border: 1px solid rgba(237, 29, 36, 0.16);
  border-left: 0.45rem solid var(--red);
  border-radius: 0.5rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(232, 246, 234, 0.72)),
    var(--paper);
  box-shadow: var(--shadow);
}

.note-kicker {
  margin: 0 0 0.8rem;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.upgrade-note h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  line-height: 1.1;
}

.upgrade-note > p:not(.note-kicker) {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.note-list {
  display: grid;
  gap: 0.72rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.note-list li {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  font-weight: 700;
}

.note-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal);
}

/* Status panel --------------------------------------------------------- */

.status-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: calc(var(--wrap) - 2rem);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  box-shadow: 0 8px 35px rgba(48, 38, 29, 0.07);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.status-item {
  display: flex;
  gap: 1.2rem;
  min-width: 0;
  padding: 1.75rem 1.9rem;
  border-right: 1px solid var(--line);
}

.status-item:last-child {
  border-right: 0;
}

.status-item > div {
  min-width: 0;
}

.icon-bubble {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 3.6rem;
  height: 3.6rem;
  border: 1px solid #d8d2ca;
  border-radius: 50%;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.6);
}

.icon-bubble.solid {
  border: 0;
  color: #fff;
  background: linear-gradient(150deg, var(--teal), #0d8c69);
}

.status-item h2,
.support-card h2 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-item .zone,
.service p,
.affected ul {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.status-item .time {
  margin: 0.35rem 0 0.1rem;
  color: var(--teal);
  font-size: clamp(1.4rem, 1.9vw, 1.85rem);
  line-height: 1.05;
  font-weight: 800;
}

.affected ul {
  list-style: none;
  padding: 0;
  margin-top: 0.7rem;
}

.affected li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.affected li + li {
  margin-top: 0.28rem;
}

.affected li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--teal);
}

.service p {
  margin-top: 0.7rem;
}

/* Support -------------------------------------------------------------- */

.support-section {
  display: grid;
  grid-template-columns: minmax(16rem, 0.85fr) minmax(26rem, 1.6fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  max-width: calc(var(--wrap) - 2rem);
  margin: 2.5rem auto 0;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(222, 215, 205, 0.72);
}

.team-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.6rem 1.2rem;
  align-items: center;
}

.team-mark {
  display: inline-grid;
  grid-row: span 2;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(150deg, var(--teal), #145f79);
}

.team-mark .icon {
  width: 1.9rem;
  height: 1.9rem;
}

.team-note p {
  margin: 0;
  line-height: 1.45;
}

.signature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  color: #53453f;
}

.signature .icon {
  width: 1rem;
  height: 1rem;
  color: var(--red);
}

.support-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.2rem;
  padding-left: clamp(1rem, 4vw, 4rem);
  border-left: 1px solid var(--line);
}

.whatsapp-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  color: var(--whatsapp);
  background: var(--soft-green);
}

.whatsapp-icon .icon {
  width: 2rem;
  height: 2rem;
}

.support-copy {
  min-width: 0;
}

.support-card .label {
  margin: 0 0 0.2rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.support-card h2 {
  font-size: 1.15rem;
  text-transform: none;
  letter-spacing: 0;
}

.support-card p:not(.label) {
  margin: 0.25rem 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #30bf4d, var(--whatsapp));
  box-shadow: 0 12px 24px rgba(31, 159, 59, 0.22);
  font-weight: 800;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.whatsapp-button .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.whatsapp-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 28px rgba(31, 159, 59, 0.3);
}

.whatsapp-button:focus-visible {
  outline: 3px solid rgba(8, 122, 119, 0.45);
  outline-offset: 4px;
}

.contact-row {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 2rem;
  margin: 0.4rem 0 0;
  padding-left: clamp(1rem, 4vw, 4rem);
  color: var(--muted);
  list-style: none;
  font-size: 0.88rem;
}

.contact-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-row .icon {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--teal);
}

.contact-row a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.contact-row a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 0.2rem;
}

/* Footer --------------------------------------------------------------- */

.site-footer {
  max-width: calc(var(--wrap) - 2rem);
  margin: 0 auto;
  padding: 1.6rem 0 3rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

/* Responsive ----------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }

  .hero-copy {
    max-width: 48rem;
  }

  .status-panel,
  .support-section,
  .site-footer {
    max-width: calc(100% - 2.5rem);
  }

  .status-panel {
    grid-template-columns: 1fr;
  }

  .status-item {
    border-right: 0;
  }

  .status-item:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .support-section {
    grid-template-columns: 1fr;
  }

  .support-card {
    padding-left: 0;
    border-left: 0;
  }

  .contact-row {
    grid-column: auto;
    padding-left: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-top: 1.2rem;
  }

  .hero {
    gap: 1.5rem;
    padding-bottom: 1.5rem;
  }

  h1 {
    font-size: clamp(2.4rem, 10vw, 3.4rem);
  }

  .intro {
    font-size: 1rem;
  }

  .status-item {
    padding: 1.4rem 1.25rem;
    gap: 1rem;
  }

  .icon-bubble {
    width: 3.1rem;
    height: 3.1rem;
  }

  .support-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .whatsapp-button {
    grid-column: 1 / -1;
    width: 100%;
    white-space: normal;
  }

  .contact-row {
    gap: 0.6rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
