/* ===== Variables ===== */
:root {
  /* Pastel palette */
  --pastel-mint: #d4edda;
  --pastel-lavender: #e2d5f1;
  --pastel-peach: #ffe5d9;
  --pastel-sky: #d4e8f7;
  --pastel-blush: #f8e1e8;
  --pastel-cream: #fef9f3;
  --pastel-sage: #dde5e0;
  /* Neutrals */
  --white: #ffffff;
  --off-white: #fafbfc;
  --ink: #1a1a24;
  --ink-soft: #3d3d4a;
  --ink-muted: #6b6b7b;
  /* Accent */
  --accent: #7c6ab8;
  --accent-dark: #5a4d8a;
  /* Sharpness */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(26, 26, 36, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 26, 36, 0.08);
  --shadow-lg: 0 16px 48px rgba(26, 26, 36, 0.1);
  /* Layout */
  --container: min(92%, 1120px);
  --header-h: 72px;
  --font-sans: 'Outfit', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--off-white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Layout ===== */
.container { width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid rgba(26, 26, 36, 0.06);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.logo:hover { text-decoration: none; color: var(--accent); }
.nav {
  display: flex;
  gap: 2rem;
}
.nav a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--accent); }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) 1.5rem 3rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(232, 225, 240, 0.88) 0%,
    rgba(212, 232, 247, 0.85) 50%,
    rgba(254, 249, 243, 0.9) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  text-align: center;
}
.hero-tag {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
.hero-lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  margin: 0 0 2rem;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: none;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { box-shadow: var(--shadow-md); background: var(--accent-dark); }
.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 2px solid rgba(26, 26, 36, 0.12);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ===== Sections ===== */
.section {
  padding: 4.5rem 0;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.section-lead {
  font-size: 1.1rem;
  color: var(--ink-muted);
  margin: 0 0 2.5rem;
  max-width: 560px;
}

/* ===== Services ===== */
.services { background: var(--pastel-cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26, 26, 36, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.25rem 1.25rem 0.5rem;
  color: var(--ink);
}
.service-card p {
  margin: 0 1.25rem 1.5rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* ===== Gallery ===== */
.gallery { background: linear-gradient(180deg, var(--pastel-sky) 0%, var(--pastel-lavender) 100%); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(26, 26, 36, 0.7));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===== About ===== */
.about { background: var(--white); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-content .section-title { margin-bottom: 1rem; }
.about-content p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-image img { width: 100%; height: auto; }

/* ===== Contact ===== */
.contact { background: var(--pastel-blush); }
.contact-block {
  max-width: 480px;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26, 26, 36, 0.06);
}
.contact-url {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.contact-url a { color: var(--accent); }
.contact-url a:hover { text-decoration: none; }
.contact-company { font-weight: 600; color: var(--ink); margin: 0 0 0.25rem; }
.contact-location { color: var(--ink-muted); margin: 0 0 1rem; }
.contact-note { font-size: 0.9rem; color: var(--ink-muted); margin: 0; }

/* ===== Contact form ===== */
.contact-form {
  position: relative;
  max-width: 520px;
  margin-top: 2rem;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26, 26, 36, 0.06);
}
.form-row {
  margin-bottom: 1.25rem;
}
.form-row:last-of-type { margin-bottom: 1.5rem; }
.form-row--hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.form-row--hp input { position: absolute; }
.form-feedback {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}
.form-feedback--success {
  background: var(--pastel-mint);
  color: #155724;
  border: 1px solid rgba(21, 87, 36, 0.2);
}
.form-feedback--error {
  background: #fde8e8;
  color: #721c24;
  border: 1px solid rgba(114, 28, 36, 0.2);
}
.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.contact-form .char-count {
  font-weight: 400;
  color: var(--ink-muted);
  font-size: 0.85rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--off-white);
  border: 1px solid rgba(26, 26, 36, 0.12);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 106, 184, 0.15);
}
.contact-form textarea {
  resize: vertical;
  min-height: 4.5em;
}
.contact-form button[type="submit"] { margin-top: 0.25rem; }

/* 8-digit verification step */
.code-step {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26, 26, 36, 0.08);
}
.code-step-label {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.code-display {
  font-family: ui-monospace, monospace;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ink);
  margin: 0 0 1rem;
  padding: 0.5rem 0;
}
.code-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* ===== Footer ===== */
.site-footer {
  padding: 2rem 0;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}
.footer-inner { padding-top: 0.5rem; }
.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}
.footer-legal { margin: 0; font-size: 0.9rem; opacity: 0.9; }
.footer-credits { margin: 0.75rem 0 0; font-size: 0.8rem; opacity: 0.7; }
.footer-credits a { color: var(--pastel-sky); }

/* ===== Mobile ===== */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-image { order: -1; max-height: 320px; }
  .about-image img { width: 100%; height: 100%; object-fit: cover; }
}
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--pastel-cream);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; }
  .nav a { font-size: 1.1rem; }
  .menu-toggle { display: flex; }
  .gallery-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; }
  .section { padding: 3rem 0; }
}
