@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Space Grotesk", "DM Sans", ui-sans-serif, system-ui, sans-serif;

  --radius: 0.75rem;

  --background: #fcfcfa;
  --foreground: #1e1e22;
  --card: #ffffff;
  --card-foreground: #1e1e22;

  --primary: #D4A24A;
  --primary-foreground: #0f0f12;

  --secondary: #f4f4f2;
  --secondary-foreground: #1e1e22;
  --muted: #f4f4f2;
  --muted-foreground: #6b6b70;

  --border: #e5e5e0;
  --input: #e5e5e0;
  --ring: #D4A24A;

  --ink: #0B0B0D;
  --brand-blue: #2BB6E0;
  --brand-green: #3FA34D;
  --brand-orange: #E89A2B;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

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

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 252, 250, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo span { color: var(--primary); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--primary); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

/* Hero */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, transparent 60%, var(--ink));
}

.hero .container {
  padding-top: 8rem;
  padding-bottom: 7rem;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary);
}

.hero-tag::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--primary);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  margin-top: 1.5rem;
  max-width: 44rem;
  line-height: 1.05;
}

.hero h1 span { color: var(--primary); }

.hero p {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  max-width: 40rem;
  color: rgba(255,255,255,0.7);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover { filter: brightness(0.95); }

.btn-ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  backdrop-filter: blur(4px);
}

.btn-ghost:hover { background: rgba(255,255,255,0.1); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* Value bar */
.value-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

.value-grid {
  display: grid;
  gap: 2rem;
  padding: 3rem 0;
}

.value-item {
  display: flex;
  gap: 1rem;
}

.value-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: rgba(212, 162, 74, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.value-item p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* Section base */
.section { padding: 6rem 0; }

.section-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  max-width: 36rem;
  margin-top: 0.75rem;
}

/* Services grid */
.services-grid {
  display: grid;
  gap: 1rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,162,74,0.4);
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(212,162,74,0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--primary-foreground);
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.25rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* About */
.about-section { background: rgba(244,244,242,0.4); }

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  color: var(--muted-foreground);
  margin-top: 1.5rem;
  line-height: 1.7;
}

.about-checklist {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.about-checklist svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.about-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.about-images img:nth-child(even) { margin-top: 1.5rem; }

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}

/* CTA */
.cta-section .container {
  background: var(--ink);
  border-radius: 1.5rem;
  padding: 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-blob-1 {
  position: absolute;
  right: -5rem;
  top: -5rem;
  width: 18rem;
  height: 18rem;
  border-radius: 9999px;
  background: rgba(212,162,74,0.2);
  filter: blur(60px);
}

.cta-blob-2 {
  position: absolute;
  left: -2.5rem;
  bottom: -6rem;
  width: 18rem;
  height: 18rem;
  border-radius: 9999px;
  background: rgba(43,182,224,0.2);
  filter: blur(60px);
}

.cta-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: end;
}

.cta-content h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
}

.cta-content h2 span { color: var(--primary); }

.cta-content p {
  max-width: 32rem;
  color: rgba(255,255,255,0.7);
  margin-top: 1rem;
}

/* Contact page */
.contact-hero {
  background: var(--ink);
  color: #fff;
  padding: 8rem 0 5rem;
}

.contact-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  margin-top: 0.75rem;
}

.contact-hero p {
  margin-top: 1.25rem;
  color: rgba(255,255,255,0.7);
  max-width: 36rem;
}

.contact-grid {
  display: grid;
  gap: 3rem;
  padding: 6rem 0;
}

.contact-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  transition: border-color 0.2s;
}

.contact-card:hover { border-color: rgba(212,162,74,0.4); }

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(212,162,74,0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.contact-card .value {
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.25rem;
}

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

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
}

.form-group label .required { color: var(--primary); }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--input);
  background: var(--background);
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(212,162,74,0.15);
}

.form-group textarea { resize: none; }

/* Services page */
.service-detail {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  margin-bottom: 1rem;
}

.service-detail .service-icon { flex-shrink: 0; }

.service-detail h3 { font-size: 1.25rem; font-weight: 600; }

.service-detail p {
  color: var(--muted-foreground);
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 0.5rem;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close:hover { background: rgba(255,255,255,0.2); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-nav:hover { background: rgba(255,255,255,0.2); }

.lightbox-prev { left: 1rem; }

.lightbox-next { right: 1rem; }

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

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}

.footer-brand span { color: var(--primary); }

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--primary); }

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--background);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.3s;
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.mobile-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsive */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-content { grid-template-columns: 1fr auto; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
  .cta-section .container { padding: 4rem; }
}

@media (max-width: 639px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .hero .container { padding-top: 5rem; padding-bottom: 5rem; }
  .section { padding: 4rem 0; }
  .service-detail { flex-direction: column; }
}
