:root {
  --background: oklch(0.985 0.002 260);
  --foreground: oklch(0.20 0.045 264);
  --card: oklch(1 0 0);
  --primary: oklch(0.33 0.095 264);
  --primary-foreground: oklch(0.99 0 0);
  --secondary: oklch(0.945 0.004 260);
  --muted-foreground: oklch(0.52 0.012 260);
  --accent: oklch(0.42 0.11 265);
  --destructive: oklch(0.55 0.2 25);
  --border: oklch(0.89 0.005 260);
  --charcoal: oklch(0.22 0.055 264);
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

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

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

.max-w {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .max-w { padding: 0 2.5rem; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: color-mix(in oklch, var(--background) 90%, transparent);
  backdrop-filter: blur(8px);
}

.site-header .max-w {
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 3.5rem;
  width: auto;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .menu-btn { display: none; }
}

.nav-desktop a {
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--foreground);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.65rem 1.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn:hover { opacity: 0.9; }

.btn-lg { padding: 0.9rem 2rem; font-size: 0.875rem; }

.btn-outline {
  background: transparent;
  border: 1px solid color-mix(in oklch, var(--primary-foreground) 40%, transparent);
  color: var(--primary-foreground);
}

.btn-outline:hover {
  background-color: color-mix(in oklch, var(--primary-foreground) 10%, transparent);
}

.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--foreground);
}

.menu-btn svg { width: 1.5rem; height: 1.5rem; }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: color-mix(in oklch, var(--charcoal) 60%, transparent);
}

.mobile-menu.open { display: block; }

.mobile-menu-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 18rem;
  max-width: 85vw;
  background: var(--card);
  padding: 2.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu-panel a {
  font-size: 1.125rem;
  font-weight: 500;
}

.mobile-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-close svg { width: 1.5rem; height: 1.5rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    color-mix(in oklch, var(--charcoal) 95%, transparent),
    color-mix(in oklch, var(--charcoal) 75%, transparent),
    color-mix(in oklch, var(--charcoal) 25%, transparent));
}

.hero-content {
  position: relative;
  width: 100%;
  padding: 8rem 0;
}

.hero-content .inner {
  max-width: 48rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  color: var(--primary-foreground);
}

.hero-content p {
  margin-top: 2rem;
  max-width: 40rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: color-mix(in oklch, var(--primary-foreground) 75%, transparent);
}

.hero-actions {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-content h1 { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .hero-content h1 { font-size: 3.75rem; }
}

/* Sections */
section { padding: 8rem 0; }

.section-border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-border-b { border-bottom: 1px solid var(--border); }
.bg-card { background-color: var(--card); }
.bg-secondary { background-color: var(--secondary); }

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}

h2.section-title {
  font-size: 2.25rem;
  margin-top: 0.75rem;
}

@media (min-width: 640px) {
  h2.section-title { font-size: 3rem; }
}

/* Experience brands */
.brand-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
  overflow: hidden;
}

@media (min-width: 768px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .brand-grid { grid-template-columns: repeat(6, 1fr); } }

.brand-grid div {
  background: var(--card);
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  text-align: center;
  font-weight: 600;
}

.fine-print {
  margin-top: 2rem;
  max-width: 40rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* About */
.about-grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
}

.about-grid p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Services */
.services-grid {
  margin-top: 4rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card .img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--card);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.service-card:hover img { transform: scale(1.05); }

.service-card h3 { margin-top: 1.5rem; font-size: 1.25rem; }
.service-card p { margin-top: 0.5rem; color: var(--muted-foreground); }

/* Advantages */
.advantage-grid {
  margin-top: 4rem;
  display: grid;
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
}

@media (min-width: 640px) { .advantage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .advantage-grid { grid-template-columns: repeat(3, 1fr); } }

.advantage-card {
  background: var(--background);
  padding: 2.5rem;
}

.advantage-card .icon { color: var(--primary); }
.advantage-card .icon svg { width: 1.25rem; height: 1.25rem; }
.advantage-card h3 { margin-top: 1.5rem; font-size: 1.125rem; }
.advantage-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* Gallery */
.gallery-grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

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

.gallery-item .img-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease-out;
}

.gallery-item:hover img { transform: scale(1.1); }

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    color-mix(in oklch, var(--charcoal) 80%, transparent),
    color-mix(in oklch, var(--charcoal) 10%, transparent) 60%,
    transparent);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-foreground);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }

.contact-info h2 { font-size: 2.25rem; }

@media (min-width: 640px) { .contact-info h2 { font-size: 3rem; } }

.contact-info > p {
  margin-top: 1.5rem;
  max-width: 32rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.contact-details {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-details .row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-details svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.25rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-details dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
}

.contact-details dd {
  margin-top: 0.25rem;
  font-weight: 500;
}

.contact-details a:hover { color: var(--primary); }

.contact-form-wrap {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2.5rem;
}

@media (min-width: 1024px) { .contact-form-wrap { padding: 3rem; } }

.form-grid {
  display: grid;
  gap: 1.25rem;
}

.form-row-2 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) { .form-row-2 { grid-template-columns: repeat(2, 1fr); } }

.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  background-color: var(--background);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  box-shadow: 0 0 0 2px var(--accent);
}

.form-status {
  text-align: center;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.form-status.error { color: var(--destructive); }
.form-status a { text-decoration: underline; }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0;
}

.form-success svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
}

.form-success h3 { margin-top: 1rem; font-size: 1.25rem; }
.form-success p { margin-top: 0.5rem; color: var(--muted-foreground); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background-color: var(--card);
  padding: 4rem 0;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-top .logo img { height: 3.5rem; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
}

.footer-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
}

.footer-nav a:hover { color: var(--foreground); }

.footer-contact {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-contact a:hover { color: var(--foreground); }

.footer-copy {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
