/*
Theme Name: Paulton Dental
Theme URI: https://paultondental.co.uk
Author: Paulton Dental
Author URI: https://paultondental.co.uk
Description: Custom WordPress theme for Paulton Dental & Implant Centre — consultation-led dentistry in Somerset.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: paulton-dental
Tags: dental, healthcare, professional
*/

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  --color-bark: #17150e;
  --color-paper-white: #ffffff;
  --color-bone-mist: #f0f7f6;
  --color-ash: #e2e2e2;
  --color-ink: #000000;
  --color-slate-mute: #333333;
  --color-charcoal: #0e1011;
  --color-chartreuse-pop: #cccc25;
  --color-teal: #0e8479;
  --color-teal-deep: #0a6a61;
  --color-periwinkle-wash: #9fa6ff;
  --color-moss: #6c8853;
  --color-slate-blue: #6883a1;
  --color-sage: #9ac192;

  --radius-card: 24px;
  --radius-feature: 16px;
  --radius-badge: 8px;
  --radius-nav-button: 40px;
  --radius-pill: 9999px;

  --font-grotesk: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-classic: 'Playfair Display', ui-serif, Georgia, serif;
}

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

html {
  background-color: var(--color-bone-mist);
  color: var(--color-bark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-grotesk);
  font-size: 16px;
  line-height: 1.4;
  background-color: var(--color-bone-mist);
  color: var(--color-bark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-grotesk);
  color: var(--color-bark);
  font-weight: 400;
}

::selection {
  background: var(--color-chartreuse-pop);
  color: var(--color-bark);
}

table {
  border-collapse: collapse;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */
.container-page {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .container-page { padding-inline: 1.5rem; }
}
@media (min-width: 1024px) {
  .container-page { padding-inline: 2rem; }
}

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

/* =========================================================
   TYPOGRAPHY UTILITIES
   ========================================================= */
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.071em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-bark);
}

.text-slate-mute { color: var(--color-slate-mute); }
.text-bark { color: var(--color-bark); }
.text-paper-white { color: var(--color-paper-white); }
.text-teal { color: var(--color-teal); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.056em;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, filter 150ms ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-family: var(--font-grotesk);
  line-height: 1;
}

.btn-dark {
  background: var(--color-bark);
  color: var(--color-paper-white);
}
.btn-dark:hover {
  background: var(--color-charcoal);
  color: var(--color-paper-white);
}

.btn-chartreuse {
  background: var(--color-chartreuse-pop);
  color: var(--color-bark);
}
.btn-chartreuse:hover {
  filter: brightness(0.97);
}

.btn-teal {
  background: var(--color-teal);
  color: var(--color-paper-white);
}
.btn-teal:hover {
  background: var(--color-teal-deep);
  color: var(--color-paper-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-bark);
  border: 1px solid var(--color-bark);
}
.btn-outline:hover {
  background: var(--color-bark);
  color: var(--color-paper-white);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-paper-white);
  border: 1px solid var(--color-paper-white);
}
.btn-outline-white:hover {
  background: var(--color-paper-white);
  color: var(--color-bark);
}

/* =========================================================
   GRADIENT WASHES
   ========================================================= */
.wash-periwinkle {
  background-image: linear-gradient(rgb(159, 166, 255), rgb(179, 186, 232));
}
.wash-moss {
  background-image: linear-gradient(rgb(108, 136, 83), rgb(153, 171, 145));
}
.wash-slate-blue {
  background-image: linear-gradient(rgb(104, 131, 161), rgb(151, 169, 185));
}
.wash-sage {
  background-image: linear-gradient(rgb(154, 193, 150), rgb(174, 199, 176));
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marquee-reverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.marquee-track {
  animation: marquee 50s linear infinite;
  width: max-content;
}
.marquee-track-reverse {
  animation: marquee-reverse 60s linear infinite;
  width: max-content;
}
.marquee-track:hover,
.marquee-track-reverse:hover {
  animation-play-state: paused;
}

@keyframes cta-spotlight {
  0%   { background-position: 30% 50%; }
  50%  { background-position: 70% 40%; }
  100% { background-position: 30% 50%; }
}
.cta-spotlight {
  background-image: radial-gradient(600px 320px at 50% 50%, rgba(14,132,121,0.22) 0%, rgba(14,132,121,0) 70%);
  background-repeat: no-repeat;
  animation: cta-spotlight 18s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(14,132,121,0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(14,132,121,0); }
  100% { box-shadow: 0 0 0 0 rgba(14,132,121,0); }
}
.cta-pulse {
  animation: cta-pulse 2.4s ease-in-out infinite;
}

/* Fade-in reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   HEADER
   ========================================================= */
#site-header {
  background-color: var(--color-bone-mist);
  border-bottom: 1px solid var(--color-ash);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: transform 0.3s ease;
}
#site-header.header-hidden {
  transform: translateY(-100%);
}

.site-header-inner {
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: 1rem;
}
@media (min-width: 640px) { .site-header-inner { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .site-header-inner { padding-inline: 100px; } }

.site-logo img {
  height: 40px;
  width: auto;
}

/* PRIMARY NAV */
.primary-nav {
  display: none;
  align-items: center;
  gap: 32px;
}
@media (min-width: 768px) {
  .primary-nav { display: flex; }
}

.nav-link {
  font-size: 13px;
  letter-spacing: 0.071em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-bark);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-bark);
  transition: width 150ms ease;
}
.nav-link:hover::after,
.nav-link.current-page-ancestor::after,
.nav-link.current-menu-item::after { width: 100%; }

/* DROPDOWN */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > .nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown > .nav-link svg {
  transition: transform 200ms ease;
}
.nav-dropdown:hover > .nav-link svg,
.nav-dropdown:focus-within > .nav-link svg {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  min-width: 220px;
  background: var(--color-paper-white);
  border: 1px solid var(--color-ash);
  border-radius: 16px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 200ms ease, visibility 200ms ease, transform 200ms ease;
  box-shadow: 0 8px 32px rgba(23,21,14,0.12);
  z-index: 50;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--color-bark);
  border-radius: 10px;
  transition: background 150ms ease;
}
.dropdown-menu a:hover {
  background: var(--color-bone-mist);
}

/* BOOK BUTTON */
.header-book-btn {
  display: none;
}
@media (min-width: 768px) {
  .header-book-btn { display: block; }
}

/* MOBILE NAV TOGGLE */
.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--color-bark);
}
@media (min-width: 768px) {
  .mobile-nav-toggle { display: none; }
}

/* MOBILE NAV OVERLAY */
#mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--color-bone-mist);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 48px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
#mobile-nav.is-open {
  transform: translateX(0);
}
.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-bark);
}
.mobile-nav-links {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-nav-links a {
  display: block;
  padding: 16px 0;
  font-size: 22px;
  font-weight: 400;
  color: var(--color-bark);
  border-bottom: 1px solid var(--color-ash);
  letter-spacing: -0.33px;
}
.mobile-nav-links a:last-child {
  border-bottom: none;
}
.mobile-nav-links .mobile-nav-sub {
  font-size: 16px;
  padding: 10px 0 10px 16px;
  border-bottom: none;
  color: var(--color-slate-mute);
}
.mobile-nav-book {
  margin-top: 32px;
}

/* =========================================================
   FOOTER
   ========================================================= */
#site-footer {
  margin-top: 96px;
  background: var(--color-bark);
  color: var(--color-paper-white);
}
.site-footer-inner {
  padding-block: 64px;
}
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
  }
}
.footer-logo img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-body {
  margin-top: 48px;
  display: grid;
  gap: 48px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-body {
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 32px;
  }
}
.footer-brand-desc {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
  max-width: 320px;
}
.footer-col-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.14px;
  color: var(--color-paper-white);
  margin-bottom: 16px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  transition: color 150ms ease;
}
.footer-col ul a:hover {
  color: var(--color-paper-white);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-bottom {
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
  background-color: var(--color-bone-mist);
  padding: 20px;
}
.hero-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  min-height: 300px;
  aspect-ratio: 16 / 9;
  max-height: calc(100dvh - 104px);
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23,21,14,0.72) 0%, rgba(23,21,14,0.35) 45%, transparent 70%);
}
.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
}
@media (min-width: 768px) { .hero-content { padding: 48px; } }
@media (min-width: 1024px) { .hero-content { padding: 64px; } }
.hero-content .max-w-3xl { max-width: 768px; }
.hero-title {
  color: var(--color-paper-white);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -2.24px;
  font-weight: 400;
}
.hero-desc {
  margin-top: 20px;
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.18px;
  max-width: 680px;
}
.hero-buttons {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* =========================================================
   PAGE HERO (interior pages)
   ========================================================= */
.page-hero {
  background-color: var(--color-bone-mist);
  padding-top: 80px;
  padding-bottom: 64px;
}
@media (min-width: 768px) {
  .page-hero { padding-top: 112px; padding-bottom: 80px; }
}
.page-hero-grid {
  margin-top: 24px;
  display: grid;
  gap: 40px;
}
@media (min-width: 768px) {
  .page-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }
}
.page-hero h1 {
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -2.24px;
  font-weight: 400;
}
.page-hero-desc {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.18px;
  color: var(--color-slate-mute);
}
@media (min-width: 768px) {
  .page-hero-desc { margin-top: 12px; }
}

/* =========================================================
   SECTION UTILITIES
   ========================================================= */
.section-bordered {
  border-top: 1px solid var(--color-ash);
  background-color: var(--color-bone-mist);
  padding-block: 80px;
}
.section-heading-sm {
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.64px;
  font-weight: 400;
}
.section-heading {
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -1.2px;
  font-weight: 400;
}
.section-heading-lg {
  font-size: clamp(40px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -1.92px;
  font-weight: 400;
}
.section-subheading {
  font-size: 22px;
  line-height: 1.13;
  letter-spacing: -0.33px;
  font-weight: 500;
}

/* =========================================================
   CERTIFICATIONS & REVIEWS (MARQUEE)
   ========================================================= */
.reviews-section {
  background: linear-gradient(160deg, rgba(154,193,150,0.15) 0%, rgba(174,199,176,0.08) 50%, rgba(154,193,150,0.05) 100%);
  padding-block: 64px;
  overflow: hidden;
}
.reviews-header {
  text-align: center;
  margin-bottom: 48px;
}
.reviews-rating-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.reviews-stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
  font-size: 20px;
}
.reviews-count {
  font-size: 16px;
  color: var(--color-slate-mute);
}
.marquee-outer {
  overflow: hidden;
  width: 100%;
}
.marquee-row {
  overflow: hidden;
  margin-bottom: 12px;
}
.review-card {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  background: var(--color-paper-white);
  border: 1px solid var(--color-ash);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  width: 320px;
  margin-right: 12px;
  vertical-align: top;
  flex-shrink: 0;
}
.review-card-stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
}
.review-card-quote {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-bark);
  flex: 1;
}
.review-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bone-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-bark);
  flex-shrink: 0;
}
.review-author {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-bark);
}
.review-date {
  font-size: 12px;
  color: var(--color-slate-mute);
}

/* =========================================================
   PARTNER LOGOS
   ========================================================= */
.partner-logos-section {
  padding-block: 48px;
  overflow: hidden;
  border-top: 1px solid var(--color-ash);
}
.partner-logos-inner {
  overflow: hidden;
}
.partner-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding-inline: 32px;
}
.partner-logo-item img {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(0.2);
  transition: opacity 200ms ease;
}
.partner-logo-item img:hover {
  opacity: 1;
}

/* =========================================================
   SERVICES SECTION (simplified carousel as grid)
   ========================================================= */
.services-section {
  background-color: var(--color-bone-mist);
  padding-block: 80px;
  border-top: 1px solid var(--color-ash);
}
.services-header {
  margin-bottom: 48px;
}
.services-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-ash);
  background: var(--color-paper-white);
  transition: border-color 200ms ease, box-shadow 200ms ease;
  text-decoration: none;
  color: inherit;
}
.service-card:hover {
  border-color: rgba(23,21,14,0.3);
  box-shadow: 0 4px 24px rgba(23,21,14,0.08);
}
.service-card-wash {
  height: 160px;
  width: 100%;
}
.service-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bark);
  margin-bottom: 16px;
}
.service-card-title {
  font-size: 22px;
  line-height: 1.13;
  letter-spacing: -0.33px;
  font-weight: 500;
  color: var(--color-bark);
}
.service-card-desc {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-slate-mute);
  flex: 1;
}
.service-card-link {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-teal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   WHY CHOOSE SECTION
   ========================================================= */
.why-choose-section {
  background-color: var(--color-bone-mist);
  padding-block: 80px;
  border-top: 1px solid var(--color-ash);
}
.why-choose-header {
  margin-bottom: 48px;
}
.why-choose-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) {
  .why-choose-grid { grid-template-columns: 1fr 1fr; }
}
.why-choose-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-ash);
  background: var(--color-paper-white);
  min-height: 360px;
}
@media (min-width: 640px) {
  .why-choose-card { grid-template-columns: 1fr 1fr; }
}
.why-choose-card-img {
  position: relative;
  min-height: 240px;
  overflow: hidden;
}
@media (min-width: 640px) {
  .why-choose-card-img { min-height: unset; }
}
.why-choose-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why-choose-card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.why-choose-card-title {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.33px;
  font-weight: 500;
  color: var(--color-bark);
}
.why-choose-card-desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-slate-mute);
}

/* =========================================================
   CTA BREAKER
   ========================================================= */
.cta-breaker {
  background: var(--color-bark);
  padding-block: 80px 64px;
  overflow: hidden;
  position: relative;
}
.cta-breaker-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, 110%);
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(14,132,121,0.45) 0%, rgba(14,132,121,0.18) 45%, rgba(14,132,121,0) 75%);
  filter: blur(60px);
  pointer-events: none;
}
.cta-breaker-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-breaker-eyebrow {
  font-size: 13px;
  letter-spacing: 0.071em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.cta-breaker-heading {
  margin-top: 12px;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -2.88px;
  font-weight: 400;
  color: var(--color-paper-white);
}
.cta-breaker-buttons {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.cta-breaker-badges {
  margin-top: 48px;
  overflow: hidden;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 14px;
  color: var(--color-paper-white);
  margin-right: 12px;
  white-space: nowrap;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-teal);
  flex-shrink: 0;
}

/* =========================================================
   PERSONALISED CARE
   ========================================================= */
.personalised-care-section {
  background-color: var(--color-bone-mist);
  padding-block: 80px;
  border-top: 1px solid var(--color-ash);
}
.personalised-care-grid {
  margin-top: 48px;
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .personalised-care-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .personalised-care-grid { grid-template-columns: repeat(4, 1fr); }
}
.care-card {
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 200px;
}
.care-card-num {
  font-size: 13px;
  letter-spacing: 0.071em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.6;
}
.care-card-title {
  font-size: 22px;
  line-height: 1.13;
  letter-spacing: -0.33px;
  font-weight: 500;
}
.care-card-desc {
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.85;
  flex: 1;
}

/* =========================================================
   BLOG PREVIEW / CARDS
   ========================================================= */
.blog-section {
  background-color: var(--color-bone-mist);
  padding-block: 80px;
  border-top: 1px solid var(--color-ash);
}
.blog-section-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .blog-section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.blog-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}
.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-ash);
  background: var(--color-paper-white);
  text-decoration: none;
  color: inherit;
  transition: border-color 200ms ease;
  height: 100%;
}
.blog-card:hover {
  border-color: rgba(23,21,14,0.3);
}
.blog-card-wash {
  height: 160px;
  width: 100%;
  flex-shrink: 0;
}
.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-category {
  font-size: 13px;
  letter-spacing: 0.071em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(23,21,14,0.6);
}
.blog-card-title {
  margin-top: 12px;
  font-size: 22px;
  line-height: 1.13;
  letter-spacing: -0.33px;
  font-weight: 500;
  color: var(--color-bark);
}
.blog-card-desc {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(23,21,14,0.8);
  flex: 1;
}
.blog-card-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--color-ash);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(23,21,14,0.7);
}
.blog-card-author {
  font-weight: 500;
  color: var(--color-bark);
  font-size: 13px;
}

/* =========================================================
   CONTACT MAP + FORM
   ========================================================= */
.contact-map-form {
  display: grid;
  gap: 24px;
  align-items: stretch;
}
@media (min-width: 768px) {
  .contact-map-form { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.contact-map-frame {
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-ash);
  min-height: 480px;
}
.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
}

/* LEAD FORM */
.lead-form {
  background: var(--color-paper-white);
  border: 1px solid var(--color-ash);
  border-radius: var(--radius-card);
  padding: 32px;
}
.lead-form-title {
  font-size: 22px;
  line-height: 1.13;
  letter-spacing: -0.33px;
  font-weight: 500;
  color: var(--color-bark);
  margin-bottom: 24px;
}
.form-row {
  margin-bottom: 20px;
}
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-bark);
  margin-bottom: 6px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-ash);
  border-radius: 12px;
  font-size: 16px;
  font-family: var(--font-grotesk);
  color: var(--color-bark);
  background: var(--color-bone-mist);
  transition: border-color 150ms ease;
  outline: none;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--color-bark);
}
.form-row textarea {
  min-height: 120px;
  resize: vertical;
}
.form-row-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-slate-mute);
  line-height: 1.45;
}
.form-row-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-bark);
}
.form-honeypot {
  display: none;
}
.form-success {
  background: rgba(14,132,121,0.08);
  border: 1px solid rgba(14,132,121,0.3);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: var(--color-teal-deep);
  font-size: 16px;
  line-height: 1.5;
  display: none;
}
.form-success.visible {
  display: block;
}
.form-error-msg {
  font-size: 13px;
  color: #dc2626;
  margin-top: 4px;
}

/* CONTACT CARDS */
.contact-cards-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .contact-cards-grid { grid-template-columns: repeat(3, 1fr); }
}
.contact-card {
  background: var(--color-paper-white);
  border: 1px solid var(--color-ash);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-card-icon {
  width: 44px;
  height: 44px;
  background: var(--color-bone-mist);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bark);
}
.contact-card-label {
  font-size: 13px;
  letter-spacing: 0.071em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-slate-mute);
}
.contact-card-value {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-bark);
  line-height: 1.3;
  text-decoration: none;
}
.contact-card-value:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-card-sub {
  font-size: 14px;
  color: var(--color-slate-mute);
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.story-collage {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .story-collage {
    grid-template-columns: 1.1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    min-height: 560px;
    gap: 16px;
  }
}
.collage-text {
  padding-right: 0;
}
@media (min-width: 768px) {
  .collage-text {
    grid-column: 1;
    grid-row: 1 / span 2;
    padding-right: 16px;
  }
}
.collage-img {
  position: relative;
  overflow: hidden;
  background: var(--color-bone-mist);
  border-radius: 16px;
  aspect-ratio: 4 / 3;
}
.collage-img.tall {
  aspect-ratio: 3 / 4;
}
@media (min-width: 768px) {
  .collage-img { aspect-ratio: unset; }
  .collage-img.tall { aspect-ratio: unset; }
  .collage-img.col2 { grid-column: 2; grid-row: 1 / span 2; }
  .collage-img.col3-top { grid-column: 3; grid-row: 1; }
  .collage-img.col3-bot { grid-column: 3; grid-row: 2; }
}
.collage-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-top: 48px;
}
@media (min-width: 640px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); }
}
.team-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-ash);
  background: var(--color-paper-white);
  height: 100%;
}
.team-card-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--color-bone-mist);
  overflow: hidden;
}
.team-card-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card-body {
  padding: 24px;
  flex: 1;
}
.team-card-name {
  font-size: 22px;
  line-height: 1.13;
  letter-spacing: -0.33px;
  font-weight: 500;
  color: var(--color-bark);
}
.team-card-creds {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-slate-mute);
}

/* =========================================================
   FEES PAGE
   ========================================================= */
.fee-table-card {
  background: var(--color-paper-white);
  border: 1px solid var(--color-ash);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-bottom: 24px;
}
@media (min-width: 768px) { .fee-table-card { padding: 32px; } }
.fee-table-card-title {
  font-size: 22px;
  line-height: 1.13;
  letter-spacing: -0.33px;
  font-weight: 500;
  color: var(--color-bark);
  margin-bottom: 24px;
}
.fee-table {
  width: 100%;
  overflow-x: auto;
}
.fee-table table {
  min-width: 500px;
  font-size: 16px;
}
.fee-table th {
  padding: 12px 16px 12px 0;
  text-align: left;
  font-weight: 500;
  color: var(--color-bark);
  border-bottom: 1px solid var(--color-ash);
}
.fee-table th.text-right,
.fee-table td.text-right {
  text-align: right;
}
.fee-table td {
  padding: 16px 16px 16px 0;
  vertical-align: top;
  color: var(--color-bark);
  border-bottom: 1px solid var(--color-ash);
}
.fee-table tr:last-child td {
  border-bottom: none;
}
.fee-table-note {
  display: block;
  font-size: 13px;
  font-style: italic;
  margin-top: 4px;
  color: var(--color-slate-mute);
}

/* Finance Benefits */
.finance-benefits-grid {
  display: grid;
  gap: 12px 32px;
  grid-template-columns: 1fr;
  margin-top: 24px;
}
@media (min-width: 768px) {
  .finance-benefits-grid { grid-template-columns: 1fr 1fr; }
}
.finance-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-bark);
}
.check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-bark);
}

/* =========================================================
   PLANS PAGE
   ========================================================= */
.plans-hero-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 768px) {
  .plans-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }
}
.plans-hero-img {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 3 / 2;
}
.plans-hero-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.plans-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-top: 48px;
}
@media (min-width: 640px) {
  .plans-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .plans-grid { grid-template-columns: repeat(4, 1fr); }
}
.plan-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-ash);
  background: var(--color-paper-white);
  height: 100%;
}
.plan-card-accent {
  height: 12px;
  width: 100%;
}
.plan-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { .plan-card-body { padding: 28px; } }
.plan-card-name {
  font-size: 22px;
  line-height: 1.13;
  letter-spacing: -0.33px;
  font-weight: 500;
  color: var(--color-bark);
}
.plan-price-row {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.plan-price-amount {
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.64px;
  font-weight: 500;
  color: var(--color-bark);
}
.plan-price-per {
  font-size: 16px;
  color: var(--color-slate-mute);
}
.plan-per-day {
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 0.071em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-slate-mute);
}
.plan-includes {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-ash);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.plan-include-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-bark);
}
.plan-include-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.plan-cta {
  margin-top: auto;
  padding-top: 32px;
}
.plan-cta a {
  display: block;
  text-align: center;
}

/* =========================================================
   TREATMENT DETAIL PAGE
   ========================================================= */
.treatment-detail-layout {
  display: grid;
  gap: 48px;
}
@media (min-width: 1024px) {
  .treatment-detail-layout { grid-template-columns: 1fr 320px; gap: 64px; }
}
/* Direct-child selectors: .treatment-content now holds the full editable
   the_content() output (intro text + [paulton_highlights]/[paulton_faqs]
   shortcode blocks), so these must not leak into nested elements like
   .highlight-title/.highlight-detail/.faq-question. */
.treatment-content > h2 {
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.64px;
  font-weight: 400;
  color: var(--color-bark);
  margin-top: 40px;
  margin-bottom: 16px;
}
.treatment-content > h3 {
  font-size: 22px;
  line-height: 1.13;
  letter-spacing: -0.33px;
  font-weight: 500;
  color: var(--color-bark);
  margin-top: 28px;
  margin-bottom: 12px;
}
.treatment-content > p {
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.18px;
  color: var(--color-bark);
  margin-bottom: 20px;
}
.treatment-content > ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}
.treatment-content > ul li {
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-bark);
  margin-bottom: 8px;
}
.treatment-highlights {
  background: var(--color-paper-white);
  border: 1px solid var(--color-ash);
  border-radius: var(--radius-card);
  padding: 28px;
  margin-top: 40px;
}
.highlight-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-ash);
}
.highlight-item:last-child { border-bottom: none; }
.highlight-item:first-child { padding-top: 0; }
.highlight-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-bark);
  margin-bottom: 4px;
}
.highlight-detail {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-slate-mute);
}

/* Sidebar */
.treatment-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}
.sidebar-cta-box {
  background: var(--color-bark);
  border-radius: var(--radius-card);
  padding: 32px;
  color: var(--color-paper-white);
}
.sidebar-cta-title {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--color-paper-white);
  margin-bottom: 12px;
}
.sidebar-cta-desc {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
}
.sidebar-contact-info {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.sidebar-contact-info a {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-paper-white);
  margin-bottom: 8px;
  text-decoration: none;
}
.sidebar-contact-info a:hover { text-decoration: underline; }

/* FAQ accordion */
.faq-list {
  margin-top: 40px;
}
.faq-item {
  border-top: 1px solid var(--color-ash);
}
.faq-item:last-child { border-bottom: 1px solid var(--color-ash); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-grotesk);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-bark);
  gap: 16px;
}
.faq-question svg {
  flex-shrink: 0;
  transition: transform 200ms ease;
}
.faq-question[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.faq-answer {
  padding-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-slate-mute);
  display: none;
}
.faq-answer.is-open { display: block; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-slate-mute);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--color-slate-mute);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.breadcrumb a:hover { color: var(--color-bark); }
.breadcrumb-sep { opacity: 0.5; }

/* =========================================================
   BLOG SINGLE PAGE
   ========================================================= */
.blog-single-header {
  padding-block: 80px 0;
}
.blog-single-cover {
  height: 320px;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-top: 40px;
}
@media (min-width: 768px) { .blog-single-cover { height: 420px; } }
.blog-single-cover-inner {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-single-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--color-slate-mute);
  margin-top: 12px;
  flex-wrap: wrap;
}
.blog-single-content {
  max-width: 760px;
  margin: 48px auto;
  padding-inline: 1rem;
}
.blog-single-content h2 {
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.64px;
  font-weight: 400;
  margin: 40px 0 16px;
}
.blog-single-content h3 {
  font-size: 22px;
  line-height: 1.13;
  font-weight: 500;
  margin: 28px 0 12px;
}
.blog-single-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--color-bark);
}
.blog-single-content ul,
.blog-single-content ol {
  padding-left: 28px;
  margin-bottom: 20px;
}
.blog-single-content ul { list-style: disc; }
.blog-single-content ol { list-style: decimal; }
.blog-single-content li {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-bark);
  margin-bottom: 8px;
}

/* =========================================================
   LOCATION PAGE
   ========================================================= */
.location-map-sidebar {
  display: grid;
  gap: 24px;
}
@media (min-width: 1024px) {
  .location-map-sidebar { grid-template-columns: 1fr 360px; gap: 40px; }
}
.location-sidebar-box {
  background: var(--color-paper-white);
  border: 1px solid var(--color-ash);
  border-radius: var(--radius-card);
  padding: 32px;
}
.location-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-ash);
}
.location-info-item:last-child { border-bottom: none; }
.location-info-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.071em;
  font-weight: 600;
  color: var(--color-slate-mute);
}
.location-info-value {
  font-size: 16px;
  color: var(--color-bark);
}
.location-info-value a {
  color: var(--color-bark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   404 PAGE
   ========================================================= */
.page-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.page-404 h1 {
  font-size: clamp(64px, 10vw, 120px);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -4px;
  opacity: 0.15;
}
.page-404 h2 {
  font-size: 40px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -1.2px;
  margin-top: 16px;
}
.page-404 p {
  font-size: 18px;
  color: var(--color-slate-mute);
  margin-top: 16px;
  margin-bottom: 32px;
}

/* =========================================================
   WDEAS DARK SECTION
   ========================================================= */
.wdeas-section {
  position: relative;
  overflow: hidden;
  background: var(--color-bark);
  padding-block: 80px 96px;
}
.wdeas-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, 110%);
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(14,132,121,0.45) 0%, rgba(14,132,121,0.18) 45%, rgba(14,132,121,0) 75%);
  filter: blur(60px);
  pointer-events: none;
}
.wdeas-inner {
  position: relative;
  z-index: 1;
  max-width: 768px;
  margin: 0 auto;
  text-align: center;
}

/* =========================================================
   MISC UTILITIES
   ========================================================= */
.mt-3 { margin-top: 12px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }
.mb-6 { margin-bottom: 24px; }
.gap-6 { gap: 24px; }
.max-w-xl { max-width: 576px; }
.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }
.text-center { text-align: center; }

.opening-hours-card {
  max-width: 576px;
  margin: 40px auto 0;
  border: 1px solid var(--color-ash);
  border-radius: var(--radius-card);
  background: var(--color-paper-white);
  padding: 24px;
}
@media (min-width: 768px) { .opening-hours-card { padding: 32px; } }
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-ash);
  font-size: 16px;
  color: var(--color-bark);
}
.hours-row:last-child { border-bottom: none; }
.hours-day { font-weight: 500; }
/* Homepage WPForms + map layout */
.home-contact-section {
  background: #eef7f6;
}

.home-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: stretch;
  margin-top: 48px;
}

.home-contact-form-card,
.home-contact-map-card {
  background: #ffffff;
  border: 1px solid rgba(14, 132, 121, 0.18);
  border-radius: 28px;
  overflow: hidden;
  min-height: 100%;
}

.home-contact-form-card {
  padding: 36px;
  box-shadow: 0 18px 45px rgba(14, 132, 121, 0.08);
}

.home-contact-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  display: block;
}

.home-contact-form-card .wpforms-container {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.home-contact-form-card .wpforms-form {
  width: 100% !important;
  max-width: 100% !important;
}

.home-contact-form-card .wpforms-field {
  padding: 0 0 18px !important;
  margin: 0 !important;
}

.home-contact-form-card .wpforms-field-label {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #111111 !important;
  margin-bottom: 8px !important;
}

.home-contact-form-card input,
.home-contact-form-card textarea,
.home-contact-form-card select {
  width: 100% !important;
  max-width: 100% !important;
  background: #eef7f6 !important;
  border: 1px solid rgba(14, 132, 121, 0.2) !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
  font-size: 16px !important;
  color: #111111 !important;
  box-shadow: none !important;
}

.home-contact-form-card textarea {
  min-height: 140px !important;
  resize: vertical;
}

.home-contact-form-card .wpforms-field-row {
  max-width: 100% !important;
}

.home-contact-form-card .wpforms-submit-container {
  padding: 0 !important;
  margin-top: 8px !important;
}

.home-contact-form-card button[type="submit"],
.home-contact-form-card .wpforms-submit {
  width: 100% !important;
  background: #0e8479 !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 17px 26px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

.home-contact-form-card button[type="submit"]:hover,
.home-contact-form-card .wpforms-submit:hover {
  background: #0b6f66 !important;
}

@media (max-width: 900px) {
  .home-contact-grid {
    grid-template-columns: 1fr;
  }

  .home-contact-map-card iframe {
    min-height: 420px;
  }
}