/* ═══════════════════════════════════════
   INDEX PAGE STYLES — keypilot
   ═══════════════════════════════════════ */

html {
  scroll-behavior: auto;
}

section[id],
div[id] {
  scroll-margin-top: 0;
}

body {
  background: #faf7f2;
  color: var(--ink);
}

.hlg {
  font-family: var(--ff);
  font-size: clamp(1.85rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
}

.blg {
  font-family: var(--fb);
  font-size: clamp(.93rem, 1.3vw, 1.04rem);
  color: var(--ink-lt);
  line-height: 1.78;
}

.gold {
  color: var(--gold);
}

/* ─── HERO ─── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: clip;
  background: var(--cream-dk);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/background.webp');
  background-size: cover;
  background-position: center;
  animation: pan 24s ease-in-out infinite alternate;
}

@keyframes pan {
  from { transform: scale(1.04); }
  to { transform: scale(1.09) translate(-1.5%, -.5%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(245, 240, 232, .90) 0%, rgba(245, 240, 232, .90) 30%, rgba(245, 240, 232, .52) 56%, rgba(245, 240, 232, 0) 76%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  animation: rise .9s ease-out both;
}

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

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--ff);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.3rem;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: .7;
}

.hero-title {
  font-family: var(--ff);
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.04;
  color: var(--forest);
  margin-bottom: 1rem;
  letter-spacing: -.025em;
}

.hero-title .ht-gold {
  color: var(--gold);
}

.hero-sub {
  font-family: var(--fb);
  font-size: clamp(.88rem, 1.3vw, 1.01rem);
  color: rgba(24, 40, 32, .88);
  max-width: 450px;
  margin-bottom: 2rem;
  line-height: 1.75;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
}


/* ─── STATS ─── */
.stats {
  background: #d4a060;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 1.4rem clamp(.75rem, 2vw, 2.5rem);
  text-align: center;
  border-right: 1px solid rgba(24, 40, 32, .14);
  cursor: default;
}

.stat:last-child {
  border-right: none;
}

.stat-n {
  font-family: var(--ff);
  font-size: clamp(1.65rem, 2.5vw, 2.5rem);
  font-weight: 800;
  color: var(--forest);
  line-height: 1;
  display: block;
}

.stat-l {
  font-family: var(--ff);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--forest-mid);
  margin-top: .26rem;
  display: block;
}

/* ─── INTRO ─── */
.intro {
  padding: var(--pad) 0;
  background: #faf7f2;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 5vw, 6.5rem);
  align-items: center;
}

.intro-img-wrap {
  border-radius: var(--rlg);
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 520px;
}

.intro-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .7s ease;
  display: block;
}

.intro-img-wrap:hover img {
  transform: scale(1.04);
}

.checks {
  list-style: none;
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: .82rem;
  font-family: var(--fb);
  font-size: clamp(.84rem, 1.2vw, .91rem);
  color: var(--ink-lt);
  line-height: 1.55;
}

.checks li::before {
  content: '';
  flex-shrink: 0;
  margin-top: .25rem;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23182820' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 6l3 3 5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}

.check-content {
  flex: 1;
  min-width: 0;
}

.check-content strong {
  color: var(--ink);
  font-weight: 600;
}

.check-detail {
  color: var(--ink-lt);
}

/* ─── SERVICES ─── */
.services {
  padding: var(--pad) 0;
  background: var(--cream);
}

.sec-hd {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(24, 40, 32, .08);
  border: 1.5px solid rgba(24, 40, 32, .08);
  border-radius: var(--rlg);
  overflow: hidden;
}

.svc-card {
  background: #faf7f2;
  padding: 2.2rem 2rem;
  position: relative;
  transition: background var(--t);
}

.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold), var(--gold));
  transform: scaleX(0);
  transition: transform .4s ease;
}

.svc-card:hover {
  background: var(--cream-dk);
}

.svc-card:hover::after {
  transform: scaleX(1);
}

.svc-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}

.svc-title {
  font-family: var(--ff);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: .5rem;
  transition: color var(--t);
}

.svc-card:hover .svc-title {
  color: var(--gold);
}

.svc-txt {
  font-family: var(--fb);
  font-size: .84rem;
  color: var(--stone);
  line-height: 1.72;
}

/* ─── PROCESS ─── */
.process {
  padding: var(--pad) 0;
  background: #faf7f2;
}

.process-hd {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.process-sub {
  font-family: var(--fb);
  font-size: .92rem;
  color: var(--stone);
  margin-top: .65rem;
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3.5rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 2.4rem;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(194, 136, 78,.15), var(--gold));
}

.step {
  text-align: center;
}

.step-n {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  background: var(--cream-dk);
  color: var(--gold);
  font-family: var(--ff);
  font-size: 1.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.3rem;
  position: relative;
  z-index: 1;
  border: 2px solid transparent;
  transition: border-color var(--t), box-shadow var(--t);
}

.step:hover .step-n {
  border-color: var(--gold);
  box-shadow: 0 0 0 6px rgba(194, 136, 78,.12);
}

.step-title {
  font-family: var(--ff);
  font-size: 1rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: .45rem;
}

.step-txt {
  font-family: var(--fb);
  font-size: .86rem;
  color: var(--ink-lt);
  line-height: 1.65;
}

/* ─── PRICING ─── */
.pricing {
  padding: var(--pad) 0;
  background: var(--cream);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
}

.pc {
  background: #faf7f2;
  border: 1px solid rgba(194, 136, 78,.28);
  border-radius: var(--rlg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pc:hover {
  transform: translateY(-6px);
  border-color: rgba(194, 136, 78,.6);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .1);
}

.pc--feat {
  border-color: var(--gold);
  background: var(--cream-dk);
}

.pc--feat:hover {
  box-shadow: 0 20px 60px rgba(194, 136, 78,.2);
}

.pc-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--forest);
  font-family: var(--ff);
  font-size: .59rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: .26rem 1rem;
  border-radius: 0 0 6px 6px;
  white-space: nowrap;
}

.pc-name {
  font-family: var(--ff);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .9rem;
}

.pc-rate {
  font-family: var(--ff);
  font-size: clamp(2.3rem, 3.3vw, 3.5rem);
  font-weight: 800;
  color: var(--forest);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
}

.pc-unit {
  font-family: var(--fb);
  font-size: .76rem;
  color: var(--stone);
  margin: .3rem 0 1.4rem;
  display: block;
  min-height: 1.6rem;
}

.pc-feats {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  border-top: 1px solid rgba(194, 136, 78,.15);
  padding-top: 1.4rem;
  flex: 1;
}

.pc-feats li {
  font-family: var(--fb);
  font-size: .83rem;
  color: var(--ink-lt);
  padding-left: 1.3rem;
  position: relative;
}

.pc-feats li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.price-footer {
  text-align: center;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.price-note {
  font-family: var(--fb);
  font-size: .78rem;
  color: var(--stone);
}

.price-divider {
  width: 60px;
  height: 1px;
  background: rgba(194, 136, 78,.2);
}

.price-info-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--ff);
  font-size: .72rem;
  font-weight: 600;
  color: var(--stone);
  cursor: pointer;
  border: 1px solid rgba(24, 40, 32, .15);
  background: transparent;
  padding: .48rem 1.2rem;
  border-radius: var(--r);
  transition: var(--t);
}

.price-info-btn:hover {
  color: var(--gold);
  border-color: rgba(194, 136, 78,.4);
  background: rgba(194, 136, 78,.07);
}

.price-info-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: .7;
}

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .8);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1.5rem, env(safe-area-inset-top)) 1.5rem max(1.5rem, env(safe-area-inset-bottom));
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: #faf7f2;
  border: 1px solid rgba(194, 136, 78,.3);
  border-radius: var(--rlg);
  padding: 2.4rem;
  max-width: 520px;
  width: 100%;
  position: relative;
  transform: translateY(16px);
  transition: transform .28s ease;
  max-height: 90vh;
  max-height: min(90svh, calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 3rem));
  overflow-y: auto;
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: .85rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(24, 40, 32, .4);
  font-size: 1.5rem;
  line-height: 1;
  transition: color var(--t);
  font-family: var(--ff);
}

.modal-close:hover {
  color: var(--ink);
}

.modal-label {
  font-family: var(--ff);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .7rem;
}

.modal-title {
  font-family: var(--ff);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--forest);
  margin-bottom: .35rem;
}

.modal-sub {
  font-family: var(--fb);
  font-size: .83rem;
  color: var(--stone);
  margin-bottom: 1.3rem;
  line-height: 1.62;
}

.modal table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: .6rem;
}

.modal table tr {
  border-bottom: 1px solid rgba(24, 40, 32, .08);
}

.modal table tr:last-child {
  border-bottom: none;
}

.modal table td {
  padding: .68rem 0;
  font-family: var(--fb);
  font-size: .86rem;
  color: var(--ink-lt);
  width: 100%;
}

.modal table td:last-child {
  width: 1%;
  padding-left: 1.5rem;
  text-align: right;
  font-weight: 600;
  color: var(--forest);
  white-space: nowrap;
}

.modal table .total-row td {
  color: var(--gold);
  font-weight: 700;
  font-size: .9rem;
  padding-top: .85rem;
}

.modal-disclaimer {
  font-family: var(--fb);
  font-size: .74rem;
  color: var(--stone);
  margin-bottom: 1.4rem;
  line-height: 1.65;
  font-style: italic;
}

.modal-divider {
  width: 100%;
  height: 1px;
  background: rgba(24, 40, 32, .08);
  margin: 1.3rem 0;
}

.modal-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .52rem;
}

.modal-checks li {
  font-family: var(--fb);
  font-size: .83rem;
  color: var(--ink-lt);
  display: flex;
  gap: .7rem;
  align-items: flex-start;
}

.modal-checks li::before {
  content: '\2713';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--ff);
}

/* ─── PLATFORMS ─── */
.plats {
  padding: 2.5rem 0;
  background: var(--cream-dk);
  border-top: 1px solid rgba(24, 40, 32, .08);
  border-bottom: 1px solid rgba(24, 40, 32, .08);
  overflow: hidden;
}

.plats-lbl {
  text-align: center;
  font-family: var(--ff);
  color: rgba(24, 40, 32, .5);
  font-size: .61rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.plats-wrap {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  /* mask uses alpha channel, works on any background color */
}

.plats-track {
  display: flex;
  gap: 0;
  align-items: center;
  animation: ticker 35s linear infinite;
  width: max-content;
}

.plats-set {
  display: flex;
  gap: 2.8rem;
  align-items: center;
  padding-right: 2.8rem;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-16.6667%); }
}

.plat-name {
  font-family: var(--ff);
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(24, 40, 32, .45);
  white-space: nowrap;
  transition: color var(--t);
}

.plat-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .3;
  flex-shrink: 0;
}

/* ─── GALLERY ─── */
.gallery {
  padding: var(--pad) 0;
  background: #faf7f2;
}

.gallery-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 270px 230px;
  gap: 8px;
  border-radius: var(--rlg);
  overflow: hidden;
  margin-top: 2rem;
}

.g-item {
  overflow: hidden;
  position: relative;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s ease;
  display: block;
}

.g-item:hover img {
  transform: scale(1.07);
}

.g-item:nth-child(1) {
  grid-row: 1 / 3;
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  padding: var(--pad) 0;
  background: var(--cream);
}

.testi-carousel-wrap {
  position: relative;
  margin-top: 3rem;
}

.testi-viewport {
  overflow: hidden;
  border-radius: var(--rlg);
}

.testi-track {
  display: flex;
  will-change: transform;
  transition: transform .45s cubic-bezier(.25, .46, .45, .94);
}

.testi-card {
  flex: 0 0 33.333%;
  box-sizing: border-box;
  padding: 0 .75rem;
}

.testi-card-inner {
  background: #faf7f2;
  border: 1px solid rgba(194, 136, 78,.22);
  border-radius: var(--rlg);
  padding: 2.2rem 2rem;
  height: 100%;
  box-sizing: border-box;
  transition: border-color var(--t);
  display: flex;
  flex-direction: column;
}

.testi-card-inner:hover {
  border-color: rgba(194, 136, 78,.55);
}

.testi-qmark {
  font-family: var(--ff);
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: .7;
  margin-bottom: .95rem;
  display: block;
  opacity: .65;
}

.testi-text {
  font-family: var(--fb);
  font-size: .9rem;
  line-height: 1.76;
  color: var(--ink-lt);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-top: auto;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--forest);
  font-family: var(--ff);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testi-name {
  font-family: var(--ff);
  font-size: .86rem;
  font-weight: 700;
  color: var(--forest);
}

.testi-loc {
  font-family: var(--fb);
  font-size: .75rem;
  color: var(--stone);
  margin-top: .1rem;
}

.testi-stars {
  font-size: .8rem;
  color: var(--gold);
  margin-left: auto;
}

.testi-arrows {
  display: flex;
  gap: .75rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.testi-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  margin-top: 2rem;
  margin-bottom: 1.4rem;
}

.testi-dot {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: rgba(194, 136, 78,.22);
  transition: width .3s cubic-bezier(.25,.46,.45,.94), background .3s ease, transform .3s cubic-bezier(.25,.46,.45,.94);
  flex-shrink: 0;
  transform: scale(1);
}

.testi-dot.active {
  width: 22px;
  background: var(--gold);
  transform: scale(1.15);
}

.testi-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid rgba(194, 136, 78,.28);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t), border-color var(--t), transform var(--t);
}

.testi-arrow:hover {
  background: rgba(194, 136, 78,.15);
  border-color: var(--gold);
  transform: scale(1.08);
}

.testi-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── FAQ ─── */
.faq {
  padding: var(--pad) 0;
  background: #faf7f2;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(3rem, 5vw, 5.5rem);
  align-items: start;
}

.faq-sticky {
  position: static;
}

.faq-list {
  list-style: none;
}

.faq-item {
  border-top: 1px solid rgba(24, 40, 32, .12);
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(24, 40, 32, .12);
}

.faq-question {
  padding: 1.2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--ff);
  font-size: .95rem;
  font-weight: 700;
  color: var(--forest);
  gap: 1rem;
  transition: color var(--t);
  user-select: none;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-toggle {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t), transform var(--t);
}

.faq-toggle svg {
  width: 10px;
  height: 10px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.faq-item.open .faq-toggle {
  background: var(--gold);
  transform: rotate(45deg);
}

.faq-item.open .faq-toggle svg {
  stroke: var(--forest);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s cubic-bezier(.4, 0, .2, 1);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.faq-answer-text {
  font-family: var(--fb);
  font-size: .87rem;
  color: var(--ink-lt);
  line-height: 1.78;
  padding: 0 0 1.25rem;
}

/* ─── CONTACT ─── */
.cta-sec {
  padding: var(--pad) 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

/* Alternating: intro=#faf7f2, services=cream, process=#faf7f2, pricing=cream,
   gallery=#faf7f2, testimonials=#faf7f2, faq=#faf7f2, contact=cream, footer=cream-dk */

.cta-sec::before {
  content: '';
  position: absolute;
  top: -35%;
  right: -8%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 136, 78,.06), transparent 70%);
  pointer-events: none;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 5vw, 5.5rem);
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: .95rem;
}

.contact-detail-icon {
  width: 35px;
  height: 35px;
  background: rgba(24, 40, 32, .06);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.6;
}

.contact-detail-label {
  font-family: var(--ff);
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: .13rem;
}

.contact-detail-text {
  font-family: var(--fb);
  font-size: .9rem;
  color: var(--forest);
}

.contact-detail-text a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t);
}

.contact-detail-text a:hover {
  color: var(--gold);
}

.form-box {
  background: #faf7f2;
  border: 1px solid rgba(194, 136, 78,.28);
  border-radius: var(--rlg);
  padding: 2.2rem;
  transition: border-color var(--t);
}

.form-box:focus-within {
  border-color: rgba(194, 136, 78,.5);
}

.fg {
  margin-bottom: .9rem;
}

.fg label {
  display: block;
  font-family: var(--ff);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: .4rem;
}

.fg input,
.fg select,
.fg textarea {
  width: 100%;
  background: #faf7f2;
  border: 1px solid rgba(24, 40, 32, .14);
  border-radius: var(--r);
  padding: .73rem 1rem;
  font-family: var(--fb);
  font-size: .9rem;
  color: var(--ink);
  outline: none;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
  -webkit-appearance: none;
  appearance: none;
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--gold);
  background: var(--cream);
  box-shadow: 0 0 0 3px rgba(194, 136, 78,.12);
}

.fg input.err,
.fg select.err {
  border-color: rgba(220, 70, 70, .6) !important;
}

.fg select option {
  background: #ffffff;
  color: var(--ink);
}

.fg textarea {
  resize: vertical;
  min-height: 82px;
}

.fg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: .9rem;
}

.fg-row .fg {
  margin-bottom: 0;
}

.fsub {
  width: 100%;
  margin-top: .4rem;
  justify-content: center;
}

.fsub:disabled {
  opacity: .68;
  cursor: not-allowed;
  transform: none !important;
}

/* ─── INDEX FOOTER EXTRAS ─── */
.footer-right-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .55rem;
  padding-top: .25rem;
}

.fcol-t {
  font-family: var(--ff);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
  display: block;
}

.flinks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.flinks a {
  font-family: var(--fb);
  font-size: .84rem;
  color: rgba(24, 40, 32, .45);
  transition: color var(--t), transform var(--t);
  display: inline-block;
}

.flinks a:hover {
  color: var(--gold);
  transform: translateX(-4px);
}

/* ─── UTILITIES ─── */
.sec-sub {
  font-family: var(--fb);
  font-size: .91rem;
  color: var(--stone);
  line-height: 1.74;
  margin-top: .9rem;
}

.sec-sub--dark {
  color: var(--stone) !important;
}

.rev {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .72s ease, transform .72s ease;
}

.rev.vis {
  opacity: 1;
  transform: translateY(0);
}

.d1 { transition-delay: .11s; }
.d2 { transition-delay: .22s; }
.d3 { transition-delay: .33s; }

/* ─── COOKIE BANNER ─── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(245, 240, 232, .97);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(194, 136, 78,.22);
  padding: 1.2rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .4s ease;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, .08);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-text {
  font-family: var(--fb);
  font-size: .83rem;
  color: var(--stone);
  line-height: 1.6;
  margin: 0;
  max-width: 680px;
}

.cookie-text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-accept {
  flex-shrink: 0;
  background: var(--gold);
  color: var(--forest);
  font-family: var(--ff);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .75rem 1.6rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero-overlay {
    background: rgba(245, 240, 232, .88);
  }
}

@media (max-width: 1024px) {
  .intro-img-wrap {
    aspect-ratio: 16 / 9;
    height: auto;
  }

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

  .stat:nth-child(2) {
    border-right: none;
  }

  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-top: 1px solid rgba(24, 40, 32, .14);
  }

  .intro-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

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

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

  .steps::before {
    display: none;
  }

  .price-grid {
    max-width: 680px;
  }

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

  .faq-sticky {
    position: static;
  }

  .gallery-grid {
    grid-template-rows: 220px 200px;
  }
}

@media (max-width: 900px) {
  .check-content {
    display: flex;
    flex-direction: column;
    gap: .05rem;
  }

  .check-detail::before {
    content: '';
  }
}

@media (max-width: 768px) {
  .testi-card {
    flex: 0 0 100%;
    padding: 0 .5rem;
  }

  .testi-viewport {
    border-radius: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 160px 200px;
    gap: 6px;
  }

  .g-item:nth-child(1) {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
  }

  .g-item:nth-child(2) {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
  }

  .g-item:nth-child(3) {
    grid-row: 2 / 3;
    grid-column: 1 / 3;
  }

  .g-item:nth-child(4) {
    grid-row: 3 / 4;
    grid-column: 1 / 2;
  }

  .g-item:nth-child(5) {
    grid-row: 3 / 4;
    grid-column: 2 / 3;
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 3.5rem;
  }

  .hero-title {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  .svc-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    align-items: flex-start;
    flex-direction: column;
  }

  .fg-row {
    grid-template-columns: 1fr;
    gap: .9rem;
  }

  .fg textarea {
    min-height: 110px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 140px 180px;
    gap: 5px;
  }

  .price-grid {
    grid-template-columns: 1fr !important;
    max-width: 440px !important;
  }
}

@media (max-width: 540px) {
  .modal-examples {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
