:root {
  color-scheme: light;
  --bg: #f6f1ea;
  --bg-alt: #efe6d8;
  --surface: #fffaf3;
  --ink: #2b2118;
  --muted: #3e342d;
  --accent: #795528;
  --accent-strong: #7d4e21;
  --accent-2: #8b3f2f;
  --highlight: #f2d6a4;
  --shadow: 0 18px 50px rgba(43, 33, 24, 0.15);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --content-width: 1140px;
  --section-pad: clamp(48px, 6vw, 96px);
}

.services-detail-list {
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 8vw, 6rem);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.service-row.alt-row .service-content {
  order: -1;
}

/* On mobile, stack them */
@media (max-width: 960px) {

  .service-row,
  .service-row.alt-row {
    grid-template-columns: 1fr;
  }

  .service-row.alt-row .service-content {
    order: 0;
  }

  .service-image-placeholder.layout-left {
    order: -1;
  }
}

.service-content h2 {
  margin-bottom: 1.5rem;
}

.service-image-placeholder {
  width: 100%;
  height: auto;
  min-height: 400px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(183, 138, 74, 0.2);
}

.service-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.description-text {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  color: var(--muted);
}

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

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  font-family: "Work Sans", "Gill Sans", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 20%, rgba(183, 138, 74, 0.18), transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(139, 63, 47, 0.12), transparent 40%),
    linear-gradient(120deg, rgba(255, 250, 243, 0.9) 0%, rgba(246, 241, 234, 0.9) 45%, rgba(239, 230, 216, 0.9) 100%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  margin: 0 0 1rem;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 3rem);
}

h3 {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

small {
  font-size: 0.85rem;
  color: var(--muted);
}

.container {
  width: min(100% - 32px, var(--content-width));
  margin: 0 auto;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-strong);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: var(--highlight);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.stitched-line {
  height: 2px;
  background: repeating-linear-gradient(90deg,
      var(--accent) 0 10px,
      transparent 10px 18px);
  width: 100%;
  opacity: 0.4;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  min-height: 52px;
  line-height: 1.2;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(183, 138, 74, 0.35);
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(183, 138, 74, 0.12);
  transform: translateY(-2px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 243, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(183, 138, 74, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand span {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.brand small {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.2rem;
  font-weight: 500;
}

.nav-list a {
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--accent-strong);
  transition: width 0.2s ease;
}

.nav-list a:hover::after,
.nav-list a:focus::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(43, 33, 24, 0.2);
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  width: 44px;
  height: 44px;
  font-size: 0;
}

.nav-toggle::before,
.nav-toggle::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, top 0.3s ease;
}

.nav-toggle::before {
  top: 14px;
}

.nav-toggle::after {
  top: 26px;
}

body.nav-open .nav-toggle::before {
  top: 20px;
  transform: translateX(-50%) rotate(45deg);
}

body.nav-open .nav-toggle::after {
  top: 20px;
  transform: translateX(-50%) rotate(-45deg);
}

.hero {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 15%, rgba(183, 138, 74, 0.25), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(139, 63, 47, 0.18), transparent 35%);
  z-index: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(183, 138, 74, 0.18);
}

.hero-title {
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  min-height: 58px;
  contain: layout;
}

.hero-highlights {
  display: grid;
  gap: 1rem;
}

.hero-highlight {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 243, 0.8);
  border: 1px solid rgba(183, 138, 74, 0.15);
}

.hero-highlight strong {
  font-size: 1.1rem;
}

.section {
  padding: var(--section-pad) 0;
}

.section.alt {
  background: rgba(255, 250, 243, 0.6);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.section-header p {
  max-width: 520px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid rgba(183, 138, 74, 0.12);
  box-shadow: 0 14px 30px rgba(43, 33, 24, 0.08);
}

.card h3 {
  margin-bottom: 0.5rem;
}

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

.icon {
  width: 42px;
  height: 42px;
  color: var(--accent-strong);
}

.feature-list {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-item span {
  background: rgba(183, 138, 74, 0.15);
  padding: 0.6rem;
  border-radius: 12px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid rgba(43, 33, 24, 0.1);
}

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

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

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5));
  color: #fff;
  font-size: 0.9rem;
}

.quote {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(183, 138, 74, 0.12);
  box-shadow: 0 12px 24px rgba(43, 33, 24, 0.08);
}

.quote strong {
  font-size: 1.05rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid rgba(183, 138, 74, 0.1);
  padding: 0.2rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  padding: 1rem 0;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding-bottom: 1rem;
  color: var(--muted);
}

.cta {
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(130deg, rgba(183, 138, 74, 0.2), rgba(139, 63, 47, 0.2));
  border: 1px solid rgba(183, 138, 74, 0.2);
  display: grid;
  gap: 1.5rem;
}

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

.form-grid label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(43, 33, 24, 0.2);
  background: #fff;
  font-family: inherit;
}

.form-grid textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.form-status {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(183, 138, 74, 0.15);
  border: 1px solid rgba(183, 138, 74, 0.2);
  display: none;
}

.form-status.is-visible {
  display: block;
}

.map-frame {
  display: block;
  border: 0;
  width: 100%;
  max-width: 100%;
  min-height: 320px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 30px rgba(43, 33, 24, 0.12);
}

.site-footer {
  padding: 3rem 0 2rem;
  background: #20160f;
  color: #f9f2e8;
}

.site-footer small {
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: inherit;
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 100;
  align-items: flex-end;
}

.floating-actions a,
.floating-actions button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-actions a:hover,
.floating-actions button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.floating-actions svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-btn {
  background: #25d366;
  color: #fff;
}

.phone-btn {
  background: var(--accent-strong);
  color: #fff;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-content {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: min(860px, 92vw);
  box-shadow: var(--shadow);
}

.lightbox-content img {
  width: 100%;
  height: auto;
}

.lightbox-caption {
  padding: 1rem 1.5rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {

  .hero-inner,
  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    background: var(--surface);
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    padding: 5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0s 0.3s;
    flex-direction: column;
    align-items: flex-start;
    z-index: 1001;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    visibility: hidden;
  }

  body.nav-open .nav {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s ease, visibility 0s 0s;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.25rem;
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
  }

  .nav-cta {
    flex-direction: column;
    width: 100%;
    margin-top: 1.5rem;
  }

  .nav-cta a {
    width: 100%;
    text-align: center;
  }

  .hero-actions {
    min-height: 160px;
  }


  .form-row {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-actions {
    right: 15px;
    bottom: 15px;
    gap: 0.75rem;
  }

  .floating-actions a,
  .floating-actions button {
    width: 54px;
    height: 54px;
  }

  .floating-actions svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 100px;
  }

  .hero-card {
    padding: 1.5rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem 1.5rem;
  background: #fff;
  border-top: 1px solid rgba(183, 138, 74, 0.2);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 200;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-content {
  max-width: 600px;
  font-size: 0.9rem;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  gap: 1rem;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 1.5rem;
  }

  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile optimizations */
@media (max-width: 600px) {
  :root {
    --section-pad: 40px;
  }

  body {
    font-size: 0.95rem;
  }

  h1 {
    font-size: 1.85rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .card,
  .hero-card,
  .cta {
    padding: 1.25rem;
  }

  .feature-item {
    gap: 0.75rem;
  }

  .icon {
    width: 32px;
    height: 32px;
  }

  /* Prevent iOS zoom on inputs */
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Fix: Smaller floating buttons on mobile */
  .floating-actions {
    right: 12px;
    bottom: 12px;
    gap: 0.5rem;
  }

  .floating-actions a,
  .floating-actions button {
    width: 48px;
    height: 48px;
  }

  .floating-actions svg {
    width: 24px;
    height: 24px;
  }

  /* Fix: Better form input contrast */
  .form-grid input,
  .form-grid textarea,
  .form-grid select {
    background: #fff;
    border: 2px solid rgba(183, 138, 74, 0.4);
  }

  /* Fix: More spacing for hero highlights */
  .hero-highlights {
    gap: 1.25rem;
    margin-top: 1.5rem;
  }

  .hero-highlight {
    padding: 1.25rem;
  }

  /* Fix: Hero section padding to prevent header overlap */
  .hero {
    padding-top: 120px;
  }
}