@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&display=swap');

/* ── BRAND TOKENS (from logo) ─────────────────────────── */
:root {
  --navy:        #1B2B4B;
  --navy-mid:    #243660;
  --teal:        #2EB8B0;
  --teal-light:  #5DCFCA;
  --teal-pale:   #E8F8F7;
  --teal-ultra:  #F0FAFA;
  --green:       #7BC244;
  --green-light: #A3D96A;
  --green-pale:  #F2FAE8;
  --white:       #FFFFFF;
  --off-white:   #F7FAFA;
  --grey-light:  #E4EEEE;
  --grey-mid:    #8AADAC;
  --text:        #1B2B4B;
  --text-light:  #4A6B7A;

  /* wave accent */
  --wave-teal:   rgba(46,184,176,0.12);
  --wave-green:  rgba(123,194,68,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { width: 100%; overflow-x: hidden; min-width: 0; }
body {
  width: 100%;
  min-width: 0;
  font-family: 'Sora', sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.65;
}
* { min-width: 0; }

h1, h2, h3, h4 {
  font-family: 'Sora', sans-serif;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

ul { list-style: disc outside; margin-left: 1.25rem; padding-left: 0; }
ol { list-style: decimal outside; margin-left: 1.25rem; padding-left: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── NAVIGATION ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-light);
  padding: 0 4%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(27,43,75,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  background: white;
  border-radius: 8px;
  padding: 4px;
}

.nav-logo-text {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.nav-logo-text span:first-child { color: var(--teal); }
.nav-logo-text span:last-child  { color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links > li { position: relative; }

.footer-col ul,
.partner-card ul,
.dropdown,
.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 0.4rem 0.8rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-light);
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-links a:hover  { color: var(--teal); background: var(--teal-pale); }
.nav-links a:focus-visible,
.nav-mobile-toggle:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(46,184,176,0.35);
  outline-offset: 3px;
}
.nav-links a.active { color: var(--teal); }

/* Dropdown */
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.dropdown-open .dropdown { display: block; }

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  background: white;
  border: 1px solid var(--grey-light);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(27,43,75,0.12);
  min-width: 180px;
  padding: 0.4rem;
  z-index: 300;
}

.dropdown a {
  display: block;
  padding: 0.55rem 0.9rem;
  font-size: 0.82rem;
  color: var(--text-light);
  border-radius: 6px;
}

.dropdown a:hover { background: var(--teal-pale); color: var(--teal); }

.nav-cta {
  background: var(--teal) !important;
  color: white !important;
  padding: 0.55rem 1.3rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--teal-light) !important; }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--navy);
  padding: 0.3rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s;
  border: none;
}

.btn-teal    { background: var(--teal); color: white; }
.btn-teal:hover { background: var(--teal-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(46,184,176,0.3); }

.btn-navy    { background: var(--navy); color: white; }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); }

.btn-green   { background: var(--green); color: white; }
.btn-green:hover { background: var(--green-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(123,194,68,0.3); }

.btn-outline-teal { border: 2px solid var(--teal); color: var(--teal); background: transparent; }
.btn-outline-teal:hover { background: var(--teal-pale); }

.btn-outline-white { border: 2px solid rgba(255,255,255,0.5); color: white; background: transparent; }
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.1); }

.btn-white { background: white; color: var(--teal); font-weight: 700; }
.btn-white:hover { background: var(--teal-pale); }

 .form-errors {
  border: 1px solid rgba(235,177,29,0.35);
  background: rgba(255,241,214,0.95);
  color: #5a460b;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
 }
 .form-errors ul { margin: 0.75rem 0 0 1.05rem; }
 .form-errors li { margin-bottom: 0.45rem; }
/* ── LAYOUT UTILITIES ────────────────────────────────────── */
section { padding: 5rem 4%; }
.container { max-width: 1280px; width: 100%; margin: 0 auto; }

.page-hero {
  padding: 8rem 5% 3.5rem;
  background: linear-gradient(160deg, var(--teal-ultra) 0%, var(--white) 55%, var(--green-pale) 100%);
  border-bottom: 1px solid rgba(46,184,176,0.15);
}

.page-hero h1 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.9rem;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.75;
}

.page-hero .container {
  max-width: 1180px;
}

.page-hero .section-sub {
  max-width: 700px;
}

.page-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.page-metrics {
  display: none;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.page-metric {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(46,184,176,0.18);
  border-radius: 999px;
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 600;
}

.page-metric::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.page-section {
  padding: 5rem 5%;
}

.page-section.alt {
  background: var(--off-white);
}

.page-section.tight {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.centered-intro {
  max-width: 680px;
  margin: 0 auto 2.8rem;
  text-align: center;
}

.centered-intro .section-label {
  justify-content: center;
}

.feature-grid,
.price-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.feature-grid.two,
.price-grid.two,
.blog-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.price-card,
.blog-card,
.contact-method,
.legal-article,
.legal-aside,
.article-card {
  background: white;
  border: 1.5px solid var(--grey-light);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(27,43,75,0.04);
}

.feature-card,
.blog-card,
.contact-method {
  padding: 1.7rem;
  position: relative;
  overflow: hidden;
}

.feature-card::before,
.blog-card::before,
.contact-method::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--green));
}

.feature-card h2,
.feature-card h3,
.price-card h2,
.price-card h3,
.blog-card h2,
.blog-card h3,
.contact-method h2,
.contact-method h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.feature-card p,
.price-card p,
.blog-card p,
.contact-method p {
  color: var(--text-light);
  font-size: 0.86rem;
  line-height: 1.7;
}

.feature-card p + p,
.price-card p + p,
.blog-card p + p,
.contact-method p + p {
  margin-top: 0.8rem;
}

.feature-card.highlight {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-color: transparent;
}

.feature-card.highlight h2,
.feature-card.highlight h3 {
  color: white;
}

.feature-card.highlight p,
.feature-card.highlight li {
  color: rgba(255,255,255,0.7);
}

.eyebrow {
  display: block;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.feature-card.highlight .eyebrow {
  color: var(--teal-light);
}

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.content-panel {
  background: white;
  border: 1.5px solid var(--grey-light);
  border-radius: 16px;
  padding: 2rem;
}

.content-panel h2,
.content-panel h3 {
  color: var(--navy);
  margin-bottom: 0.8rem;
}

.content-panel p {
  color: var(--text-light);
  line-height: 1.75;
}

.detail-list,
.check-list {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
}

.detail-list li,
.check-list li {
  position: relative;
  padding-left: 1.55rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.65;
}

.detail-list li::before,
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.check-list li::before {
  background: var(--green);
}

.price-card {
  padding: 1.8rem;
  position: relative;
}

.price-card.featured {
  border-color: rgba(46,184,176,0.45);
  box-shadow: 0 12px 36px rgba(46,184,176,0.12);
}

.price-card .price-amount {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  color: var(--teal);
  line-height: 1;
  margin: 0.8rem 0 0.4rem;
}

.price-card .price-amount small {
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem;
  color: var(--grey-mid);
  font-weight: 400;
}

.note-box {
  border-left: 3px solid var(--green);
  background: var(--green-pale);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  color: #3a6f20;
  font-size: 0.88rem;
  line-height: 1.65;
}

.contact-grid,
.booking-layout,
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.contact-method a,
.article-card a,
.legal-article a,
.content-panel a,
.feature-card a,
.blog-card a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.4rem;
}

.article-card h2,
.legal-article h2 {
  color: var(--navy);
  font-size: 1.35rem;
  margin: 2rem 0 0.7rem;
}

.article-card h2:first-child,
.legal-article h2:first-child {
  margin-top: 0;
}

.article-card p,
.legal-article p,
.legal-article li {
  color: var(--text-light);
  line-height: 1.8;
}

.article-card p + p,
.legal-article p + p {
  margin-top: 1rem;
}

.article-meta {
  display: inline-flex;
  margin-bottom: 1.4rem;
  padding: 0.35rem 0.7rem;
  background: var(--teal-pale);
  color: var(--teal);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.legal-layout {
  grid-template-columns: minmax(0, 760px) minmax(260px, 1fr);
}

.legal-article {
  padding: 2.2rem;
}

.legal-aside {
  padding: 1.4rem;
  position: sticky;
  top: 92px;
}

.legal-aside h2,
.legal-aside h3 {
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.legal-aside p,
.legal-aside li {
  color: var(--text-light);
  font-size: 0.82rem;
  line-height: 1.65;
}

.legal-aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.legal-aside li {
  border-top: 1px solid var(--grey-light);
  padding: 0.7rem 0;
}

.cta-strip {
  margin: 0 5% 5rem;
  border-radius: 20px;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  color: white;
  text-align: center;
  overflow: hidden;
}

.cta-strip h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 0.8rem;
}

.cta-strip p {
  max-width: 560px;
  margin: 0 auto 1.5rem;
  color: rgba(255,255,255,0.72);
}

.cta-strip .cta-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Wave divider */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg { display: block; width: 100%; }

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: white;
  border: 1.5px solid var(--grey-light);
  border-radius: 14px;
  padding: 1.8rem;
  transition: all 0.25s;
}

.card:hover {
  border-color: var(--teal-light);
  box-shadow: 0 8px 30px rgba(46,184,176,0.12);
  transform: translateY(-3px);
}

/* ── FORM ELEMENTS ───────────────────────────────────────── */
.form-group { margin-bottom: 1.1rem; }

.form-group label,
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--grey-light);
  border-radius: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  background: var(--off-white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: white;
  box-shadow: 0 0 0 3px rgba(46,184,176,0.1);
}

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

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

.survey-form {
  background: white;
  border: 1.5px solid var(--grey-light);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 34px rgba(27,43,75,0.06);
}

.survey-form h2 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-help {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.bot-field {
  display: none;
}

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

.calendar-field {
  border: 1.5px solid var(--grey-light);
  border-radius: 12px;
  padding: 1rem;
  background: var(--off-white);
}

.calendar-field legend {
  padding: 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
}

.calendar-field .form-help {
  margin-bottom: 0.75rem;
}

.autoaddress-group {
  border: 1px solid rgba(46,184,176,0.22);
  border-radius: 10px;
  padding: 1rem;
  background: var(--teal-ultra);
}

.autoaddress-group .form-help {
  margin-bottom: 0.75rem;
}

.autoaddress-control {
  margin-top: 0.65rem;
}

.autoaddress-control input,
.autoaddress-control button {
  font-family: 'Sora', sans-serif;
}

.selected-address-card {
  margin-top: 0.8rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(46,184,176,0.28);
  border-radius: 8px;
  background: white;
}

.selected-address-card[hidden] {
  display: none;
}

.selected-address-card span {
  display: block;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.selected-address-card strong {
  display: block;
  color: var(--navy);
  font-size: 0.86rem;
  line-height: 1.45;
}

.address-error {
  color: #b91c1c;
  font-size: 0.78rem;
  margin-top: 0.5rem;
}

.address-error[hidden] {
  display: none;
}

.address-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: stretch;
}

.address-lookup-btn {
  padding: 0.75rem 1rem;
  white-space: nowrap;
}

.postcode-feedback {
  min-height: 1.2rem;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-light);
}

.postcode-feedback.valid {
  color: #3a7a1a;
}

.postcode-feedback.invalid {
  color: #b91c1c;
}

.calendar-wrapper {
  margin-top: 0.2rem;
  max-width: 410px;
  border: 1px solid rgba(46,184,176,0.18);
  border-radius: 10px;
  padding: 0.85rem;
  background: white;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.calendar-header button {
  background: white;
  border: 1.5px solid var(--grey-light);
  padding: 0.42rem 0.65rem;
  border-radius: 7px;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
  font-size: 0.76rem;
  color: var(--navy);
  font-weight: 700;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.calendar-header button:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-pale);
}

.calendar-month {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.22rem;
  margin-bottom: 0.75rem;
}

.calendar-dow {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--grey-mid);
  text-align: center;
  padding: 0.28rem 0;
}

.calendar-day {
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--grey-light);
  border-radius: 6px;
  background: white;
  color: var(--text-light);
  font-family: 'Sora', sans-serif;
  font-size: 0.74rem;
  text-align: center;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  cursor: pointer;
  padding: 0;
}

.calendar-day:hover {
  border-color: var(--teal);
  background: var(--teal-pale);
}

.calendar-day:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.calendar-day.other-month {
  color: var(--grey-light);
  cursor: default;
}

.calendar-day.disabled {
  color: var(--grey-light);
  cursor: not-allowed;
  background: var(--off-white);
  border-color: var(--grey-light);
}

.calendar-day.selected {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  font-weight: 700;
}

.selected-dates {
  background: var(--teal-pale);
  border: 1px solid rgba(46,184,176,0.2);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
}

.selected-dates[hidden] {
  display: none;
}

.selected-dates .label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.date-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.date-tag {
  background: white;
  border: 1px solid var(--teal);
  color: var(--teal);
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
}

.date-tag-remove {
  cursor: pointer;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--navy);
  font-size: 0.9rem;
  line-height: 1;
  padding: 0;
}

.form-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.form-note {
  color: var(--text-light);
  font-size: 0.8rem;
  line-height: 1.55;
}

.booking-side {
  display: grid;
  gap: 1rem;
}

.booking-side .content-panel {
  padding: 1.6rem;
}

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
}

.footer-top {
  padding: 3.5rem 4% 2.5rem;
  display: grid;
  grid-template-columns: 1.8fr repeat(4, 1fr);
  gap: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.footer-brand-logo img { height: 38px; filter: brightness(1.1); background: white; border-radius: 6px; padding: 3px; }

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 1.2rem;
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
}

.footer-social-btn {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  color: var(--teal);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.footer-social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-social-btn[href*="linkedin"] {
  background: #0077B5;
  color: white;
}

.footer-social-btn[href*="linkedin"]:hover {
  background: #005885;
  box-shadow: 0 4px 12px rgba(0,119,181,0.3);
}

.footer-social-btn[href*="instagram"] {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
  color: white;
}

.footer-social-btn[href*="instagram"]:hover {
  box-shadow: 0 4px 12px rgba(238,42,123,0.4);
}

.footer-social-btn[href*="mailto"] {
  background: #EA4335;
  color: white;
}

.footer-social-btn[href*="mailto"]:hover {
  background: #C5221F;
  box-shadow: 0 4px 12px rgba(234,67,53,0.3);
}

.footer-social-btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.footer-social-btn:hover {
  transform: translateY(-2px);
}

.footer-bottom a {
  color: var(--teal-light);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-bottom a:hover {
  color: white;
}

.footer-col h4 {
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul a { font-size: 0.87rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--teal-light); }

.footer-compliance {
  padding: 1.2rem 4%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.58);
}

.footer-compliance strong {
  color: rgba(255,255,255,0.9);
}

.footer-compliance a {
  color: var(--teal-light);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-compliance a:hover {
  color: white;
}

.footer-bottom {
  padding: 1.2rem 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

.cookie-consent {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 500;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem;
  background: white;
  color: var(--text);
  border: 1px solid var(--grey-light);
  border-radius: 12px;
  box-shadow: 0 18px 60px rgba(27,43,75,0.22);
  pointer-events: none;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent-text strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.cookie-consent-text p {
  font-size: 0.84rem;
  color: var(--text-light);
  line-height: 1.55;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-consent-actions {
  pointer-events: auto;
}

.cookie-consent .btn {
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
}

.cookie-link {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-compliance { grid-template-columns: 1fr; }
}

/* ── ANIMATIONS ──────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-up-d1 { transition-delay: 0.1s; }
.fade-up-d2 { transition-delay: 0.2s; }
.fade-up-d3 { transition-delay: 0.3s; }
.fade-up-d4 { transition-delay: 0.4s; }

/* ── MOBILE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 0 4%; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: white;
    border-bottom: 1px solid var(--grey-light);
    flex-direction: column;
    padding: 1rem 4%;
    gap: 0.2rem;
    box-shadow: 0 8px 20px rgba(27,43,75,0.1);
    align-items: stretch;
  }

  .nav-links.open { display: flex; }
  .nav-mobile-toggle { display: inline-flex; }

  /* On mobile, reveal dropdown links inline as a simple sub-list */
  .dropdown {
    display: block !important;
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--teal-pale);
    border-radius: 0;
    padding: 0.2rem 0 0.2rem 0.75rem;
    margin: 0.1rem 0 0.2rem;
    min-width: unset;
    background: transparent;
  }

  .dropdown a {
    font-size: 0.82rem;
    color: var(--text-light);
    padding: 0.35rem 0.5rem;
  }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 5% 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.6rem; text-align: center; }
  .calendar-row {
    grid-template-columns: 1fr;
  }
  .address-search {
    grid-template-columns: 1fr;
  }
  .calendar-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.4rem;
  }
  .calendar-header button {
    padding-inline: 0.45rem;
  }
  .survey-form {
    padding: 1.5rem;
  }
  .feature-grid,
  .feature-grid.two,
  .price-grid,
  .price-grid.two,
  .blog-grid,
  .blog-grid.two,
  .content-split,
  .contact-grid,
  .booking-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-aside {
    position: static;
  }
  .page-section {
    padding: 3.5rem 5%;
  }
  .article-card,
  .legal-article,
  .content-panel {
    padding: 1.6rem;
  }
  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
  }
  .cookie-consent-actions { justify-content: stretch; }
  .cookie-consent-actions .btn { flex: 1 1 140px; justify-content: center; }

  section { padding: 3rem 5%; }
  .form-row { grid-template-columns: 1fr; }

  /* Stack any inline grid columns defined in page styles */
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  html, body { overflow-x: hidden; min-width: 0; }
  body > * { min-width: 0; }
}

/* Success animation used in form success states */
@keyframes pop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ── PHONE-SPECIFIC (≤480px) ─────────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Nav */
  .nav-logo-text { font-size: 1rem; }
  .nav-links a { font-size: 0.9rem; padding: 0.6rem 0.5rem; }
  .nav-cta { text-align: center; margin-top: 0.4rem; }

  /* Typography scale down */
  h1 { line-height: 1.2; }
  .section-title { font-size: 1.5rem; }
  .section-sub { font-size: 0.9rem; }

  /* Section padding tighter */
  section { padding: 2.5rem 4%; }

  /* Grids  single column */
  .grid-2, .grid-3,
  .steps-row,
  .clients-grid,
  .cert-grid,
  .partner-grid,
  .estimates-grid,
  .services-grid { grid-template-columns: 1fr !important; }

  /* Cards */
  .card { padding: 1.3rem; }

  /* Buttons full-width on phones */
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Hero trust items wrap to 2-col */
  .hero-trust { gap: 0.8rem; }

  /* Footer */
  .footer-top { padding: 2rem 4% 1.5rem; }
  .footer-bottom { font-size: 0.72rem; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 1rem; } /* prevents iOS zoom on focus */

  /* Buttons in forms */
  .submit-btn,
  .request-btn,
  .book-btn { font-size: 0.9rem; padding: 0.9rem; }

  /* Awaab strip */
  .awaab-strip { flex-direction: column; gap: 0.8rem; padding: 1.2rem 4%; }
  .awaab-link { margin-left: 0; width: 100%; text-align: center; }

  /* How strip on booking */
  .how-strip { grid-template-columns: 1fr 1fr !important; }

  /* Pricing table  -  hide description col on phones */
  .price-table td:nth-child(2) { display: none; }
  .price-table th:nth-child(2) { display: none; }

  /* Blog grid */
  .blog-grid { grid-template-columns: 1fr !important; }

  /* Two-col layouts */
  .two-col,
  .contact-layout,
  .biz-layout,
  .booking-layout,
  .why-grid,
  .awaab-deep-inner { grid-template-columns: 1fr !important; gap: 1.5rem !important; }

  /* Article */
  .article-layout { grid-template-columns: 1fr !important; }

  /* Benefits strip */
  .benefits-inner { grid-template-columns: 1fr 1fr !important; }

  /* Success cards */
  .success-card { padding: 2rem 1.5rem; }

  /* Page heroes */
  .page-hero { padding: 5.5rem 4% 2.5rem; }
  .page-hero h1 { font-size: 1.6rem; }
  .page-actions .btn { width: 100%; justify-content: center; }
  .page-metrics { gap: 0.5rem; }
  .page-metric { width: 100%; justify-content: center; }
  .feature-card,
  .price-card,
  .blog-card,
  .contact-method {
    padding: 1.3rem;
  }
  .article-card,
  .legal-article,
  .content-panel {
    padding: 1.25rem;
  }
  .cta-strip {
    margin: 0 4% 3rem;
    padding: 2rem 1.2rem;
    border-radius: 14px;
  }

  /* CTA block */
  .cta-block { padding: 2rem 1.2rem; margin: 0 2% 2.5rem; border-radius: 14px; }
  .cta-block h2 { font-size: 1.4rem; }
}

/* ── SMALL PHONES (≤360px) ───────────────────────────────────────────────── */
@media (max-width: 360px) {
  section { padding: 2rem 3.5%; }
  .page-hero { padding: 5rem 3.5% 2rem; }
  .page-hero h1 { font-size: 1.4rem; }
  .how-strip { grid-template-columns: 1fr !important; }
  .benefits-inner { grid-template-columns: 1fr !important; }
}
