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

:root {
  --bg: #f5f5f5;
  --bg-alt: #ffffff;
  --text-main: #222222;
  --text-muted: #555555;
  --accent: #b9763e;      /* cappuccino brown */
  --accent-dark: #8a582c;
  --accent-light: #f0dfc7;
  --border-subtle: #e3e3e3;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: var(--bg);
  scroll-behavior: smooth;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header.left {
  text-align: left;
}

.section-header h2 {
  font-size: 2rem;
  margin: 0 0 0.75rem;
}

.section-header p {
  margin: 0 auto;
  color: var(--text-muted);
  max-width: 640px;
}

.section-header.left p {
  margin: 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: #f7f2ea;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Brand text */

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-name {
  font-weight: 700;
  font-size: 1rem;
}

.brand-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Nav */

.nav {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent-dark);
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  width: 36px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #ffffff;
  padding: 4px 7px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.nav-toggle span {
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: #0f172a;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    border-color 0.12s ease;
}

.btn.primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(185, 118, 62, 0.3);
}

.btn.primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(185, 118, 62, 0.4);
}

.btn.outline {
  background: transparent;
  border-color: rgba(15, 23, 42, 0.12);
  color: var(--text-main);
}

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

.btn.full-width {
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  background: radial-gradient(circle at top left, #fbead6, #f4f4f4 52%, #e7edf4 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(circle at 0 0, #f7e1c5 0, transparent 60%),
    radial-gradient(circle at 100% 0, #d8e4f6 0, transparent 60%);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.4rem;
  line-height: 1.12;
  margin: 0 0 1rem;
}

.hero-text p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-meta span {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* Hero gallery */

.hero-gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.75rem;
}

.hero-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.hero-image-main img,
.hero-image-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cards */

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  font-size: 0.8rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: #ffffff;
}

/* Gallery */

.gallery-tabs {
  display: inline-flex;
  padding: 0.2rem;
  background: #f3f4f6;
  border-radius: var(--radius-pill);
  margin: 0 auto 2rem;
}

.gallery-tabs button {
  border: none;
  background: transparent;
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.1rem;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-muted);
}

.gallery-tabs button.active {
  background: #ffffff;
  color: var(--accent-dark);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.gallery-grid {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-grid-active {
  display: grid;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f3f4f6;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* About */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.about-text p {
  color: var(--text-muted);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-dark);
  font-weight: 700;
}

.about-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.about-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.about-highlights li {
  font-size: 0.93rem;
  margin-bottom: 0.35rem;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-details p {
  margin: 0 0 0.4rem;
  color: var(--text-muted);
}

.contact-details a {
  color: var(--accent-dark);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-form {
  background: #ffffff;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.field {
  margin-bottom: 0.9rem;
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  padding: 0.55rem 0.6rem;
  font-size: 0.9rem;
  font-family: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(185, 118, 62, 0.6);
  outline-offset: 1px;
  border-color: transparent;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

/* Footer */

.site-footer {
  padding: 1.25rem 0 1.8rem;
  background: #0f172a;
  color: #e5e7eb;
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
}

.footer-small {
  color: #9ca3af;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-gallery {
    order: -1;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding-inline: 1rem;
  }

  .nav-links {
    position: absolute;
    right: 1rem;
    top: 60px;
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    border-radius: 16px;
    padding: 0.4rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.17);
    min-width: 180px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }

  .nav-links li {
    padding: 0.25rem 0.4rem;
  }

  .nav-links a {
    display: block;
    padding: 0.35rem 0.55rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links.nav-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }

  .hero-meta {
    gap: 0.45rem;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 3.25rem 0;
  }
}
