:root {
  --color-cream: #F2EEE6;
  --color-cream-dark: #E6DFCE;
  --color-gold: #B08D57;
  --color-gold-dark: #8A6A34;
  --color-gold-light: #D9C29A;
  --color-text: #221D16;
  --color-text-soft: #5C5346;
  --color-white: #FFFFFF;

  --font-heading: "Fraunces", serif;
  --font-body: "Nunito Sans", sans-serif;

  --radius: 14px;
  --shadow: 0 8px 24px rgba(34, 29, 22, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img, video { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0 0 0.5em;
  color: var(--color-text);
}

p { margin: 0 0 1em; color: var(--color-text-soft); }

a { color: var(--color-gold-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-gold-dark);
  margin-bottom: 0.5em;
}
.eyebrow.center { text-align: center; }

.center { text-align: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(242, 238, 230, 0.92);
  backdrop-filter: blur(6px);
  z-index: 100;
  border-bottom: 1px solid var(--color-cream-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
}
.logo:hover { text-decoration: none; }
.logo-mark { width: auto; height: 52px; object-fit: contain; display: block; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav { display: flex; gap: 28px; }
.nav a { color: var(--color-text); font-weight: 600; }
.nav a:hover { color: var(--color-gold-dark); text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  width: 44px;
  height: 44px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  display: block;
}

/* Hero */
.hero {
  padding: 96px 0 80px;
  background: linear-gradient(180deg, var(--color-cream-dark) 0%, var(--color-cream) 100%);
  text-align: center;
}
.hero-inner { max-width: 640px; }
.hero-mark {
  width: min(280px, 80vw);
  height: auto;
  margin-bottom: 8px;
}
.hero-text { font-size: 1.1rem; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary {
  background: var(--color-gold);
  color: var(--color-white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--color-gold-dark); }

/* Sections */
.section { padding: 80px 0; }

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
}

/* Services */
.services { background: var(--color-cream-dark); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.service-card {
  background: var(--color-white);
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.service-card h3 { color: var(--color-gold-dark); }
.service-card p { margin-bottom: 0; }

/* Services quick nav */
.services-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 32px 0 56px;
}
.services-pills a {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow);
}
.services-pills a:hover {
  background: var(--color-gold);
  color: var(--color-white);
  text-decoration: none;
}

/* Service blocks */
.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid rgba(34, 29, 22, 0.08);
  scroll-margin-top: 90px;
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse .service-media { order: 2; }
.service-block.reverse .service-text { order: 1; }

.service-media {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
  background-size: cover;
  background-position: center;
}

.service-text h3 { color: var(--color-gold-dark); }
.pending {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--color-gold-dark);
}

/* Full service block (text + gallery + video) */
.service-block-full {
  padding: 48px 0;
  border-bottom: 1px solid rgba(34, 29, 22, 0.08);
  scroll-margin-top: 90px;
}
.service-block-full:last-child { border-bottom: none; }

.service-header { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.service-header h3 { color: var(--color-gold-dark); }
.service-header .service-desc,
.service-header .service-details { text-align: left; }
.service-desc { color: var(--color-text-soft); }
.service-details {
  color: var(--color-text-soft);
  padding-left: 1.2em;
  margin: 1.5em 0 0;
}
.service-details li { margin-bottom: 0.4em; }
.service-details strong { color: var(--color-text); }

.service-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.service-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.service-videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.service-videos video {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #000;
  max-height: 420px;
}

/* Media gallery (carousel) */
.media-gallery { margin-bottom: 24px; }

.gallery-stage {
  position: relative;
  background: #17120c;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: min(64vh, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-frame { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.gallery-frame img,
.gallery-frame video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.gallery-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 15%;
  min-width: 40px;
  max-width: 64px;
  border: none;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.28), transparent);
  color: var(--color-cream);
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  z-index: 2;
}
.gallery-arrow:hover { background: linear-gradient(to right, rgba(0, 0, 0, 0.45), transparent); }
.gallery-next { right: 0; left: auto; background: linear-gradient(to left, rgba(0, 0, 0, 0.28), transparent); }
.gallery-next:hover { background: linear-gradient(to left, rgba(0, 0, 0, 0.45), transparent); }
.gallery-arrow svg { width: 22px; height: 22px; fill: currentColor; }

.gallery-toolbar {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(23, 18, 12, 0.55);
  backdrop-filter: blur(3px);
  border-radius: 999px;
  padding: 6px 10px;
}
.gallery-toolbar button {
  background: none;
  border: none;
  color: var(--color-cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}
.gallery-toolbar svg { width: 17px; height: 17px; fill: currentColor; }
.gallery-count {
  color: var(--color-cream);
  font-size: 0.78rem;
  font-weight: 700;
  min-width: 40px;
  text-align: center;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.gallery-thumb {
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: var(--color-cream-dark);
  position: relative;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.is-active { border-color: var(--color-gold); }
.gallery-thumb .thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 18, 12, 0.25);
}
.gallery-thumb .thumb-play svg { width: 18px; height: 18px; fill: #fff; }

.gallery-caption { margin-top: 14px; }
.gallery-caption-title {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-gold-dark);
  font-size: 1rem;
  margin: 0 0 4px;
}
.gallery-caption-text { color: var(--color-text-soft); margin: 0; font-size: 0.92rem; }

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 10px; color: var(--color-text-soft); }
.icon-whatsapp {
  width: 16px;
  height: 16px;
  vertical-align: -2px;
  margin-right: 4px;
  fill: #25D366;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--color-white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--color-cream-dark);
  background: var(--color-cream);
  color: var(--color-text);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 1px;
}
.form-legal {
  font-size: 0.8rem;
  color: var(--color-text-soft);
  margin: -4px 0 0;
  text-align: center;
}
.form-legal a { color: var(--color-gold-dark); text-decoration: underline; }

.form-note {
  font-size: 0.85rem;
  color: var(--color-gold-dark);
  min-height: 18px;
  margin: -4px 0 0;
  text-align: center;
}
.form-note.is-error { color: #B3413E; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Footer */
.site-footer {
  background: var(--color-text);
  color: var(--color-cream);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.footer-inner p { color: var(--color-cream-dark); margin: 0; text-align: center; font-size: 0.9rem; }
.footer-inner a { color: var(--color-gold-light); font-size: 0.85rem; }
.footer-inner a:hover { color: var(--color-white); }

/* Legal pages */
.legal-inner { max-width: 760px; margin: 0 auto; }
.legal-updated {
  font-style: italic;
  color: var(--color-text-soft);
  margin-bottom: 2em;
}
.legal-inner h2 {
  margin-top: 1.8em;
  color: var(--color-gold-dark);
  font-size: 1.3rem;
}
.legal-inner ul { color: var(--color-text-soft); padding-left: 1.4em; }
.legal-inner li { margin-bottom: 0.5em; }
.legal-inner em { color: var(--color-gold-dark); font-style: normal; font-weight: 600; }

/* Responsive */

/* Tablets */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-gallery { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

@media (max-width: 800px) {
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .about-img { order: -1; max-width: 320px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr; }
  .service-block,
  .service-block.reverse {
    grid-template-columns: 1fr;
  }
  .service-block .service-media,
  .service-block.reverse .service-media { order: -1; }
  .service-block .service-text,
  .service-block.reverse .service-text { order: 2; }
}

@media (max-width: 640px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-cream);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-cream-dark);
    display: none;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }

  .section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
  .container { padding: 0 20px; }
  .service-gallery img { height: 200px; }
  .service-videos video { max-height: 260px; }
  .contact-form { padding: 24px; }
  .gallery-stage { height: min(52vh, 420px); }
  .gallery-arrow { width: 44px; min-width: 36px; }
  .gallery-thumb { width: 58px; height: 58px; }
}

/* Small phones */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 40px; }
  .btn { padding: 12px 26px; font-size: 0.95rem; }
  .services-pills a { padding: 7px 14px; font-size: 0.8rem; }
  .service-gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .service-gallery img { height: 160px; }
}
