:root {
  --ink: #171b19;
  --muted: #303a34;
  --line: #d7c9b2;
  --paper: #f7f3ea;
  --white: #ffffff;
  --clay: #b95537;
  --green: #214f43;
  --charcoal: #17211d;
  --gold: #d0a653;
  --sage: #dfe7db;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

main {
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  gap: 14px;
  min-height: 132px;
  padding: 18px clamp(24px, 5vw, 76px);
  background: rgba(23, 33, 29, 0.96);
  border-bottom: 1px solid rgba(208, 166, 83, 0.34);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 34px rgba(16, 22, 19, 0.16);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.brand {
  display: grid;
  gap: 5px;
  min-width: 190px;
  font-weight: 800;
  text-decoration: none;
  color: white;
}

.brand span {
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1;
}

.brand small {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

nav a,
nav button,
.header-top-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.1);
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  color: #fffaf0;
  text-align: center;
}

nav a:hover,
nav button:hover,
nav a:focus,
nav button:focus,
.header-top-actions button:hover,
.header-top-actions button:focus,
nav button.active,
.header-top-actions button.active {
  color: white;
  border-color: rgba(208, 166, 83, 0.78);
  background: rgba(208, 166, 83, 0.18);
  outline: 0;
}

.header-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px;
}

.header-social {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 18px rgba(0, 0, 0, 0.18);
}

.header-social img {
  width: 100%;
  height: 100%;
  display: block;
}

.nav-menu {
  position: relative;
}

.nav-menu > button,
.nav-menu-panel button {
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.nav-menu > button {
  padding: 8px 12px;
}

.nav-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 20;
  display: none;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 44px rgba(23, 24, 22, 0.16);
  transform: translateX(-50%);
}

.nav-menu:focus-within .nav-menu-panel,
.nav-menu:hover .nav-menu-panel {
  display: grid;
  gap: 4px;
}

.nav-menu-panel button {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  text-align: left;
}

.nav-menu-panel button:hover,
.nav-menu-panel button:focus {
  background: #f1ece2;
  outline: 0;
}

.admin-link {
  color: var(--green);
  font-weight: 700;
}

.page-section {
  min-height: calc(100vh - 68px);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: clamp(48px, 8vw, 98px) clamp(18px, 5vw, 72px);
  overflow: hidden;
  color: white;
  background: #111;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(18, 20, 19, 0.86), rgba(18, 20, 19, 0.54) 42%, rgba(18, 20, 19, 0.18)),
    linear-gradient(0deg, rgba(18, 20, 19, 0.42), rgba(18, 20, 19, 0.08));
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--clay);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 12px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.hero-tagline {
  font-size: clamp(18px, 2vw, 24px);
  color: #fff8eb;
  line-height: 1.5;
  margin: 24px 0;
}

.hero-actions,
.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-color: rgba(255, 255, 255, 0.72);
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #111;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity var(--slider-speed, 700ms) ease, transform var(--slider-speed, 700ms) ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img,
.hero-slide video,
.media-card img,
.media-card video,
.comparison img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-caption {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(18px, 4vw, 48px);
  display: grid;
  gap: 8px;
  width: min(440px, calc(100% - 36px));
  padding: 18px;
  background: rgba(28, 28, 26, 0.68);
  color: white;
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.slide-caption strong {
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.06;
}

.slide-caption p {
  margin: 0;
  color: #eee9df;
}

.slide-caption a {
  width: max-content;
  min-height: 38px;
  padding: 9px 12px;
  background: white;
  color: var(--ink);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
}

.slider-controls {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 4vw, 56px);
  top: clamp(18px, 4vw, 42px);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: rgba(28, 28, 26, 0.36);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.slider-dots button {
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.44);
  border-radius: 999px;
}

.slider-dots {
  display: flex;
  gap: 6px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
}

.slider-dots button.active {
  background: white;
  border-color: white;
}

.intro,
.section,
.contact-section {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.intro,
.split,
.contact-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 72px);
}

.intro p,
.contact-section p,
.section-head p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 17px;
}

.about-page {
  grid-template-columns: 1fr;
  place-items: start center;
  min-height: calc(100vh - 94px);
  padding-top: clamp(68px, 9vw, 118px);
  text-align: center;
  background: linear-gradient(180deg, #fffaf1, #eee5d5);
}

.about-page .page-title,
.about-copy {
  max-width: 880px;
  margin-inline: auto;
}

.about-page h2 {
  margin-inline: auto;
}

.about-copy {
  margin: 0;
  color: #202822 !important;
  font-size: clamp(18px, 2vw, 23px) !important;
  line-height: 1.75 !important;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.before-grid,
.media-grid,
.process-grid,
.video-grid,
.pricing-grid,
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.before-card,
.media-card,
.process-grid article,
.video-card,
.pricing-grid article,
.reviews-grid article,
.contact-panel,
.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.before-card {
  padding: 18px;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.comparison figure {
  margin: 0;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
}

.comparison figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(28, 28, 26, 0.78);
  color: white;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.media-band,
.pricing-section,
.social-section {
  background: #f3efe6;
}

.work-card-section {
  background:
    linear-gradient(180deg, #f7f3ea, #ece4d4);
}

.work-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
}

.work-card > div {
  padding: clamp(16px, 2.5vw, 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 44px rgba(33, 38, 34, 0.08);
}

.work-card h3 {
  margin-bottom: 16px;
}

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

.video-grid.compact {
  grid-template-columns: 1fr;
}

.media-card > img,
.media-card > video {
  aspect-ratio: 4 / 3;
  background: #111;
}

.media-card div,
.process-grid article,
.video-card div:last-child,
.pricing-grid article,
.reviews-grid article,
.contact-panel,
.quote-form {
  padding: 18px;
}

.pill-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pill-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(33, 38, 34, 0.06);
}

.pill-list article span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--green);
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.pill-list article strong {
  font-weight: 800;
  line-height: 1.3;
  color: #18211d;
}

.services-process {
  margin-top: 18px;
  grid-template-columns: 1fr;
}

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

.process-grid article {
  position: relative;
}

.process-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-weight: 900;
  font-size: 13px;
}

.video-section {
  background: #fff;
}

.video-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #171917;
  overflow: hidden;
}

.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.social-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 132px;
  align-content: end;
  padding: 18px;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  overflow: hidden;
}

.social-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
}

.social-card span,
.social-card strong {
  position: relative;
}

.social-card span {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.social-card strong {
  font-size: 22px;
  line-height: 1.05;
}

.social-card.instagram {
  background: #9f315f;
}

.social-card.facebook {
  background: #31599a;
}

.social-card.whatsapp {
  background: #257455;
}

.social-card.tiktok {
  background: #222326;
}

.pricing-grid article {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.pricing-grid strong {
  color: var(--green);
  white-space: nowrap;
}

.stars {
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 10px;
}

.embed-area:not(:empty),
.embed-stack:not(:empty) {
  margin-top: 24px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-page {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.62fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: stretch;
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 72px);
  background: #f0ece3;
  border-bottom: 1px solid var(--line);
}

.service-page-hero {
  position: relative;
  min-height: min(68vh, 680px);
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  color: white;
}

.service-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(21, 24, 23, 0.82), rgba(21, 24, 23, 0.38), rgba(21, 24, 23, 0.16));
  pointer-events: none;
}

.service-page-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  width: min(620px, 100%);
  min-height: inherit;
  padding: clamp(24px, 5vw, 56px);
}

.service-page-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: #eee9df;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}

.service-addons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.service-addons span {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.service-hero-slides,
.service-hero-slide {
  position: absolute;
  inset: 0;
}

.service-hero-slide {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity var(--slider-speed, 700ms) ease, transform var(--slider-speed, 700ms) ease;
}

.service-hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.service-hero-slide img,
.service-hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-hero-slide > div {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  gap: 4px;
  width: min(360px, calc(100% - 36px));
  padding: 14px;
  border-radius: 8px;
  background: rgba(28, 28, 26, 0.68);
  backdrop-filter: blur(12px);
}

.service-hero-slide strong {
  font-size: clamp(18px, 2vw, 26px);
}

.service-hero-slide span {
  color: #eee9df;
  line-height: 1.35;
}

.mini-quote-form {
  align-self: stretch;
  align-content: start;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.contact-section {
  background: var(--charcoal);
  color: white;
}

.contact-section p {
  color: #fff2df;
}

.contact-panel {
  color: var(--ink);
  display: grid;
  gap: 12px;
}

.contact-panel a {
  font-weight: 800;
}

.quote-form {
  color: var(--ink);
  display: grid;
  gap: 14px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  font: inherit;
}

.quote-form textarea {
  min-height: 130px;
  resize: vertical;
}

.grid.two,
.quote-date-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkline {
  align-self: end;
  min-height: 46px;
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.checkline input {
  width: auto;
}

.quote-status {
  margin: 0;
  color: var(--green) !important;
  font-weight: 800;
}

.contact-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 30px clamp(24px, 5vw, 76px);
  background: var(--charcoal);
  color: #fffaf0;
  border-top: 1px solid rgba(208, 166, 83, 0.34);
}

footer span:first-child {
  color: white;
  font-weight: 900;
}

footer span:last-child {
  color: var(--gold);
  font-weight: 800;
}

.error-bar {
  padding: 12px 18px;
  background: #ffd6d6;
  color: #681616;
}

@media (max-width: 980px) {
  .intro,
  .split,
  .contact-section,
  .service-page,
  .work-card,
  .grid.two,
  .quote-date-row {
    grid-template-columns: 1fr;
  }

  .service-page-hero {
    min-height: 520px;
  }

  .before-grid,
  .media-grid,
  .process-grid,
  .video-grid,
  .pricing-grid,
  .reviews-grid,
  .social-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pill-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    min-height: 0;
    padding: 16px 18px;
  }

  .header-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .header-top-actions {
    width: 100%;
    justify-content: flex-start;
  }

  nav {
    width: 100%;
    justify-content: stretch;
    gap: 10px;
  }

  nav a,
  nav button,
  .header-top-actions button {
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
    min-height: 44px;
    padding: 9px 10px;
  }

  .header-social-links {
    width: 100%;
    justify-content: flex-start;
    padding: 0;
  }

  .header-social {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: calc(100vh - 98px);
    padding-top: 72px;
    padding-bottom: 240px;
  }

  .slide-caption {
    left: 18px;
    right: 18px;
    bottom: 18px;
    width: auto;
  }

  .before-grid,
  .media-grid,
  .process-grid,
  .video-grid,
  .pricing-grid,
  .reviews-grid,
  .social-links {
    grid-template-columns: 1fr;
  }

  .pricing-grid article {
    flex-direction: column;
  }
}
