/* ============================================
   Alila Services — shared stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --cream: #F2E8D8;
  --cream-soft: #EBE0CC;
  --navy: #16323E;
  --navy-dark: #102530;
  --maroon: #7A2E39;
  --maroon-dark: #632530;
  --olive: #6B6B3E;
  --dusty-blue: #6E93A6;
  --tan: #C9BFA8;
  --ink: #1D2B2F;
  --white: #FFFFFF;

  --font-head: 'Baloo 2', 'Poppins', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-card: 0 10px 30px rgba(22, 50, 62, 0.10);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

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

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 10px;
}
.eyebrow.on-dark { color: var(--tan); }

.rule {
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background: var(--maroon);
  margin: 0 0 18px;
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--maroon);
  color: var(--cream);
}
.btn-primary:hover { background: var(--maroon-dark); box-shadow: 0 8px 20px rgba(122,46,57,0.35); }

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

.btn-outline.on-dark {
  border-color: var(--cream);
  color: var(--cream);
}
.btn-outline.on-dark:hover { background: var(--cream); color: var(--navy); }

.btn-light {
  background: var(--cream);
  color: var(--navy);
}
.btn-light:hover { background: var(--white); }

.btn-sm { padding: 10px 20px; font-size: 0.75rem; }
.btn-block { width: 100%; justify-content: center; }

/* -------- Header -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(22,50,62,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; }
.brand img.brand-badge { height: 140px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.main-nav a:hover,
.main-nav a.active { border-color: var(--maroon); color: var(--maroon); }

.header-actions { display: flex; align-items: center; gap: 22px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 2px;
}

/* -------- Hero -------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 100px;
}
.hero-blob {
  position: absolute;
  top: -10%;
  right: -12%;
  width: 62%;
  height: 130%;
  background: var(--navy);
  border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-copy p.lead {
  font-size: 1.08rem;
  max-width: 44ch;
  color: var(--navy-dark);
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-art {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coin-cluster {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1.2 / 1;
}
.coin {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 30px rgba(0,0,0,0.25);
}
.coin svg, .coin img { width: 55%; height: 55%; }
.coin.c1 { width: 42%; aspect-ratio:1; background: var(--maroon); top: 4%; left: 6%; }
.coin.c2 { width: 40%; aspect-ratio:1; background: var(--olive); top: 0; left: 42%; }
.coin.c3 { width: 44%; aspect-ratio:1; background: var(--dusty-blue); top: 22%; left: 58%; }
.coin.c4 { width: 30%; aspect-ratio:1; background: var(--cream); top: 58%; left: 18%; }
.coin.c5 { width: 34%; aspect-ratio:1; background: var(--navy-dark); top: 60%; left: 46%; border: 3px solid var(--cream); }

/* -------- Sections -------- */
.section { padding: 90px 0; }
.section-tight { padding: 60px 0; }
.section-maroon { background: var(--maroon); color: var(--cream); }
.section-maroon h2, .section-maroon h3 { color: var(--cream); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy h2, .section-navy h3 { color: var(--cream); }
.section-soft { background: var(--cream-soft); }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.wwm-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: end;
  max-width: none;
}

/* -------- What we make cards -------- */
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.offer-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.offer-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.offer-icon svg { width: 30px; height: 30px; stroke: var(--cream); }
.offer-icon img { width: 32px; height: 32px; }
.offer-card h3 { font-size: 1rem; margin-bottom: 8px; }
.offer-card p { font-size: 0.88rem; color: #56636a; margin: 0; }

.bg-maroon { background: var(--maroon); }
.bg-olive { background: var(--olive); }
.bg-blue { background: var(--dusty-blue); }
.bg-navy { background: var(--navy); }
.bg-tan { background: var(--tan); }

/* -------- Process steps -------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 10px;
}
.step { position: relative; padding-left: 0; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  right: -15px;
  bottom: 4px;
  width: 1px;
  background: rgba(242,232,216,0.25);
}
.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(242,232,216,0.12);
  border: 2px solid var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step-icon svg { width: 26px; height: 26px; stroke: var(--cream); fill: none; }
.step-icon img { width: 28px; height: 28px; }
.step h3 { font-size: 0.95rem; letter-spacing: 0.03em; }
.step p { font-size: 0.9rem; opacity: 0.85; margin: 0; }

/* -------- Work / gallery grid -------- */
.work-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.work-tile {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-tile svg, .work-tile img { width: 46%; height: 46%; }
.work-tile .tile-label {
  position: absolute;
  bottom: 10px;
  left: 12px;
  right: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.filter-btn {
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-btn:hover { background: rgba(22,50,62,0.08); }
.filter-btn.active { background: var(--navy); color: var(--cream); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-item { display: none; }
.gallery-item.show { display: block; }
.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--white);
}
.gallery-thumb {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-thumb svg, .gallery-thumb img { width: 42%; height: 42%; }
.gallery-card-body { padding: 16px 18px 20px; }
.gallery-card-body h3 { font-size: 1rem; margin-bottom: 4px; }
.gallery-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--maroon);
}

/* -------- Contact form -------- */
.contact-panel {
  background: var(--dusty-blue);
  background: linear-gradient(160deg, #DCE7EA 0%, #C6D8DD 100%);
  border-radius: var(--radius-lg);
  padding: 46px;
  position: relative;
  overflow: hidden;
}
.contact-panel::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -20%;
  width: 260px;
  height: 260px;
  background: rgba(255,255,255,0.35);
  border-radius: 50%;
}
.contact-panel form { position: relative; z-index: 1; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-row.single { grid-template-columns: 1fr; }

input, select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 14px 16px;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.85);
  color: var(--ink);
}
input::placeholder, textarea::placeholder { color: #6b7a80; }
textarea { resize: vertical; min-height: 90px; }

.file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  padding: 10px 10px 10px 16px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: #6b7a80;
}
.file-row .btn { padding: 8px 16px; font-size: 0.7rem; }

/* -------- Product / shop cards -------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.product-thumb {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-thumb svg, .product-thumb img { width: 40%; height: 40%; }
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--maroon);
  color: var(--cream);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.product-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body h3 { margin: 0; font-size: 1.02rem; }
.product-price { font-family: var(--font-head); font-weight: 700; color: var(--maroon); font-size: 1.15rem; }
.product-desc { font-size: 0.86rem; color: #56636a; margin: 0; flex: 1; }

/* -------- Testimonials / stats -------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat h2 { color: var(--cream); margin-bottom: 4px; }
.stat p { text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.78rem; opacity: 0.85; margin: 0; }

.social-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 34px 0;
}
.social-strip a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}
.social-strip svg { width: 22px; height: 22px; }

/* -------- Two column content -------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius-lg);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-media svg, .split-media img { width: 34%; height: 34%; }

/* -------- Footer -------- */
.site-footer {
  background: var(--cream-soft);
  border-top: 1px solid rgba(22,50,62,0.08);
  padding: 40px 0 0;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 34px;
}
.footer-tagline { font-size: 0.92rem; color: var(--navy-dark); }
.footer-tagline strong { display: block; color: var(--navy); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.footer-social svg { width: 18px; height: 18px; }
.footer-social a:hover { background: var(--navy); color: var(--cream); }
.footer-bottom {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  padding: 16px 0;
}

/* -------- Page hero (inner pages) -------- */
.page-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid rgba(22,50,62,0.08);
}
.page-hero .eyebrow { margin-bottom: 6px; }
.page-hero p.lead { max-width: 60ch; color: var(--navy-dark); }
.breadcrumb { font-size: 0.8rem; color: var(--maroon); font-weight: 700; margin-bottom: 10px; }

/* -------- CTA banner -------- */
.cta-banner {
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  background: var(--navy);
  color: var(--cream);
}
.cta-banner h2 { color: var(--cream); }
.cta-actions { display: flex; gap: 16px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }

/* -------- Responsive -------- */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-actions .btn-primary { display: none; }
  .brand img.brand-badge { height: 84px; }
  .hero .container, .split, .work-split { grid-template-columns: 1fr; }
  .section-head.wwm-head { grid-template-columns: 1fr; }
  .hero-blob { display: none; }
  .hero-art {
    min-height: 300px;
    background: var(--navy);
    border-radius: 32px;
    padding: 30px 16px;
  }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .gallery-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .grid-5, .product-grid, .gallery-grid, .work-grid, .stats-row { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 40px 24px; }
  .contact-panel { padding: 28px; }
}

/* -------- Mobile nav drawer -------- */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--cream);
  border-bottom: 1px solid rgba(22,50,62,0.08);
  padding: 10px 24px 22px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 0;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--navy);
  border-bottom: 1px solid rgba(22,50,62,0.08);
}
.mobile-nav .btn { margin-top: 16px; }
