/* ==========================================================================
   Pets Safe Philly — design tokens
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Karla:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  /* official brand palette */
  --sky:         #56b5e7;
  --sky-deep:    #2f8fc4;
  --sky-pale:    #e0f2fe;
  --ink:         #1e293b;
  --ink-soft:    #334155;
  --slate:       #64748b;
  --slate-soft:  #94a3b8;

  /* functional */
  --star:        #f0b429;

  /* neutrals */
  --paper:       #faf7f0;
  --paper-dim:   #f2ede2;
  --surface:     #ffffff;
  --line:        #e2e6ec;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-tag: 999px;

  --shadow-sm: 0 2px 10px rgba(30,41,59,.06);
  --shadow-md: 0 12px 32px rgba(30,41,59,.12);
  --shadow-lg: 0 24px 60px rgba(30,41,59,.18);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Karla', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', monospace;

  --wrap: 1220px;
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
html, body{ overflow-x: hidden; }
body{ margin:0; }
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; cursor: pointer; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
table{ border-collapse: collapse; width: 100%; }

body{
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

:focus-visible{
  outline: 3px solid var(--sky-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Badges / Eyebrows Unificados
   ========================================================================== */

.eyebrow,
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-tag);
  background: var(--sky-pale);
  color: var(--sky-deep);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid rgba(86, 181, 231, 0.45);
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.06);
  margin-bottom: 12px;
  width: fit-content;
}

.eyebrow::before,
.pill-badge::before {
  display: none !important;
}

/* Versión en Blanco Brillante para fondos oscuros (Reviews / Testimonials) */
.eyebrow.on-dark,
.pill-badge.on-dark,
.testimonials .eyebrow,
.testimonials .pill-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Invierte el emoji de las patas a color blanco en fondos oscuros */
.testimonials .eyebrow,
.eyebrow.on-dark {
  filter: brightness(0) invert(1);
}

h2.section-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-top: 14px;
  max-width: 18ch;
}

.section-lede{
  margin-top: 16px;
  max-width: 50ch;
  color: var(--ink-soft);
  font-size: 17px;
}

.section-head{ margin-bottom: 56px; }
.section-head.center{ text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-title,
.section-head.center .section-lede{ margin-left: auto; margin-right: auto; }
/* ==========================================================================
   Buttons + tag chips
   ========================================================================== */

.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px 15px 24px;
  border-radius: var(--radius-tag);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg{ flex: none; transition: transform .18s ease; }
.btn:hover svg{ transform: translateX(3px); }

.btn-primary{
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover{ background: var(--sky-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost{
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover{ background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn-ghost.on-dark{ border-color: rgba(250,247,240,.4); color: var(--paper); }
.btn-ghost.on-dark:hover{ background: var(--paper); color: var(--ink); }

.btn-tag{
  background: var(--sky);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-tag:hover{ background: var(--sky-deep); color: var(--surface); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-sm{ padding: 11px 18px 11px 16px; font-size: 13.5px; width: 100%; justify-content: center; }
.btn-block{ width: 100%; justify-content: center; }

.tag-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: var(--radius-tag);
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.tag-chip .hole{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  flex: none;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(250,247,240,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-header.scrolled{
  background: rgba(250,247,240,.94);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -.01em;
  color: var(--ink);
  flex: none;
}
.logo-mark{
  height: 64px;
  width: auto;
  flex: none;
  transition: height .2s ease;
}
.site-header.scrolled .logo-mark{ height: 40px; }

.main-nav{ flex: 1; display: flex; justify-content: center; min-width: 0; }
.main-nav ul{ display: flex; align-items: center; gap: 22px; }
.main-nav a{
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color .15s ease;
  position: relative;
  white-space: nowrap;
}
.main-nav a:hover{ color: var(--ink); }
.main-nav a::after{
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--sky);
  transition: width .2s ease;
}
.main-nav a:hover::after{ width: 100%; }
.main-nav a.active{ color: var(--ink); }
.main-nav a.active::after{ width: 100%; background: var(--sky-deep); }

.header-actions{ display: flex; align-items: center; gap: 20px; flex: none; }
.header-actions .btn-tag{ padding: 12px 20px; font-size: 13.5px; }

.phone-widget{
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.phone-widget .phone-icon{
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--sky-pale);
  color: var(--sky-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: background .15s ease, color .15s ease;
}
.phone-widget:hover .phone-icon{ background: var(--sky); color: var(--surface); }
.phone-widget .phone-text{ display: flex; flex-direction: column; line-height: 1.3; }
.phone-widget .phone-eyebrow{
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate);
}
.phone-widget .phone-number{
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}
.phone-widget:hover .phone-number{ color: var(--sky-deep); }

.nav-toggle{ display: none; background: none; border: none; padding: 6px; }
.nav-toggle span{
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { position: relative; padding: 168px 0 80px; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  top: -180px; right: -220px;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--sky-pale), transparent 70%);
  z-index: 0;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -.015em;
  margin-top: 18px;
  color: var(--ink);
}
.hero-copy p.lede {
  margin-top: 22px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ============================= TRIPTYCH HERO COMPOSITION ============================= */

.hero-media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.social-proof-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
  z-index: 10;
}

.social-proof-badge .avatars {
  display: flex;
}

.social-proof-badge .avatars img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  object-fit: cover;
  margin-left: -8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.social-proof-badge .avatars img:first-child {
  margin-left: 0;
}

.social-proof-badge .proof-text {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.social-proof-badge .stars {
  color: #3B82F6;
  font-size: 15px;
}

.social-proof-badge strong {
  font-family: var(--font-mono, sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  color: #1E293B;
}

.social-proof-badge .proof-count {
  font-size: 12px;
  color: #64748B;
  font-weight: 500;
}

.triptych-circle-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 12px;
  width: 440px;
  height: 440px;
  align-items: center;
  position: relative;
}

.triptych-col {
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.triptych-col.col-left {
  background-color: #FDE047;
  border-radius: 220px 0 0 220px;
  height: 88%;
}

.triptych-col.col-center {
  background-color: #F472B6;
  border-radius: 9999px;
  height: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.triptych-col.col-right {
  background-color: #86EFAC;
  border-radius: 0 220px 220px 0;
  height: 88%;
}

.triptych-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.triptych-col.col-left img { object-position: 70% bottom; }
.triptych-col.col-right img { object-position: 72% bottom; }

@media (max-width: 768px) {
  .triptych-circle-container {
    width: 320px;
    height: 320px;
    gap: 8px;
  }
  .triptych-col.col-left { border-radius: 160px 0 0 160px; }
  .triptych-col.col-right { border-radius: 0 160px 160px 0; }
}

/* ==========================================================================
   Stat banner
   ========================================================================== */

.stat-banner{
  background: var(--ink);
  color: var(--paper);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.stat-banner::before{
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 8% 30%, rgba(86,181,231,.14), transparent 40%),
    radial-gradient(circle at 92% 70%, rgba(148,163,184,.12), transparent 40%);
  pointer-events: none;
}
.stat-banner .wrap{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-block{ text-align: center; border-left: 1px solid rgba(250,247,240,.14); padding: 4px 12px; }
.stat-block:first-child{ border-left: none; }
.stat-icon{
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(86,181,231,.14);
  color: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.stat-block strong{
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--paper);
}
.stat-block span{
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ==========================================================================
   Chatbot widget
   ========================================================================== */

#chat-widget{
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.chat-toggle{
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--ink);
  border: none;
  box-shadow: var(--shadow-lg);
  font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, background .2s ease;
  position: relative;
}
.chat-toggle:hover{ transform: translateY(-3px) scale(1.03); background: var(--sky-deep); color: var(--surface); }
.chat-toggle .ping{
  position: absolute;
  top: -3px; right: -3px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--ink);
  border: 2.5px solid var(--paper);
}

.chat-panel{
  width: min(340px, 86vw);
  max-height: min(520px, 70vh);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  display: none;
  flex-direction: column;
  transform-origin: bottom right;
  animation: chat-in .22s ease;
}
.chat-panel.open{ display: flex; }
@keyframes chat-in{ from{ opacity:0; transform: scale(.92) translateY(10px); } to{ opacity:1; transform: scale(1) translateY(0); } }

.chat-head{
  background: var(--ink);
  color: var(--paper);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-head .chat-avatar{
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex: none;
}
.chat-head strong{ display: block; font-size: 14px; }
.chat-head span{ display: block; font-size: 12px; color: #9fb3c8; }
.chat-head .chat-close{
  margin-left: auto;
  background: none; border: none; color: var(--paper);
  font-size: 18px; opacity: .7; padding: 4px;
}
.chat-head .chat-close:hover{ opacity: 1; }

.chat-body{
  padding: 16px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--paper-dim);
}

.chat-bubble{
  max-width: 88%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
}
.chat-bubble.bot{
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  color: var(--ink-soft);
}
.chat-bubble.user{
  background: var(--sky);
  color: var(--ink);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  font-weight: 600;
}

.chat-quick-replies{
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 16px 16px;
  background: var(--paper-dim);
}
.chat-quick-replies button{
  text-align: left;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-tag);
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.chat-quick-replies button:hover{ border-color: var(--sky); background: var(--sky-pale); }

/* ==========================================================================
   Why Pets Safe Philly
   ========================================================================== */

.why {
  padding: 60px 0 20px;
}

.why-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.why-left {
  display: flex;
  flex-direction: column;
}

.why-left .section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  margin-top: 10px;
  color: var(--ink);
}

.why-left .section-lede {
  margin-top: 14px;
  margin-bottom: 24px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.why-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  background: var(--paper-dim);
}

.why-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.why-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.why-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex: none;
}

.bg-blue   { background-color: #bae6fd; color: #0284c7; }
.bg-purple { background-color: #e9d5ff; color: #9333ea; }
.bg-pink   { background-color: #fbcfe8; color: #db2777; }
.bg-green  { background-color: #bbf7d0; color: #16a34a; }

.why-card h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.why-card p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.45;
}

/* ==========================================================================
   Services & pricing
   ========================================================================== */

.services{ padding: 30px 0 60px; }

.service-list{ display: flex; flex-direction: column; gap: 24px; }

.service-block{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.service-block:hover{ box-shadow: var(--shadow-md); border-color: transparent; }

.service-info .icon{
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--sky-pale);
  color: var(--sky-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-info .tagline{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--slate);
  text-transform: uppercase;
}
.service-info h3{
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  margin-top: 8px;
}
.service-info p.desc{ margin-top: 12px; color: var(--ink-soft); max-width: 46ch; }
.service-info .includes{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-info .includes span{
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: var(--radius-tag);
  padding: 6px 12px;
}

.service-pricing{
  background: var(--paper-dim);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: space-between;
}
.price-row{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.price-row:first-child{ padding-top: 0; }
.price-row:last-of-type{ border-bottom: none; }
.price-row .label{ color: var(--ink-soft); }
.price-row .amount{ font-family: var(--font-mono); font-weight: 600; color: var(--ink); font-size: 16px; }
.service-pricing .btn{ margin-top: 18px; }

.rates-panel{
  margin-top: 56px;
  background: var(--paper-dim);
  border-radius: var(--radius-lg);
  padding: 38px;
}
.rates-panel h3{
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 22px;
}
.rates-table{ background: var(--surface); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); width: 100%; min-width: 560px; }
.rates-table th, .rates-table td{
  text-align: left;
  padding: 14px 18px;
  font-size: 14px;
}
.rates-table thead th{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--slate);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.rates-table tbody tr + tr td{ border-top: 1px solid var(--line); }
.rates-table td.amount{ font-family: var(--font-mono); font-weight: 600; color: var(--sky-deep); white-space: nowrap; }
.rates-table td.detail{ color: var(--slate); }

.holiday-note{
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--slate);
}
.holiday-note strong{ color: var(--ink-soft); }

.peace-banner{
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.peace-item{
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.peace-item .icon{
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--sky-pale);
  color: var(--sky-deep);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.peace-item h4{ font-size: 15.5px; font-weight: 700; margin-bottom: 4px; }
.peace-item p{ font-size: 13.5px; color: var(--slate); }

.policy-note{
  margin-top: 40px;
  border: 1.5px dashed var(--slate-soft);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  background: var(--surface);
}
.policy-note h4{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}
.policy-note ul{ display: flex; flex-direction: column; gap: 8px; }
.policy-note li{ font-size: 14px; color: var(--ink-soft); padding-left: 18px; position: relative; }
.policy-note li::before{
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sky);
}

/* ==========================================================================
   Reviews
   ========================================================================== */

.testimonials{
  padding: 100px 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.testimonials::before{
  content:'';
  position:absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(86,181,231,.14), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(148,163,184,.12), transparent 45%);
}
.testimonials .wrap{ position: relative; z-index:1; }
.testimonials .section-title{ color: var(--paper); }
.testimonials .section-lede{ color: #cbd5e1; }

.testi-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card{
  background: rgba(250,247,240,.06);
  border: 1px solid rgba(250,247,240,.14);
  border-radius: var(--radius-md);
  padding: 28px 26px;
}
.testi-card .stars{ display: flex; gap: 3px; color: var(--star); margin-bottom: 16px; font-size: 15px; }
.testi-card p{ font-family: var(--font-display); font-size: 17px; font-weight: 500; line-height: 1.45; margin-bottom: 22px; }
.testi-person{ display: flex; align-items: center; gap: 12px; }
.testi-person img{ width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.testi-person strong{ display:block; font-size: 14px; }
.testi-person span{ display:block; font-size: 12.5px; color: var(--slate-soft); font-family: var(--font-mono); }

.testi-more{ margin-top: 44px; text-align: center; }

/* ==========================================================================
   Blog
   ========================================================================== */

.blog{ 
  padding: 100px 0 0; 
  background: var(--paper);
}

.blog-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.blog-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.blog-card:hover{ 
  transform: translateY(-4px); 
  box-shadow: var(--shadow-md); 
}

.blog-card .cat{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sky-deep);
  background: var(--sky-pale);
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-tag);
}

.blog-card h4{
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 600;
  margin-top: 14px;
  line-height: 1.25;
}

.blog-card p{ 
  margin-top: 10px; 
  font-size: 13.5px; 
  color: var(--slate); 
}

.blog-card .byline{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--slate);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.blog-card .byline b{
  color: var(--ink-soft);
  font-weight: 700;
}

.blog-card .byline a{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--sky-deep);
  font-weight: 700;
  white-space: nowrap;
  transition: color .15s ease;
}
.blog-card .byline a:hover{ color: var(--ink); }

.blog-more-strip {
  margin-top: 56px;
  background: var(--ink);
  padding: 44px 0;
  position: relative;
  overflow: hidden;
}

.blog-more-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(86,181,231,.12), transparent 60%);
  pointer-events: none;
}

/* ==========================================================================
   Contact / booking
   ========================================================================== */

.contact {
  padding: 90px 0 110px;
  background: var(--paper);
  color: var(--ink);
}

.contact .wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.info-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sky-pale);
  color: var(--sky-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-size: 20px;
}

.info-card h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.info-card p,
.info-card a {
  font-size: 13.5px;
  color: var(--slate);
}

/* small utility classes used by the info-card detail rows */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-start { align-items: flex-start; }
.text-xs { font-size: 12px; }
.text-slate-500 { color: var(--slate); }

.info-card a:hover {
  color: var(--sky-deep);
}

.booking-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.booking-form h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.booking-form > p {
  color: var(--slate);
  font-size: 14.5px;
  margin-bottom: 28px;
}

.form-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field{ display: flex; flex-direction: column; gap: 7px; }
.form-field.full{ grid-column: 1 / -1; }
.form-field label{ font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.form-field input, .form-field select, .form-field textarea{
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  border-color: var(--sky); background: var(--surface); outline: none;
}
.form-field textarea{ resize: vertical; min-height: 96px; }

.phone-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.phone-flag {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  pointer-events: none;
  user-select: none;
  z-index: 5;
  line-height: 1;
}

.form-field .phone-box input[type="tel"]#fPhone {
  padding-left: 80px !important;
  width: 100%;
}

.phone-error-msg {
  display: none;
  color: #DC2626;
  font-size: 12px;
  margin-top: 4px;
  font-weight: 500;
}

/* ── Field-level validation errors (Step 5) ──────────────────────────── */
.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea{
  border-color: #DC2626;
  background: #FEF2F2;
}
.field-error-msg{
  color: #DC2626;
  font-size: 12px;
  font-weight: 500;
}

/* ── Submit button loading state ─────────────────────────────────────── */
.booking-form .btn-primary{ position: relative; }
.booking-form .btn-primary.is-loading{ color: transparent; pointer-events: none; }
.booking-form .btn-primary.is-loading svg{ opacity: 0; }
.btn-spinner{
  display: none;
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 20px;
  margin: -10px 0 0 -10px;
  border: 2.5px solid rgba(250,247,240,.35);
  border-top-color: var(--paper);
  border-radius: 50%;
  animation: btn-spin .7s linear infinite;
}
.booking-form .btn-primary.is-loading .btn-spinner{ display: block; }
@keyframes btn-spin{ to{ transform: rotate(360deg); } }

/* ── Form status banner (success / error) ────────────────────────────── */
.form-status{
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 1.5;
}
.form-status.show{ display: flex; }
.form-status .icon{ flex: none; margin-top: 1px; }
.form-status.success{
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}
.form-status.error{
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}
.form-status strong{ display: block; margin-bottom: 2px; }

.check-group{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.check-option{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: border-color .15s ease, background .15s ease;
  cursor: pointer;
}
.check-option:has(input:checked){ border-color: var(--sky); background: var(--sky-pale); color: var(--ink); }
.check-option input{ width: 16px; height: 16px; accent-color: var(--sky-deep); flex: none; }

.booking-form .btn-primary{ margin-top: 8px; width: 100%; justify-content: center; padding: 16px; }
.form-note{ margin-top: 16px; font-size: 12.5px; color: var(--slate); text-align: center; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer{ background: var(--ink); color: #cbd5e1; padding: 64px 0 28px; }
.footer-top{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(250,247,240,.12);
}
.footer-brand .brand{ color: var(--paper); }
.footer-brand .logo-mark{ filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p{ margin-top: 14px; font-size: 14px; color: #94a3b8; max-width: 34ch; }
.footer-social{ display: flex; gap: 10px; margin-top: 20px; }
.footer-social a{
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(250,247,240,.2);
  display: flex; align-items:center; justify-content:center;
  transition: background .15s ease, border-color .15s ease;
}
.footer-social a:hover{ background: var(--sky); border-color: var(--sky); color: var(--ink); }

.footer-col h5{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate-soft);
  margin-bottom: 18px;
}
.footer-col ul{ display:flex; flex-direction:column; gap: 12px; }
.footer-col a, .footer-col p{ font-size: 14px; color: #cbd5e1; }
.footer-col a:hover{ color: var(--sky); }

.footer-bottom{
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #64748b;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal{ opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px){
  .footer-top{ grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .blog-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px){
  .main-nav, .header-actions{ display: none; }
  .nav-toggle{ display: block; }

  .hero .wrap{ grid-template-columns: 1fr; gap: 52px; }
  .hero{ padding: 128px 0 64px; }
  .hero-media{ order: -1; max-width: 440px; margin: 0 auto; }

  .service-block{ grid-template-columns: 1fr; }
  .service-pricing{ margin-top: 4px; }

  .stat-banner .wrap{ grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat-block{ border-left: none; }

  .contact .wrap{ grid-template-columns: 1fr; }
  .testi-grid{ grid-template-columns: 1fr; }
  .peace-banner{ grid-template-columns: 1fr; }

  .why-layout{ grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px){
  .rates-panel > div{
    position: relative;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
            mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
  }
  .wrap{ padding: 0 20px; }
  .form-grid{ grid-template-columns: 1fr; }
  .check-group{ grid-template-columns: 1fr; }
  .footer-top{ grid-template-columns: 1fr; }
  .blog-grid{ grid-template-columns: 1fr; }
  .booking-form{ padding: 26px; }
  .section-head{ margin-bottom: 40px; }
  .service-block{ padding: 26px; }
  .rates-panel{ padding: 26px; }
  .why-features-grid{ grid-template-columns: 1fr; }
  #chat-widget{ right: 16px; bottom: 16px; }
  .chat-panel{ width: min(320px, 88vw); }
}

/* mobile nav drawer */
.mobile-nav{
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 99;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.mobile-nav.open{ transform: translateX(0); }
.mobile-nav a{ font-family: var(--font-display); font-size: 28px; font-weight: 600; }
.mobile-nav-actions{
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav-actions .phone-widget{ align-self: flex-start; }