/* ============================================================
   SketchSelfie ver2 – styles.css
   Design: Clean B2B inspired by payjustnow.com
   Palette: Ocean Depths (Navy · Teal · Seafoam · Cream)
   ============================================================ */

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

:root {
  --navy:    #1a2332;
  --navy-80: #1a2332cc;
  --teal:    #2d8b8b;
  --teal-20: #2d8b8b33;
  --seafoam: #a8dadc;
  --cream:   #f1faee;
  --white:   #ffffff;
  --surface: #f5f7fa;
  --border:  #e4e7eb;
  --text:    #1a2332;
  --text-2:  #5a6a80;
  --text-3:  #8896a8;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(26,35,50,.08), 0 1px 2px rgba(26,35,50,.05);
  --shadow-md: 0 4px 16px rgba(26,35,50,.10), 0 2px 6px rgba(26,35,50,.06);
  --shadow-lg: 0 16px 48px rgba(26,35,50,.14), 0 4px 12px rgba(26,35,50,.07);

  --transition: 240ms cubic-bezier(.4,0,.2,1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
details, summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

/* ── CONTAINER ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { line-height: 1.7; }

em { font-style: normal; color: var(--teal); }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
}

.btn--sm  { padding: 10px 20px; font-size: .875rem; }
.btn--md  { padding: 14px 28px; font-size: 1rem; }
.btn--lg  { padding: 16px 32px; font-size: 1.05rem; }
.btn--full { width: 100%; justify-content: center; }

.btn--primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn--primary:hover { background: #246e6e; border-color: #246e6e; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(45,139,139,.35); }

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }

.btn--white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn--white:hover { background: var(--seafoam); border-color: var(--seafoam); transform: translateY(-1px); }

.btn--ghost-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn--ghost-white:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

/* ── BADGES ───────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 6px 14px;
}
.badge--outline {
  border: 1.5px solid var(--teal);
  color: var(--teal);
}

/* ── NAVIGATION ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--navy);
  text-transform: uppercase;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.nav__links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--teal); }

/* ── Digital Sketch Wall nav button ── */
.nav__wall-btn {
  color: var(--teal) !important;
  border: 1.5px solid var(--teal);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: inherit;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s, background .2s, box-shadow .2s;
  animation: wall-btn-shimmer 3s ease-in-out infinite;
}
.nav__wall-btn:hover {
  background: var(--teal);
  color: #fff !important;
  border-color: var(--teal);
  animation: none;
  box-shadow: none;
}

@keyframes wall-btn-shimmer {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45,139,139,0); }
  50%      { box-shadow: 0 0 8px 2px rgba(45,139,139,.35); }
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-2);
  transition: color var(--transition), background var(--transition);
}
.nav__icon:hover { color: var(--teal); background: var(--teal-20); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 60px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fbff 0%, var(--cream) 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero__title {
  color: var(--navy);
  line-height: 1.1;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 520px;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__partner {
  font-size: .85rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.partner-link { color: var(--teal); font-weight: 600; }
.partner-link:hover { text-decoration: underline; }

.hero__visual { position: relative; }

.hero__img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy);
}

.hero__img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.hero__img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.96);
  border-radius: var(--r-md);
  padding: 10px 16px;
  box-shadow: var(--shadow-md);
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
}
.hero__gif {
  width: 44px;
  height: 44px;
  border-radius: var(--r-xs);
  object-fit: cover;
}

/* ── STATS BAR ────────────────────────────────────────────── */
.stats {
  background: var(--navy);
  padding: 40px 0;
}

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

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 20px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat:last-child { border-right: none; }

.stat__number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--seafoam);
  line-height: 1;
  letter-spacing: -.03em;
}
.stat__label {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-top: 6px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ── SECTIONS ─────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section--light { background: var(--surface); }
.section--dark  { background: var(--navy); }

.section__header {
  text-align: center;
  margin-bottom: 64px;
}
.section__header--light .section__title,
.section__header--light .section__desc {
  color: var(--white);
}

.section__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section__tag--light { color: var(--seafoam); }

.section__title {
  color: var(--navy);
  margin-bottom: 16px;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 560px;
  margin-inline: auto;
}

/* ── HOW IT WORKS ─────────────────────────────────────────── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.step__num {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.step__img-wrap {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--border);
  box-shadow: var(--shadow-md);
}
.step__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step__title {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.step__desc { font-size: .92rem; color: var(--text-2); }

.step__connector {
  flex-shrink: 0;
  width: 64px;
  color: var(--seafoam);
  margin-top: 120px;
  opacity: .6;
}
.step__connector svg { width: 100%; }

/* ── FEATURES GRID ────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px 28px;
  transition: all var(--transition);
}
.feature-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-3px); }

.feature-card--accent {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.feature-card--accent h3 { color: var(--seafoam); }
.feature-card--accent p  { color: rgba(255,255,255,.72); }
.feature-card--accent .feature-card__icon { color: var(--seafoam); }

.feature-card__icon {
  width: 44px;
  height: 44px;
  color: var(--teal);
  margin-bottom: 20px;
}
.feature-card__icon svg { width: 44px; height: 44px; }

.feature-card h3 { margin-bottom: 10px; }
.feature-card p  { font-size: .92rem; color: var(--text-2); }

/* ── OPTIONS ──────────────────────────────────────────────── */
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.option-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.option-card:hover { border-color: var(--teal); box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.option-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface);
}
.option-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.option-card:hover .option-card__img img { transform: scale(1.04); }
.option-card:first-child .option-card__img img { object-fit: contain; }

.option-card__body { padding: 28px; flex: 1; }

.option-card__tag {
  display: block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.option-card__body h3 { color: var(--navy); margin-bottom: 10px; }
.option-card__body p  { font-size: .92rem; color: var(--text-2); }

/* ── CAROUSEL (vertical Shorts-style) ────────────────────── */
.carousel-wrap {
  position: relative;
  padding: 28px 0;
  overflow: hidden;
}

.carousel {
  display: flex;
  gap: 14px;
  align-items: center;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  padding: 0 8px;
}

/* each card is a link */
.carousel__slide {
  flex: 0 0 210px;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform .4s cubic-bezier(.4,0,.2,1),
    opacity   .4s ease,
    box-shadow .4s ease;
  opacity: .45;
  transform: scale(.88);
}
.carousel__slide.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 0 3px var(--teal), 0 24px 52px rgba(45,139,139,.45);
  z-index: 2;
}
.carousel__slide:hover:not(.active) {
  opacity: .72;
  transform: scale(.92);
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark overlay */
.carousel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.08) 0%,
    rgba(0,0,0,.25) 45%,
    rgba(0,0,0,.78) 100%
  );
  transition: background .3s;
}
.carousel__slide.active .carousel__overlay {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0)   0%,
    rgba(0,0,0,.12) 45%,
    rgba(0,0,0,.72) 100%
  );
}

/* Play button */
.carousel__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all .3s ease;
}
.carousel__play-btn svg {
  width: 18px;
  height: 18px;
  color: var(--navy);
  margin-left: 3px;
}
.carousel__slide.active .carousel__play-btn {
  width: 52px;
  height: 52px;
  background: var(--teal);
  box-shadow: 0 0 0 8px rgba(45,139,139,.25);
}
.carousel__slide.active .carousel__play-btn svg { color: #fff; width: 20px; height: 20px; }
.carousel__slide:hover .carousel__play-btn { transform: translate(-50%, -60%) scale(1.12); }

/* Caption */
.carousel__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 14px 16px;
  z-index: 3;
}
.carousel__caption strong {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.3;
}
.carousel__caption span {
  font-size: .7rem;
  color: rgba(255,255,255,.72);
  line-height: 1.4;
}

/* Controls */
.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.carousel__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  color: var(--white);
  transition: all var(--transition);
}
.carousel__btn:hover { background: var(--teal); border-color: var(--teal); }
.carousel__btn svg   { width: 20px; height: 20px; }

.carousel__dots { display: flex; gap: 8px; }

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.carousel__dot.active { background: var(--seafoam); width: 24px; border-radius: 4px; }

/* ── GALLERY GRID ─────────────────────────────────────────── */
/*
  3 columns, 6 items, checkerboard pattern:
  col1: portrait → square
  col2: square   → portrait
  col3: portrait → square
*/
.gallery-grid {
  columns: 3;
  column-gap: 14px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}

.gallery-item--portrait { aspect-ratio: 2 / 3; }
.gallery-item--square   { aspect-ratio: 1 / 1; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}
.gallery-item:hover img { transform: scale(1.04); }

/* ── EVENT PHOTO GALLERY (slider) ────────────────────────── */
.event-gallery {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
}
.event-gallery__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0;
}
.event-gallery__track::-webkit-scrollbar { display: none; }

.event-gallery__slide {
  flex: 0 0 300px;
  scroll-snap-align: start;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 3 / 4;
}
.event-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}
.event-gallery__slide:hover img { transform: scale(1.04); }

.event-gallery__controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.event-gallery__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  color: var(--white);
}
.event-gallery__btn:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.event-gallery__btn svg { width: 20px; height: 20px; }

@media (max-width: 768px) {
  .event-gallery__slide { flex: 0 0 260px; }
}
@media (max-width: 480px) {
  .event-gallery__slide { flex: 0 0 220px; }
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--teal); }

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  user-select: none;
  transition: color var(--transition);
  list-style: none;
}
.faq-item__q:hover { color: var(--teal); }

.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-3);
  transition: transform var(--transition);
}
.faq-item__icon svg { width: 20px; height: 20px; }
.faq-item[open] .faq-item__icon { transform: rotate(180deg); color: var(--teal); }

.faq-item__a {
  padding: 0 24px 22px;
}
.faq-item__a p {
  font-size: .95rem;
  color: var(--text-2);
  line-height: 1.75;
}

/* ── CTA BANNER ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #0d3d5a 100%);
  padding: 80px 0;
}

.cta-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}

.cta-banner__content h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}
.cta-banner__content p { color: rgba(255,255,255,.7); font-size: 1rem; }

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

/* ── CONTACT ──────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section__title { text-align: left; margin-bottom: 20px; }
.contact-info__text { font-size: 1rem; color: var(--text-2); margin-bottom: 32px; }

.contact-info__channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.channel-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--teal);
  padding: 14px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  transition: all var(--transition);
}
.channel-link:hover { border-color: var(--teal); background: var(--teal-20); }

/* ── FORM ─────────────────────────────────────────────────── */
.contact-form-wrap {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 40px;
  border: 1.5px solid var(--border);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.form-group input {
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(45,139,139,.15); }
.form-group input::placeholder { color: var(--text-3); }

/* intl-tel-input overrides */
.iti { width: 100%; }
.iti__tel-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: .95rem;
  font-family: var(--font);
  color: var(--navy);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.iti__tel-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(45,139,139,.15); }
.iti__tel-input::placeholder { color: var(--text-3); }
.iti__flag-container { z-index: 10; }
.iti--separate-dial-code .iti__selected-dial-code { font-size: .9rem; color: var(--navy); }

.form-success,
.form-error {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: .92rem;
  font-weight: 600;
}
.form-success {
  background: #e8f7f0;
  color: #1a7a4a;
}
.form-success svg { width: 18px; height: 18px; flex-shrink: 0; }
.form-error {
  background: #fef2f2;
  color: #c0392b;
}
.form-success.show,
.form-error.show { display: flex; }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
}
.footer__logo {
  height: 24px;
  width: auto;
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: .9;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--seafoam); }

.footer__copy {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  width: 100%;
  text-align: center;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__img { height: 420px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { columns: 2; }
}

/* mobile overlay (outside header to bypass iOS stacking context) */
.nav__mobile-overlay{
  display:none;
  position:fixed;top:0;left:0;width:100%;height:100%;
  flex-direction:column;
  background:#ffffff;
  z-index:9999;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}
.nav__mobile-overlay.open{display:flex}
.nav__mobile-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 24px;
  padding-top:max(16px, env(safe-area-inset-top, 16px));
  border-bottom:1px solid var(--border);
  flex-shrink:0;
}
.nav__close{
  background:none;border:none;cursor:pointer;padding:8px;
  display:flex;align-items:center;justify-content:center;
}
.nav__close svg{width:28px;height:28px;color:var(--navy)}
.nav__mobile-links{
  flex:1;display:flex;flex-direction:column;
  justify-content:center;align-items:center;gap:28px;
  padding:40px 24px;
}
.nav__mobile-links a{
  font-size:1.25rem;font-weight:600;color:var(--navy);
  text-decoration:none;transition:color .2s;
}
.nav__mobile-links a:hover{color:var(--teal)}
.nav__mobile-links .btn{margin-top:8px;background:var(--teal);border-color:var(--teal);color:var(--white)}
.nav__mobile-footer{
  display:flex;gap:12px;
  padding:20px 24px;
  padding-bottom:max(20px, env(safe-area-inset-bottom, 20px));
  border-top:1px solid var(--border);
  flex-shrink:0;
}
.nav__mobile-messenger{
  flex:1;display:flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 0;border-radius:var(--r-sm);
  font-size:.9rem;font-weight:600;color:#fff;text-decoration:none;
  transition:opacity .2s;
}
.nav__mobile-messenger:hover{opacity:.85}
.nav__mobile-messenger svg{width:20px;height:20px;flex-shrink:0}
.nav__mobile-messenger--tg{background:#2AABEE}
.nav__mobile-messenger--wa{background:#25D366}

@media (max-width: 768px) {
  .nav__links--desktop { display: none; }
  .nav__actions .btn { display: none; }
  .nav__burger { display: flex; position:relative; z-index:10000; }

  .hero { padding: 48px 0 40px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__img { height: 300px; }
  .hero__img-badge { display: none; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding: 20px; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }

  .steps { flex-direction: column; align-items: center; }
  .step__connector { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .options-grid  { grid-template-columns: 1fr; }

  .gallery-grid { columns: 2; }

  .cta-banner__inner { grid-template-columns: 1fr; }
  .cta-banner__actions { flex-direction: row; flex-wrap: wrap; }

  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 28px 20px; }

  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__copy { text-align: left; }

  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 1; }
  .cta-banner__actions { flex-direction: column; }
  .cta-banner__actions .btn { width: 100%; justify-content: center; }
}

/* ── SKETCH DEMO ─────────────────────────────────────────── */
.sketch-demo {
  max-width: 480px;
  margin: 0 auto;
}

.sketch-demo .form-group { margin-bottom: 16px; }
.sketch-demo .form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.sketch-demo .form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: .95rem;
  background: var(--white);
  transition: border-color .2s;
}
.sketch-demo .form-group input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-20);
}

.sketch-demo__drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 36px 24px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  margin-bottom: 20px;
  text-align: center;
}
.sketch-demo__drop:hover,
.sketch-demo__drop.drag-over {
  border-color: var(--teal);
  background: var(--teal-20);
}
.sketch-demo__drop svg { color: var(--muted); }
.sketch-demo__drop p {
  font-size: .95rem;
  color: var(--text);
  font-weight: 500;
}
.sketch-demo__drop span {
  font-size: .8rem;
  color: var(--muted);
}

.sketch-demo__preview {
  position: relative;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.sketch-demo__preview img {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  background: var(--surface);
}
.sketch-demo__remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.sketch-demo__processing,
.sketch-demo__success,
.sketch-demo__error {
  text-align: center;
  padding: 48px 24px;
}
#sketchStatus { transition: opacity .3s ease; }
.sketch-demo__processing p,
.sketch-demo__success p,
.sketch-demo__error p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 16px 0 8px;
}
.sketch-demo__processing span,
.sketch-demo__success span,
.sketch-demo__error span {
  display: block;
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.sketch-demo__spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--teal);
  border-radius: 50%;
  margin: 0 auto;
  animation: sketchSpin 1s linear infinite;
}
@keyframes sketchSpin { to { transform: rotate(360deg); } }

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.anim-fade-up { animation: fadeUp .6s cubic-bezier(.4,0,.2,1) both; }
.anim-fade-in { animation: fadeIn .6s ease both; }
