
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0f172a;
  background-color: #fafbfc;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, #1a6b4c 0%, #2d8a66 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: 0.75rem;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::before,
.contact-card::before,
.process-step::before,
.social-link::before,
.mobile-social-link::before,
.file-dropzone::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, rgba(26, 107, 76, 0.12), rgba(45, 138, 102, 0.16), rgba(26, 107, 76, 0.12));
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.btn:hover::before,
.contact-card:hover::before,
.process-step:hover::before,
.social-link:hover::before,
.mobile-social-link:hover::before,
.file-dropzone:hover::before,
.file-dropzone.is-dragover::before {
  transform: scaleY(1);
}

.btn svg {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: #1a6b4c;
  color: white;
  box-shadow: 0 4px 14px 0 rgb(26 107 76 / 0.3);
}

.btn-primary:hover {
  background: #145539;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgb(26 107 76 / 0.4);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: #0f172a;
  border: 1.5px solid #e2e8f0;
}

.btn-outline:hover {
  background: #0f172a;
  color: white;
  border-color: #0f172a;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: padding 300ms cubic-bezier(0.4, 0, 0.2, 1),
              background 300ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  padding: 0.75rem 0;
}

/* When mobile nav is open, remove backdrop-filter so it doesn't create
   a new containing block that breaks the nav's fixed positioning. */
.header.nav-open {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: transparent;
  box-shadow: none;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-image {
  display: flex;
  width: clamp(120px, 24vw, 220px);
  max-width: 100%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}

.footer-logo-link {
  margin-bottom: 1.5rem;
}

.footer-logo-image {
  width: clamp(140px, 18vw, 220px);
  max-height: 64px;
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #64748b;
  position: relative;
  padding: 0.5rem 0;
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #1a6b4c;
  transition: width 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link.active {
  color: #0f172a;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.25;
  color: #1a6b4c;
  opacity: 0.88;
  /* fixed width stops layout shift when digits change width */
  min-width: 6.5rem;
  white-space: nowrap;
}
.header-clock .clock-time {
  font-size: 0.76rem;
  font-weight: 700;
  /* tabular-nums keeps each digit same width — no jitter */
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  letter-spacing: 0.03em;
}
.header-clock .clock-date {
  font-size: 0.62rem;
  font-weight: 500;
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
}
/* Hide clock on phones — too cramped in the header */
@media (max-width: 768px) {
  .header-clock { display: none; }
}

/* ===== HEADER SUB-BAR (socials → quotes on scroll) ===== */
.header-subbar {
  position: relative;
  height: 2.5rem;
  overflow: hidden;
  width: 100%;
}

.subbar-socials,
.subbar-quotes {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.subbar-socials {
  opacity: 1;
  transform: translateY(0);
}

.subbar-quotes {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}

/* When header gains .show-quotes, swap the two layers */
.header.show-quotes .subbar-socials {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.header.show-quotes .subbar-quotes {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.subbar-social-link {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1877f2;
  border: 1px solid rgba(26, 107, 76, 0.15);
  box-shadow: 0 4px 8px -2px rgb(0 0 0 / 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.subbar-social-link svg {
  width: 1rem;
  height: 1rem;
}

.subbar-social-link:hover {
  transform: translateY(-2px);
  background: #1a6b4c;
  color: #fff;
}

.subbar-social-link.social-link-yahoo  { color: #6001d2; }
.subbar-social-link.social-link-yahoo:hover  { background: #6001d2; color: #fff; }
.subbar-social-link.social-link-gmail  { color: #d44638; }
.subbar-social-link.social-link-gmail:hover  { background: #d44638; color: #fff; }
.subbar-social-link.mobile-social-link-facebook:hover  { background: #1877f2; }
.subbar-social-link.mobile-social-link-messenger:hover { background: #0084ff; }

.subbar-social-link .social-mark {
  font-size: 0.75rem;
  font-weight: 800;
}

.subbar-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.8rem;
  font-weight: 400;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90%;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.subbar-quote.show {
  opacity: 1;
}

.mobile-socials {
  display: none;
}

.mobile-social-link {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1877f2;
  border: 1px solid rgba(26, 107, 76, 0.15);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1), background 200ms cubic-bezier(0.4, 0, 0.2, 1), color 200ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.mobile-social-link svg {
  width: 1.2rem;
  height: 1.2rem;
}

.mobile-social-link:hover {
  transform: translateY(-2px);
  background: #1a6b4c;
  color: #ffffff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/**Hero**/
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 245, 240, 0.8) 0%, rgba(250, 251, 252, 0.9) 50%, rgba(255, 255, 255, 1) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(26, 107, 76, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 107, 76, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 70%, transparent 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 107, 76, 0.15) 0%, transparent 70%);
  top: -200px;
  right: -200px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26, 107, 76, 0.1) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(20px, -20px); }
  50% { transform: translate(-10px, 10px); }
  75% { transform: translate(15px, 15px); }
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.hero-content {
  max-width: 700px;
}


.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero-description {
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 2rem;
  text-wrap: pretty;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

/* ===== HERO SLIDESHOW (Carousel with prev/next peek) ===== */
.hero-slideshow {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  overflow: visible;
}

.slideshow-track {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  align-items: center;
  gap: 0.6rem;
  justify-items: center;
}

.slide {
  border-radius: 0.85rem;
  overflow: hidden;
  background: #f1f5f2;
  display: flex;
  flex-direction: column;
}

.slide-prev,
.slide-next {
  width: 80px;
  height: 140px;
  opacity: 0.3;
  transform: scale(0.85);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.slide-active {
  width: 100%;
  max-width: 300px;
  box-shadow: 0 12px 30px -8px rgb(0 0 0 / 0.18);
  z-index: 1;
}

.slideshow-img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #f1f5f2;
}

.slide-prev .slideshow-img,
.slide-next .slideshow-img {
  height: 100%;
  object-fit: cover;
}

.slideshow-caption {
  display: block;
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #0f172a;
  padding: 0.55rem 0.5rem;
  background: #f1f5f2;
  transition: opacity 0.3s ease;
}

.hero-stats {
  display: none;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1;
}

.stat-suffix {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #1a6b4c;
}

.stat-label {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: #e2e8f0;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
  font-size: 0.75rem;
  animation: fadeInUp 1s ease-out 1.5s backwards;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: #1a6b4c;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

/* ===== ANIMATIONS ===== */
.animate-fade-in {
  animation: fadeIn 0.8s ease-out backwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out backwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.8s ease-out backwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===== SECTION STYLES ===== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #e8f5f0;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a6b4c;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.section-description {
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.7;
  text-wrap: pretty;
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: 6rem 0;
  background: #ffffff;
}

/* ===== SERVICE CATEGORIES ===== */
.service-category {
  margin-bottom: 3rem;
}

.service-category:last-child {
  margin-bottom: 0;
}

.category-header {
  margin-bottom: 1.5rem;
}

.category-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.category-description {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: #fafbfc;
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms ease, border-color 300ms ease;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  isolation: isolate;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: linear-gradient(135deg, #1a6b4c 0%, #2d8a66 100%);
  opacity: 0.04;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #e2e8f0;
  box-shadow: 0 16px 22px -5px rgb(0 0 0 / 0.1), 0 6px 8px -4px rgb(0 0 0 / 0.08);
}

.service-card:hover::before {
  opacity: 0.08;
  transform: scaleY(1);
}

.service-item-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
}

.service-price {
  font-size: 0.85rem;
  color: #1a6b4c;
  font-weight: 500;
}

/* "View Packages / View Sizes" toggle button */
.service-expand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid #1a6b4c;
  background: transparent;
  color: #1a6b4c;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.4rem;
  width: 100%;
  transition: background 0.15s ease, color 0.15s ease;
}

.service-expand-btn:hover {
  background: #1a6b4c;
  color: #ffffff;
}

/* Hidden detail lists — content is cloned into the popup modal on click */
.service-detail-list {
  display: none;
}

/* ── Show More Services ── */
.services-more-wrap {
  margin-top: 2rem;
  text-align: center;
}

.services-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  border: 2px solid #1a6b4c;
  border-radius: 9999px;
  background: transparent;
  color: #1a6b4c;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.services-more-btn:hover {
  background: #1a6b4c;
  color: #fff;
}
.services-more-btn svg {
  transition: transform 0.3s ease;
}

.services-more {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease;
}
.services-more.is-open {
  max-height: 2000px;
  opacity: 1;
}
.services-more-grid {
  margin-top: 1.5rem;
}

/* ── Service Price/Size Popup Modal ── */
.price-modal[hidden] {
  display: none;
}

.price-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.price-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.52);
  backdrop-filter: blur(10px);
}

.price-modal-dialog {
  position: relative;
  width: min(100%, 420px);
  max-height: 85vh;
  overflow-y: auto;
  padding: 1.75rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 30px 60px rgb(15 23 42 / 0.16);
  z-index: 1;
}

.price-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.95rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: none;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}

.price-modal-close:hover {
  background: #e2e8f0;
}

.price-modal-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  color: #0f172a;
  margin-bottom: 1rem;
  padding-right: 2rem;
}

.price-modal-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.price-modal-body li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.75rem;
  background: rgba(26, 107, 76, 0.04);
  border-radius: 0.6rem;
  font-size: 0.88rem;
  color: #334155;
}

.price-modal-body li span {
  flex: 1;
  min-width: 0;
}

.price-modal-body li strong {
  color: #1a6b4c;
  font-weight: 700;
  white-space: nowrap;
  margin-left: 0.75rem;
  font-size: 0.92rem;
}

.price-modal-body .detail-subheading,
.detail-subheading {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a6b4c;
  margin: 0.9rem 0 0.35rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(26, 107, 76, 0.15);
}

.price-modal-body .detail-subheading:first-child,
.detail-subheading:first-child {
  margin-top: 0;
}

.price-modal-body .detail-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #94a3b8;
  text-align: center;
}

@media (max-width: 480px) {
  .price-modal {
    padding: 0.75rem;
  }
  .price-modal-dialog {
    padding: 1.25rem;
    border-radius: 1.25rem;
    max-height: 90vh;
  }
  .price-modal-title {
    font-size: 1.15rem;
  }
  .price-modal-body li {
    padding: 0.45rem 0.6rem;
    font-size: 0.82rem;
  }
}

/* ── Price Modal: Preview Image Area ── */
.price-modal-dialog.has-preview {
  width: min(100%, 720px);
}

.price-modal-content-wrapper {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.price-modal-body {
  flex: 1;
  min-width: 0;
}

/* Preview panel — hidden until a row is picked, then slides in on the right (desktop) */
.price-modal-preview {
  position: relative;
  display: none;
  width: 240px;
  min-width: 240px;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem;
  background: linear-gradient(180deg, #f8fdfa 0%, #eef6f1 100%);
  border: 1px solid #d7e2dc;
  border-radius: 0.9rem;
  position: sticky;
  top: 0;
}

.price-modal-dialog:not(.has-preview) .price-modal-preview {
  display: none !important;
}

.price-modal-preview.is-active {
  display: flex;
  animation: previewFadeIn 0.18s ease-out;
}

@keyframes previewFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.price-modal-preview img {
  width: 100%;
  max-width: 216px;
  max-height: 324px;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  border-radius: 0.6rem;
  border: 1px solid #d7e2dc;
  background: #fff;
  user-select: none;
  -webkit-user-drag: none;
}

.price-modal-preview-caption {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a6b4c;
  text-align: center;
  line-height: 1.3;
}

.price-modal-preview-close {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 9999px;
  border: none;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}

.price-modal-preview-close:hover {
  background: rgba(15, 23, 42, 0.18);
}

.has-preview-item {
  flex-wrap: wrap;
  row-gap: 0.4rem;
  transition: background 0.15s ease;
}

.has-preview-item.is-selected {
  background: rgba(26, 107, 76, 0.12);
  box-shadow: inset 0 0 0 1px rgba(26, 107, 76, 0.3);
}

.preview-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid #1a6b4c;
  border-radius: 0.45rem;
  background: transparent;
  color: #1a6b4c;
  cursor: pointer;
  flex-shrink: 0;
  font-weight: 600;
  margin-left: 0.5rem;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.preview-toggle-btn:hover {
  background: #1a6b4c;
  color: #fff;
}

.preview-toggle-btn:active {
  transform: scale(0.96);
}

.has-preview-item.is-selected .preview-toggle-btn {
  background: #1a6b4c;
  color: #fff;
}

@media (max-width: 640px) {
  .price-modal-dialog.has-preview {
    width: min(100%, 420px);
  }
  .price-modal-content-wrapper {
    flex-direction: column;
  }
  .price-modal-preview {
    order: -1;
    width: 100%;
    min-width: 0;
    position: static;
  }
  .price-modal-preview img {
    max-width: 220px;
    max-height: 330px;
  }
  .preview-toggle-btn {
    margin-left: auto;
    font-size: 0.68rem;
    padding: 0.28rem 0.55rem;
  }
}

.detail-note {
  font-size: 0.72rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 0.4rem;
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 6rem 0;
  background: #fafbfc;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.about-image-wrapper {
  display: none;
}

.about-image-container {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.about-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image-container:hover .about-image {
  transform: scale(1.05);
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 22, 40, 0.4) 100%);
  pointer-events: none;
}

.about-experience {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: #1a6b4c;
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.experience-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  display: block;
}

.experience-text {
  font-size: 0.875rem;
  opacity: 0.9;
}

.about-content {
  max-width: 760px;
}

.about-description {
  font-size: 1.0625rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: #e8f5f0;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a6b4c;
  flex-shrink: 0;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.about-feature:hover .feature-icon {
  background: #1a6b4c;
  color: white;
  transform: scale(1.1);
}

.feature-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-content p {
  font-size: 0.875rem;
  color: #64748b;
}

/* ===== REQUEST SECTION ===== */
.request {
  padding: 6rem 0;
  background: #ffffff;
  overflow-x: hidden;
}

.request-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.request-info {
  position: sticky;
  top: 8rem;
}

.request-description {
  font-size: 1.0625rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #fafbfc;
  border-radius: 0.75rem;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.process-step:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  background: #1a6b4c;
  color: white;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.step-content p {
  font-size: 0.875rem;
  color: #64748b;
}

.request-form-wrapper {
  background: #fafbfc;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  max-width: 100%;
  overflow: hidden;
}

.request-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 100%;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 100%;
  min-width: 0;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.75rem;
  color: #0f172a;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a6b4c;
  box-shadow: 0 0 0 4px rgb(26 107 76 / 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748b;
}

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

/* Phone number with +63 prefix */
.phone-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
}

.phone-prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 0.75rem;
  background: #e8f5f0;
  color: #1a6b4c;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1.5px solid #e2e8f0;
  border-right: none;
  border-radius: 0.75rem 0 0 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.phone-input-wrapper input {
  border-radius: 0 0.75rem 0.75rem 0 !important;
  flex: 1;
  min-width: 0;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 3rem;
}

.file-dropzone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 8.5rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1.5px dashed #b7cdc2;
  background: linear-gradient(135deg, #ffffff 0%, #f5faf7 100%);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.file-dropzone:hover,
.file-dropzone.is-dragover {
  border-color: #1a6b4c;
  transform: translateY(-2px);
  box-shadow: 0 18px 26px -18px rgb(26 107 76 / 0.45);
}

.file-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-dropzone-content {
  display: grid;
  gap: 0.25rem;
  text-align: center;
  color: #0f172a;
}

.file-dropzone-content span {
  color: #64748b;
  font-size: 0.92rem;
}

.file-note {
  font-size: 0.875rem;
  color: #64748b;
}

/* Payment method choice toggle */
.payment-choice {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.payment-choice-btn {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 2px solid #d1d5db;
  border-radius: 9999px;
  background: #f9fafb;
  color: #374151;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.payment-choice-btn:hover {
  border-color: #10b981;
  background: #f0fdf4;
  color: #065f46;
}
.payment-choice-btn.is-active {
  border-color: #10b981;
  background: #10b981;
  color: #fff;
  font-weight: 600;
}

/* GCash payment block inside the request form */
.gcash-payment-block { margin-top: 0.25rem; }

.gcash-block {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 1px solid #bbf7d0;
  border-radius: 0.75rem;
  padding: 1rem;
}

.gcash-qr-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border: 1px solid #d1fae5;
  border-radius: 0.6rem;
  background: #fff;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .gcash-qr-img { width: 240px; height: 240px; }
}

.gcash-block-right {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.gcash-instructions {
  font-size: 0.85rem;
  color: #064e3b;
  line-height: 1.55;
  margin: 0;
}

.gcash-or-divider {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.78rem;
}
.gcash-or-divider::before,
.gcash-or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #d1fae5;
}

.gcash-app-btn {
  display: inline-block;
  background: #00a4e4;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
}
.gcash-app-btn:hover { background: #0090cc; }

.gcash-app-note {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0;
}

@media (max-width: 480px) {
  .gcash-block { flex-direction: column; text-align: center; }
  .gcash-qr-img { width: 180px; height: 180px; }
  .gcash-or-divider { justify-content: center; }
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 6rem 0;
  background: #fafbfc;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.contact-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: #e2e8f0;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.contact-icon {
  width: 4rem;
  height: 4rem;
  background: #e8f5f0;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a6b4c;
  margin: 0 auto 1.5rem;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.contact-card:hover .contact-icon {
  background: #1a6b4c;
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.contact-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

a.contact-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.contact-card p {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  background: #0a1628;
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-description {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-brand-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.social-link svg {
  width: 1.125rem;
  height: 1.125rem;
}

.social-mark {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.social-link-facebook:hover,
.mobile-social-link-facebook:hover {
  background: #1877f2;
}

.social-link-yahoo,
.mobile-social-link.social-link-yahoo {
  color: #6001d2;
}

.social-link-yahoo:hover,
.mobile-social-link.social-link-yahoo:hover {
  background: #6001d2;
  color: #ffffff;
}

.social-link-gmail,
.mobile-social-link.social-link-gmail {
  color: #d44638;
}

.social-link-gmail:hover,
.mobile-social-link.social-link-gmail:hover {
  background: #d44638;
  color: #ffffff;
}

.social-link-messenger:hover,
.mobile-social-link-messenger:hover {
  background: #0084ff;
}

.social-link:hover {
  background: #1a6b4c;
  transform: translateY(-4px);
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-service-na {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-service-na small {
  font-size: 0.75rem;
  font-style: italic;
}

.footer-newsletter h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-newsletter p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  color: white;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: #1a6b4c;
}

.newsletter-form button {
  width: 3rem;
  height: 3rem;
  background: #1a6b4c;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-form button svg {
  width: 1.125rem;
  height: 1.125rem;
}

.newsletter-form button:hover {
  background: #2d8a66;
  transform: scale(1.05);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 3rem;
  height: 3rem;
  background: #1a6b4c;
  color: white;
  border: none;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.2), 0 4px 6px -4px rgb(0 0 0 / 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  cursor: pointer;
}

.back-to-top svg {
  width: 1.25rem;
  height: 1.25rem;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #145539;
  transform: translateY(-4px);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ===== RESPONSIVE DESIGN ===== */

/* ── Tablets / small laptops ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-slideshow {
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-content {
    max-width: 100%;
  }

  .about-experience {
    right: 1rem;
    bottom: -1rem;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .request-grid {
    grid-template-columns: 1fr;
  }

  .request-info {
    position: static;
  }

  .request-form-wrapper {
    padding: 2rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Phones (landscape / large phones) ────────────────────────────────────── */
@media (max-width: 768px) {
  /* Header & Nav */
  .header-container {
    padding: 0 1rem;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1),
                visibility 300ms cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
  }

  .nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.5rem;
  }

  .menu-toggle {
    display: flex;
    z-index: 1002;
  }

  .header-actions .btn {
    display: none;
  }

  /* Sub-bar */
  .subbar-quote {
    font-size: 0.7rem;
  }

  .subbar-social-link {
    width: 1.75rem;
    height: 1.75rem;
  }

  .subbar-social-link svg {
    width: 0.85rem;
    height: 0.85rem;
  }

  /* Hero */
  .hero {
    padding: 7rem 0 3rem;
  }

  .hero-container {
    gap: 1.5rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-orb-1,
  .hero-orb-2 {
    display: none;
  }

  .hero-slideshow {
    max-width: 100%;
  }

  .slideshow-track {
    grid-template-columns: 60px 1fr 60px;
    gap: 0.4rem;
  }

  .slide-active {
    max-width: 220px;
  }

  .slideshow-img {
    height: 165px;
  }

  .slide-prev,
  .slide-next {
    width: 60px;
    height: 110px;
  }

  /* Grids → 2 columns on phones */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* About */
  .about-experience {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 1rem auto 0;
    display: inline-block;
  }

  .about-image-container {
    text-align: center;
  }

  /* Misc */
  .scroll-indicator {
    display: none;
  }

  .request-form-wrapper {
    padding: 1.5rem;
  }
}

/* ── Small phones ─────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .header-container {
    padding: 0 0.75rem;
  }

  .hero {
    padding: 6rem 0 2.5rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .slideshow-track {
    grid-template-columns: 45px 1fr 45px;
    gap: 0.3rem;
  }

  .slide-active {
    max-width: 190px;
  }

  .slideshow-img {
    height: 140px;
  }

  .slide-prev,
  .slide-next {
    width: 45px;
    height: 90px;
  }

  .slideshow-caption {
    font-size: 0.85rem;
    padding: 0.35rem 0;
  }

  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .request-form-wrapper {
    padding: 1.25rem;
  }

  .logo-image {
    width: clamp(100px, 36vw, 160px);
    max-height: 44px;
  }

  .subbar-quote {
    font-size: 0.6rem;
    max-width: 95%;
  }

  .subbar-social-link {
    width: 1.6rem;
    height: 1.6rem;
  }

  .subbar-social-link svg {
    width: 0.8rem;
    height: 0.8rem;
  }

  .subbar-social-link .social-mark {
    font-size: 0.65rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .process-step {
    padding: 1rem;
  }

  .about {
    padding: 4rem 0;
  }

  .services {
    padding: 4rem 0;
  }

  .contact {
    padding: 4rem 0;
  }

  .request {
    padding: 4rem 0;
  }
}

/* ── Very small phones (320px) ────────────────────────────────────────────── */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .header-subbar {
    height: 2rem;
  }

  .subbar-social-link {
    width: 1.4rem;
    height: 1.4rem;
  }

  .subbar-quote {
    font-size: 0.55rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .btn-lg {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* ============================================================================
   AI ASSISTANT HINT & BADGE
   The Chatbase widget renders its bubble at bottom-right (~24px, 24px).
   `.back-to-top` now lives bottom-LEFT so the two never collide.
   `.ai-badge` sits just above the chatbase bubble as a persistent "AI" marker.
   `.ai-hint` is a one-time callout shown ~4s after load.
   ============================================================================ */

.ai-hint {
  position: fixed;
  bottom: 5.5rem;
  right: 1.25rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: min(90vw, 300px);
  padding: 0.85rem 2rem 0.85rem 0.85rem;
  background: linear-gradient(135deg, #ffffff 0%, #f0fbf5 100%);
  border: 1px solid rgba(26, 107, 76, 0.2);
  border-radius: 1rem;
  box-shadow: 0 18px 40px -10px rgba(15, 23, 42, 0.25), 0 8px 16px -8px rgba(15, 23, 42, 0.15);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1);
  pointer-events: none;
}

.ai-hint[hidden] { display: none; }

.ai-hint.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  animation: aiHintPulse 2s ease-in-out 0.5s 2;
}

@keyframes aiHintPulse {
  0%, 100% { box-shadow: 0 18px 40px -10px rgba(15, 23, 42, 0.25), 0 0 0 0 rgba(26, 107, 76, 0.4); }
  50% { box-shadow: 0 18px 40px -10px rgba(15, 23, 42, 0.25), 0 0 0 12px rgba(26, 107, 76, 0); }
}

.ai-hint-icon {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1a6b4c 0%, #2a9d75 100%);
  color: #fff;
  border-radius: 0.75rem;
}

.ai-hint-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  display: block;
}

.ai-badge-sparkle svg {
  display: block;
}

.ai-hint-body {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}

.ai-hint-body strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  font-family: 'Playfair Display', Georgia, serif;
}

.ai-hint-body span {
  font-size: 0.75rem;
  color: #475569;
  margin-top: 0.1rem;
}

.ai-hint-close {
  position: absolute;
  top: 0.35rem;
  right: 0.4rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.ai-hint-close:hover {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.ai-hint-pointer {
  position: absolute;
  bottom: -7px;
  right: 32px;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f0fbf5 100%);
  border-right: 1px solid rgba(26, 107, 76, 0.2);
  border-bottom: 1px solid rgba(26, 107, 76, 0.2);
  transform: rotate(45deg);
}

/* Persistent "AI" badge pinned above the chatbase bubble */
.ai-badge {
  position: fixed;
  bottom: 5rem;
  right: 0.6rem;
  z-index: 998;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  background: linear-gradient(135deg, #1a6b4c 0%, #2a9d75 100%);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 9999px;
  box-shadow: 0 6px 14px -4px rgba(26, 107, 76, 0.5);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px) scale(0.9);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.ai-badge.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: aiBadgeFloat 2.8s ease-in-out infinite;
}

.ai-badge-sparkle {
  display: inline-grid;
  place-items: center;
  animation: aiSparkle 2.2s ease-in-out infinite;
}

@keyframes aiBadgeFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1); }
}

@keyframes aiSparkle {
  0%, 100% { opacity: 1; transform: rotate(0deg); }
  50% { opacity: 0.65; transform: rotate(18deg); }
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .ai-hint {
    bottom: 5rem;
    right: 0.75rem;
    max-width: calc(100vw - 1.5rem);
    padding: 0.75rem 2rem 0.75rem 0.75rem;
  }
  .ai-hint-icon {
    width: 2rem;
    height: 2rem;
  }
  .ai-hint-icon svg {
    width: 1.15rem;
    height: 1.15rem;
  }
  .ai-hint-body strong {
    font-size: 0.85rem;
  }
  .ai-hint-body span {
    font-size: 0.7rem;
  }
  .ai-badge {
    bottom: 4.5rem;
    right: 0.4rem;
    font-size: 0.64rem;
    padding: 0.18rem 0.5rem;
  }
  .back-to-top {
    bottom: 1rem;
    left: 1rem;
    width: 2.75rem;
    height: 2.75rem;
  }
}

/* =============================================================================
   Shutter AI chat widget
   ========================================================================== */
/* Wrapper so the dot can overflow outside the clipped FAB circle */
.chat-fab-wrap {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9998;
  width: 3.5rem;
  height: 3.5rem;
}
.chat-fab {
  position: absolute;
  inset: 0;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 74, 52, 0.35), 0 4px 10px rgba(15, 23, 42, 0.15);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.chat-fab:hover { transform: translateY(-2px) scale(1.04); }
.chat-fab:active { transform: scale(0.96); }
.chat-fab-logo {
  width: 2.1rem;
  height: 2.1rem;
  object-fit: contain;
  display: block;
}
/* Dot sits outside the FAB circle (overflow on the wrapper) */
.chat-fab-dot {
  position: absolute;
  top: -0.15rem;
  right: -0.15rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(34,197,94,0.5);
  animation: chatDotPulse 2.2s ease-in-out infinite;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.chat-fab-dot.hidden {
  opacity: 0;
  transform: scale(0);
}
@keyframes chatDotPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

.chat-panel {
  position: fixed;
  right: 1.25rem;
  bottom: 5.25rem;
  z-index: 9999;
  width: min(380px, calc(100vw - 2rem));
  max-height: min(560px, calc(100vh - 7rem));
  background: #fff;
  border-radius: 1.1rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25), 0 8px 18px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  animation: chatPanelIn 0.22s ease;
}
.chat-panel[hidden] { display: none; }
@keyframes chatPanelIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ──────────────────────────────────────────────────────────────────────────── */
/* Cookie Consent Banner — Creative film-strip style                          */
/* ──────────────────────────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999999;
  padding: 1rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-top: 4px solid #1a6b4c;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}
.cookie-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    #1a6b4c 0px,
    #1a6b4c 20px,
    #0f172a 20px,
    #0f172a 24px
  );
}
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.cookie-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  animation: cookieBounce 2s ease-in-out infinite;
}
@keyframes cookieBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.cookie-text {
  flex: 1 1 300px;
  color: #f8fafc;
}
.cookie-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #ffffff;
}
.cookie-text p {
  margin: 0;
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.5;
}
.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 0.6rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.cookie-accept {
  background: #1a6b4c;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(26, 107, 76, 0.4);
}
.cookie-accept:hover {
  background: #15573d;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(26, 107, 76, 0.5);
}
.cookie-accept:active {
  transform: translateY(0);
}
.cookie-decline {
  background: rgba(248, 250, 252, 0.1);
  color: #f8fafc;
  border: 1px solid rgba(248, 250, 252, 0.2);
}
.cookie-decline:hover {
  background: rgba(248, 250, 252, 0.15);
  border-color: rgba(248, 250, 252, 0.3);
}

@media (max-width: 640px) {
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }
  .cookie-actions {
    width: 100%;
    flex-direction: column;
  }
  .cookie-btn {
    width: 100%;
  }
}

.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, #1a6b4c, #0f4a34);
  color: #fff;
}
.chat-panel-title { display: flex; align-items: center; gap: 0.65rem; }
.chat-panel-title strong { display: block; font-size: 0.98rem; font-weight: 700; }
.chat-panel-title small { display: block; font-size: 0.72rem; opacity: 0.85; }
.chat-panel-avatar {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: #ffffff;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.chat-panel-avatar img {
  width: 1.6rem;
  height: 1.6rem;
  object-fit: contain;
  display: block;
}
.chat-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
}
.chat-close:hover { background: rgba(255, 255, 255, 0.15); }

/* Live Support / AI toggle pills */
.chat-mode-switch {
  display: flex;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}
.chat-mode-btn {
  flex: 1;
  padding: 0.45rem 0.5rem;
  border: 1px solid transparent;
  background: transparent;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0.6rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chat-mode-btn.is-active {
  background: #ffffff;
  color: #1a6b4c;
  border-color: #cbd5e1;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background: #f6f8fa;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.chat-msg {
  max-width: 82%;
  padding: 0.6rem 0.8rem;
  border-radius: 0.95rem;
  font-size: 0.9rem;
  line-height: 1.4;
  white-space: pre-wrap;
  word-wrap: break-word;
  animation: chatMsgIn 0.18s ease;
}
@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-msg.user {
  align-self: flex-end;
  background: #1a6b4c;
  color: #fff;
  border-bottom-right-radius: 0.3rem;
}
.chat-msg.assistant {
  align-self: flex-start;
  background: #fff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom-left-radius: 0.3rem;
}
.chat-msg.error {
  align-self: center;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.82rem;
}
.chat-typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.7rem 0.9rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.95rem;
  border-bottom-left-radius: 0.3rem;
}
.chat-typing span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #94a3b8;
  animation: chatTyping 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatTyping {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

.live-typing-indicator {
  font-style: italic;
  opacity: 0.7;
  font-size: 0.82rem;
}

.live-read-notice {
  align-self: center;
  font-size: 0.78rem;
  color: #1a6b4c;
  background: #e8f5f0;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  margin: 0.25rem 0;
}

.chat-form {
  display: flex;
  gap: 0.5rem;
  padding: 1.7rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
}

.ai-advice {
  font-size: small ;
  display: flex;
  position: absolute;
  bottom: 5px;
  opacity: 50%;
}

.chat-form input {
  flex: 1;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 0.75rem;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.15s ease;
}
.chat-form input:focus { border-color: #1a6b4c; }
.chat-send {
  background: #1a6b4c;
  border: none;
  color: #fff;
  border-radius: 0.75rem;
  width: 2.6rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.chat-send:hover { background: #0f4a34; }
.chat-send:disabled { background: #94a3b8; cursor: not-allowed; }
.chat-send svg { display: block; }

.chat-escalate {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 0.75rem;
  margin: 0.25rem 0;
}
.chat-escalate span { font-size: 0.8rem; color: #166534; flex: 1; }
.chat-escalate button {
  font-size: 0.8rem; padding: 0.28rem 0.7rem;
  background: #10b981; color: #fff; border: none; border-radius: 9999px; cursor: pointer;
  white-space: nowrap;
}
.chat-escalate button:hover { background: #059669; }

@media (max-width: 640px) {
  .chat-panel {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 4.75rem;
    width: auto;
    max-height: calc(100vh - 6rem);
  }
  .chat-fab-wrap { right: 1rem; bottom: 1rem; }
}

/* ─── Contact Modal ──────────────────────────────────────────────────────── */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: contactFadeIn 0.2s ease;
}
.contact-modal[hidden] { display: none; }
.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.contact-modal-panel {
  position: relative;
  background: #ffffff;
  border-radius: 1rem;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  animation: contactSlideUp 0.25s ease;
}
.contact-modal-close {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: #f1f5f9;
  color: #475569;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  z-index: 2;
}
.contact-modal-close:hover { background: #e2e8f0; color: #0f172a; }
.contact-modal-close svg { width: 1.1rem; height: 1.1rem; }
.contact-modal-header {
  padding: 3rem 1.75rem 0.5rem;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1rem;
}
.contact-modal-header h3 {
  margin: 0 0 0.35rem;
  font-size: 1.3rem;
  color: #0f172a;
  font-family: 'Playfair Display', serif;
}
.contact-modal-to {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}
.contact-modal-to strong { color: #1a6b4c; font-weight: 600; }
.contact-modal-form { padding: 1.25rem 1.75rem 1.75rem; }
.contact-modal-form .form-group { margin-bottom: 0.9rem; }
.contact-modal-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.3rem;
}
.contact-modal-form input,
.contact-modal-form textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: #0f172a;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}
.contact-modal-form input:focus,
.contact-modal-form textarea:focus {
  outline: none;
  border-color: #1a6b4c;
  box-shadow: 0 0 0 3px rgba(26, 107, 76, 0.15);
}
.contact-modal-form textarea { resize: vertical; min-height: 90px; }
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.contact-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}
.contact-modal-status {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
  flex: 1;
}
.contact-modal-status.success { color: #166534; }
.contact-modal-status.error   { color: #991b1b; }
.contact-modal-footer .btn { flex-shrink: 0; padding: 0.6rem 1.2rem; font-size: 0.88rem; }
.contact-modal-footer .btn svg { width: 1rem; height: 1rem; margin-left: 0.4rem; }

@keyframes contactFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes contactSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 540px) {
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-modal-header h3 { font-size: 1.15rem; }
  .contact-modal-header { padding: 2.75rem 1.25rem 0.8rem; }
  .contact-modal-form { padding: 1rem 1.25rem 1.5rem; }
  .contact-modal-footer { flex-direction: column; align-items: stretch; }
  .contact-modal-footer .btn { width: 100%; justify-content: center; }
}

/* ── Email OTP overlay ───────────────────────────────────────────────────── */
.otp-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.2s ease;
}
.otp-box {
  background: #fff; border-radius: 1rem; padding: 2rem 1.75rem;
  max-width: 380px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  text-align: center;
}
.otp-title {
  font-size: 1.2rem; font-weight: 700; color: #0f172a; margin: 0 0 0.5rem;
}
.otp-sub {
  font-size: 0.88rem; color: #475569; margin: 0 0 1.25rem; line-height: 1.5;
}
.otp-input {
  width: 100%; box-sizing: border-box;
  font-size: 1.8rem; font-weight: 700; letter-spacing: 0.35em;
  text-align: center; border: 2px solid #d1e8de; border-radius: 0.6rem;
  padding: 0.6rem 0.5rem; outline: none; color: #1a6b4c;
  transition: border-color 0.2s;
}
.otp-input:focus { border-color: #1a6b4c; }
.otp-hint { font-size: 0.78rem; color: #94a3b8; margin: 0.5rem 0 1.25rem; }
.otp-actions { display: flex; flex-direction: column; gap: 0.5rem; }
.otp-confirm-btn { width: 100%; justify-content: center; }
.otp-cancel-btn { font-size: 0.85rem; color: #94a3b8; }
