/* Core tokens */
:root {
  --bg: #f3efe8;
  --panel: #ffffff;
  --muted: #6c7076;
  --text: #1f2328;
  --accent: #d06f2d;
  --accent-2: #4f8ca5;
  --border: #e1dcd3;
  --shadow: 0 18px 40px rgba(18, 23, 34, 0.12);
  --radius: 16px;
}

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

body {
  margin: 0;
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

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

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

/* Layout helpers */
.shell {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section--contrast {
  background: #f6f2ea;
}

.section__head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}

.section__lead {
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 8px;
}

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

/* Header / Nav */
.site-header {
  position: relative;
  padding-bottom: 48px;
  background: radial-gradient(circle at 18% 10%, rgba(208, 111, 45, 0.12), transparent 30%), var(--bg);
}

.nav-bar {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 18px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  position: relative;
}

.nav-bar__left {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav-bar__right {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
}

.brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #ef8b47);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__name { font-weight: 800; }
.brand__tag { color: var(--muted); font-size: 13px; }

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(31, 35, 40, 0.08);
}

.link-phone {
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #ef8b47);
  color: #fff;
  box-shadow: 0 12px 30px rgba(208, 111, 45, 0.25);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 42px rgba(208, 111, 45, 0.32);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(31, 35, 40, 0.1);
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  display: block;
}

/* Hero */
.hero {
  width: min(1200px, 92vw);
  margin: 12px auto 0;
  padding: 48px 44px;
  border-radius: 24px;
  color: #fff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 600;
}

h1 {
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1.1;
  margin: 14px 0 12px;
}

.lede {
  color: #e8ecf1;
  font-size: 17px;
  margin-bottom: 22px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero__badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px 14px;
  backdrop-filter: blur(6px);
}

.hero-stat strong { display: block; font-size: 20px; color: #fff; }
.hero-stat span { color: #dbe2ea; font-size: 14px; }

.hero__visual {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.mascot-card {
  width: min(380px, 100%);
  border-radius: 18px;
  background: linear-gradient(150deg, #fff7ee, #f1ebdf);
  box-shadow: var(--shadow);
  padding: 14px;
  position: relative;
  overflow: hidden;
}

.mascot-card__label {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(31, 35, 40, 0.08);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  color: var(--text);
}

.mascot-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.hero__panel {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* Cards / Services */
.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 18px 18px 20px;
}

.card__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 8px;
}

.card ul {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

/* Compare */
.compare-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
}

.compare {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #dcd4c6;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  --pos: 50%;
}

.compare__img {
  width: 200%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  pointer-events: none;
}

.compare__img--before {
  transform: translateX(0);
  object-position: left center;
  filter: saturate(0.8);
}

.compare__after {
  position: absolute;
  inset: 0;
  width: var(--pos);
  overflow: hidden;
}

.compare__img--after {
  transform: translateX(-50%);
  object-position: right center;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.08));
}

.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.compare__handle {
  position: absolute;
  top: 0;
  left: var(--pos);
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: rgba(31, 35, 40, 0.3);
  pointer-events: none;
  display: grid;
  place-items: center;
}

.compare__handle span {
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: var(--shadow);
  position: relative;
}

.compare__handle span::before,
.compare__handle span::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 10px;
  height: 2px;
  background: var(--text);
  transform: translateY(-50%);
}
.compare__handle span::before { left: 10px; }
.compare__handle span::after { right: 10px; }

.info-card {
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 18px;
}

.info-card ul {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.info-card li { margin-bottom: 8px; }
.info-card li span {
  font-weight: 700;
  display: inline-block;
  width: 110px;
}

/* Gallery */
.gallery {
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.gallery__item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery__item:hover img {
  transform: scale(1.03);
}

.gallery__item figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(18, 23, 34, 0) 45%, rgba(18, 23, 34, 0.65));
  color: #fff;
}

.gallery__item span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}

/* Process */
.process {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step__number {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(79, 140, 165, 0.14);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--text);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.stat {
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat__value {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
}

/* Contact */
.contact {
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.contact__details a {
  font-weight: 700;
}

.contact__form {
  display: grid;
  gap: 10px;
}

.contact__form label { font-weight: 700; }

.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 15px;
  background: #fff;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: 2px solid rgba(79, 140, 165, 0.35);
}

/* Footer */
.footer {
  background: #1e1f22;
  color: #f3f4f6;
  padding: 32px 0;
}

.footer__inner {
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: center;
}

.logo {
  font-weight: 800;
  margin: 0 0 4px;
}

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

.footer__links a {
  color: #e5e7eb;
  font-weight: 600;
}

.footer__links a:hover { color: #fff; }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1000;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

.lightbox__content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
  max-width: 900px;
  width: min(90vw, 900px);
}

.lightbox__content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.lightbox__caption {
  margin: 10px 4px 4px;
  color: var(--muted);
}

.lightbox__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: #fff;
  font-size: 26px;
  cursor: pointer;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .section__head { grid-template-columns: 1fr; }
  .compare-layout { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-bar { grid-template-columns: 1fr; }
  .nav-bar__left { justify-content: space-between; }
  .nav-bar__right { justify-content: space-between; width: 100%; }
  .nav { 
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--panel);
    padding: 14px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    z-index: 20;
  }
  body.nav-open .nav { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding: 32px 26px; }
  .gallery__item img { height: 220px; }
  .stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}
