@import url('variables.css');

/* ===================== RESET & BASE ===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--fs-base);
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  color: var(--dark-grey);
  line-height: 1.6;
  background-color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--aqua);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--orange);
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--deep-blue);
  line-height: 1.2;
}

h1 { font-size: var(--fs-3xl); font-weight: 700; }
h2 { font-size: var(--fs-2xl); font-weight: 700; }
h3 { font-size: var(--fs-xl); font-weight: 600; }

/* ===================== SKIP LINK ===================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--spacing-sm);
  background: var(--orange);
  color: var(--white);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius);
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  top: var(--spacing-xs);
  color: var(--white);
}

/* ===================== UTILITIES ===================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-2xl) 0;
}

.section--alt {
  background-color: var(--pale-aqua);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='40' viewBox='0 0 200 40'%3E%3Cpath d='M0 20 Q25 10 50 20 T100 20 T150 20 T200 20' fill='none' stroke='%231ABDD5' stroke-opacity='0.06' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-header p {
  margin-top: var(--spacing-xs);
  color: var(--dark-grey);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-base);
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
  border: none;
  text-align: center;
}

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

.btn:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 2px;
}

.btn--primary {
  background-color: var(--orange);
  color: var(--white);
}

.btn--primary:hover {
  background-color: #d96a15;
  color: var(--white);
}

.btn--secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn--secondary:hover {
  background-color: var(--white);
  color: var(--deep-blue);
}

.btn--outline {
  background-color: transparent;
  color: var(--deep-blue);
  border: 2px solid var(--deep-blue);
}

.btn--outline:hover {
  background-color: var(--deep-blue);
  color: var(--white);
}

/* ===================== WAVE SVG BACKGROUNDS ===================== */
.wave-bg {
  position: relative;
}

.wave-bg::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath d='M0 30 Q180 0 360 30 T720 30 T1080 30 T1440 30 V60 H0Z' fill='%23F0F8FF' fill-opacity='0.5'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
  pointer-events: none;
}

/* ===================== NAVIGATION ===================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: var(--deep-blue);
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  padding: 2px;
}

@media (max-width: 767px) {
  .nav__logo img {
    height: 52px;
  }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nav__links a {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--fs-sm);
  padding: var(--spacing-xs) 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--aqua);
  border-bottom-color: var(--aqua);
}

.nav__phone {
  color: var(--white);
  font-weight: 600;
  font-size: var(--fs-sm);
  margin-left: var(--spacing-sm);
  white-space: nowrap;
}

.nav__phone:hover {
  color: var(--aqua);
}

.nav__cta {
  margin-left: var(--spacing-sm);
}

.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
  z-index: 110;
}

.nav__hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--white);
  margin: 5px 0;
  transition: transform var(--transition), opacity var(--transition);
  border-radius: 2px;
}

.nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile nav drawer */
.nav__drawer {
  display: none;
}

@media (max-width: 767px) {
  .nav__links,
  .nav__phone,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: block;
  }

  .nav__drawer {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--deep-blue);
    padding: calc(var(--nav-height) + var(--spacing-lg)) var(--spacing-lg) var(--spacing-lg);
    transition: right var(--transition);
    z-index: 105;
    overflow-y: auto;
  }

  .nav__drawer.open {
    right: 0;
  }

  .nav__drawer a {
    display: block;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: var(--fs-lg);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav__drawer a:hover,
  .nav__drawer a.active {
    color: var(--aqua);
  }

  .nav__drawer .nav__drawer-phone {
    display: block;
    margin-top: var(--spacing-md);
    color: var(--aqua);
    font-weight: 600;
  }

  .nav__drawer .nav__drawer-cta {
    display: inline-block;
    margin-top: var(--spacing-md);
  }

  .nav__overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 104;
  }

  .nav__overlay.open {
    display: block;
  }
}

/* ===================== MAIN CONTENT ===================== */
main {
  margin-top: var(--nav-height);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--deep-blue) 0%, #0d4f8a 50%, var(--aqua) 100%);
  color: var(--white);
  padding: var(--spacing-3xl) 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='200' viewBox='0 0 400 200'%3E%3Cpath d='M0 100 Q50 80 100 100 T200 100 T300 100 T400 100' fill='none' stroke='white' stroke-opacity='0.08' stroke-width='2'/%3E%3Cpath d='M0 120 Q50 100 100 120 T200 120 T300 120 T400 120' fill='none' stroke='white' stroke-opacity='0.05' stroke-width='1.5'/%3E%3Cpath d='M0 80 Q50 60 100 80 T200 80 T300 80 T400 80' fill='none' stroke='white' stroke-opacity='0.05' stroke-width='1.5'/%3E%3C/svg%3E") repeat;
  animation: ripple 8s linear infinite;
  pointer-events: none;
}

@keyframes ripple {
  0% { background-position: 0 0; }
  100% { background-position: 400px 0; }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero__content h1 {
  color: var(--white);
  font-size: var(--fs-4xl);
  margin-bottom: var(--spacing-md);
}

.hero__content p {
  font-size: var(--fs-lg);
  margin-bottom: var(--spacing-lg);
  opacity: 0.95;
}

.hero__buttons {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

/* ===================== SERVICE CARDS GRID ===================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(10, 61, 107, 0.12);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--spacing-sm);
  color: var(--aqua);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  margin-bottom: var(--spacing-xs);
}

.service-card p {
  font-size: var(--fs-sm);
  margin-bottom: var(--spacing-sm);
}

.service-card .btn {
  font-size: var(--fs-sm);
  padding: 0.5rem 1.25rem;
}

/* ===================== WHY CHOOSE US ===================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  text-align: center;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-card {
  padding: var(--spacing-lg);
}

.why-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--spacing-sm);
  color: var(--aqua);
}

.why-card__icon svg {
  width: 100%;
  height: 100%;
}

.why-card h3 {
  margin-bottom: var(--spacing-xs);
}

/* ===================== BEFORE/AFTER TEASER ===================== */
.ba-teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .ba-teaser-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ba-teaser-pair {
  display: flex;
  gap: var(--spacing-sm);
}

.ba-teaser-pair > div {
  flex: 1;
  background-color: #d0d8e0;
  border-radius: var(--border-radius);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dark-grey);
  font-size: var(--fs-lg);
  overflow: hidden;
  position: relative;
}

.ba-teaser-img {
  background-color: transparent;
}

.ba-teaser-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.ba-teaser-label {
  position: absolute;
  top: var(--spacing-xs);
  left: var(--spacing-xs);
  padding: 2px 10px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  font-size: var(--fs-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 4px;
  z-index: 1;
}

/* ===================== CTA BANNER ===================== */
.cta-banner {
  background-color: var(--deep-blue);
  color: var(--white);
  padding: var(--spacing-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='60' viewBox='0 0 400 60'%3E%3Cpath d='M0 30 Q50 15 100 30 T200 30 T300 30 T400 30' fill='none' stroke='white' stroke-opacity='0.06' stroke-width='1.5'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  position: relative;
}

.cta-banner p {
  margin-bottom: var(--spacing-lg);
  font-size: var(--fs-lg);
  opacity: 0.9;
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* ===================== ABOUT PAGE ===================== */
.about-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .about-story {
    grid-template-columns: 1fr 1fr;
  }
}

.about-story__text p {
  line-height: 1.8;
}

.about-story__image {
  background-color: #d0d8e0;
  border-radius: var(--border-radius);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dark-grey);
}

/* Team section */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  text-align: center;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid--owners {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
  }
}

.team-card__role {
  color: var(--aqua);
  font-weight: 600;
  font-size: var(--fs-sm);
  margin-bottom: var(--spacing-xs);
}

.team-card__bio {
  font-size: var(--fs-sm);
  line-height: 1.7;
  text-align: left;
  color: var(--dark-grey);
}

.team-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #d0d8e0;
  margin: 0 auto var(--spacing-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  color: var(--dark-grey);
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  text-align: center;
  padding: var(--spacing-lg);
}

.value-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--spacing-sm);
  color: var(--aqua);
}

.value-card__icon svg {
  width: 100%;
  height: 100%;
}

.value-card h3 {
  margin-bottom: var(--spacing-xs);
}

/* Map */
.map-container {
  margin-top: var(--spacing-lg);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: var(--border-radius);
}

/* ===================== GALLERY PAGE ===================== */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  justify-content: center;
  margin-bottom: var(--spacing-xl);
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--light-border);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--dark-grey);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--aqua);
  color: var(--white);
  border-color: var(--aqua);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--light-border);
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

.ba-slider__before,
.ba-slider__after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-xl);
  color: var(--dark-grey);
}

.ba-slider__before img,
.ba-slider__after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-slider__before {
  background-color: #c0c8d0;
  z-index: 1;
}

.ba-slider__after {
  background-color: #a8d8ea;
  z-index: 0;
}

.ba-slider__before {
  clip-path: inset(0 50% 0 0);
}

.ba-slider__handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--white);
  z-index: 2;
  transform: translateX(-50%);
  cursor: ew-resize;
}

.ba-slider__handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--aqua);
}

.ba-slider__label {
  position: absolute;
  top: var(--spacing-xs);
  padding: 2px 10px;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  font-size: var(--fs-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 4px;
  z-index: 3;
}

.ba-slider__label--before {
  left: var(--spacing-xs);
}

.ba-slider__label--after {
  right: var(--spacing-xs);
}

.gallery-item__caption {
  padding: var(--spacing-sm);
  font-size: var(--fs-sm);
  color: var(--dark-grey);
  text-align: center;
  background: var(--white);
}

/* ===================== CONTACT PAGE ===================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  font-size: var(--fs-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--light-border);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(26, 189, 213, 0.2);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #d32f2f;
}

.form-error {
  color: #d32f2f;
  font-size: var(--fs-sm);
  margin-top: 4px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-success {
  background-color: #e8f5e9;
  color: #2e7d32;
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 600;
  display: none;
}

.form-success.visible {
  display: block;
}

/* Contact sidebar */
.contact-sidebar {
  background: var(--pale-aqua);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
}

.contact-sidebar h3 {
  margin-bottom: var(--spacing-md);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.contact-detail__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--aqua);
}

.contact-detail__icon svg {
  width: 100%;
  height: 100%;
}

.contact-detail a {
  font-weight: 600;
}

/* ===================== FOOTER ===================== */
.footer {
  background-color: var(--deep-blue);
  color: var(--white);
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40'%3E%3Cpath d='M0 20 Q180 5 360 20 T720 20 T1080 20 T1440 20' fill='none' stroke='white' stroke-opacity='0.08' stroke-width='1.5'/%3E%3Cpath d='M0 30 Q180 15 360 30 T720 30 T1080 30 T1440 30' fill='none' stroke='white' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E") repeat-x;
  pointer-events: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer h4 {
  color: var(--aqua);
  margin-bottom: var(--spacing-sm);
  font-size: var(--fs-lg);
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
}

.footer a:hover {
  color: var(--aqua);
}

.footer__links li {
  margin-bottom: var(--spacing-xs);
}

.footer__social {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition), border-color var(--transition);
}

.footer__social a:hover {
  background-color: var(--aqua);
  border-color: var(--aqua);
}

.footer__social svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--spacing-md);
  text-align: center;
  font-size: var(--fs-sm);
  opacity: 0.8;
}

/* ===================== PAGE HEADER (inner pages) ===================== */
.page-header {
  background: linear-gradient(135deg, var(--deep-blue) 0%, #0d4f8a 100%);
  color: var(--white);
  padding: var(--spacing-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='60' viewBox='0 0 400 60'%3E%3Cpath d='M0 30 Q50 15 100 30 T200 30 T300 30 T400 30' fill='none' stroke='white' stroke-opacity='0.06' stroke-width='1.5'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.page-header h1 {
  color: var(--white);
  position: relative;
}

.page-header p {
  position: relative;
  max-width: 700px;
  margin: var(--spacing-sm) auto 0;
  opacity: 0.9;
}

/* ===================== RESPONSIVE TYPOGRAPHY ===================== */
@media (max-width: 767px) {
  h1 { font-size: var(--fs-2xl); }
  h2 { font-size: var(--fs-xl); }

  .hero__content h1 {
    font-size: var(--fs-2xl);
  }

  .hero {
    min-height: 50vh;
    padding: var(--spacing-2xl) 0;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  h1 { font-size: var(--fs-2xl); }

  .hero__content h1 {
    font-size: var(--fs-3xl);
  }
}

/* ===================== MOBILE CONVERSION OPTIMISATIONS ===================== */

/* Sticky mobile CTA bar — always visible at bottom of screen */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 767px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--deep-blue);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
    padding: 0;
  }

  .mobile-cta-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--fs-base);
    text-align: center;
    text-decoration: none;
    min-height: 56px;
  }

  .mobile-cta-bar__call {
    background: var(--aqua);
    color: var(--white);
  }

  .mobile-cta-bar__call:hover {
    color: var(--white);
    background: #15a8bf;
  }

  .mobile-cta-bar__quote {
    background: var(--orange);
    color: var(--white);
  }

  .mobile-cta-bar__quote:hover {
    color: var(--white);
    background: #d96a15;
  }

  .mobile-cta-bar svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  /* Add bottom padding to body so content isn't hidden behind sticky bar */
  body {
    padding-bottom: 56px;
  }

  /* Footer gets extra bottom padding above the sticky bar */
  .footer {
    padding-bottom: calc(var(--spacing-lg) + 56px);
  }

  /* Bigger touch targets for all buttons on mobile */
  .btn {
    padding: 1rem 2rem;
    font-size: var(--fs-base);
    min-height: 48px;
  }

  /* Full-width CTAs on mobile for easy tapping */
  .hero__buttons {
    flex-direction: column;
  }

  .hero__buttons .btn {
    width: 100%;
    text-align: center;
  }

  /* Larger form inputs for touch */
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 1rem;
    font-size: var(--fs-base);
    min-height: 48px;
  }

  /* Service cards: full-width CTA buttons */
  .service-card .btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    min-height: 48px;
  }

  /* Filter buttons: bigger touch targets */
  .filter-btn {
    padding: 0.75rem 1.25rem;
    min-height: 44px;
  }

  /* Contact sidebar: make phone/email links prominent */
  .contact-detail a {
    font-size: var(--fs-lg);
  }
}
