:root {
  --ink: #111111;
  --paper: #f8f8f4;
  --paper-strong: #ffffff;
  --muted: #62635f;
  --line: rgba(17, 17, 17, 0.14);
  --gold: #d5a83c;
  --gold-soft: #f3dfaa;
  --red: #df352d;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c4a;
  --sage: #4f6957;
  --steel: #dfe6e8;
  --graphite: #343434;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: #fff;
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(248, 248, 244, 0.92);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px);
  padding-block: 10px;
}

.brand-link,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-link {
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.brand-wordmark {
  width: clamp(138px, 14vw, 190px);
  height: auto;
}

.primary-nav {
  justify-self: center;
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.94rem;
  font-weight: 650;
}

.primary-nav a {
  opacity: 0.86;
}

.primary-nav a:hover {
  opacity: 1;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.header-cta {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.site-header.is-scrolled .header-cta {
  color: #fff;
  background: var(--whatsapp);
  border-color: var(--whatsapp);
}

a[data-whatsapp-message] {
  color: #fff;
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.24);
}

a[data-whatsapp-message]:hover {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
}

a[data-whatsapp-message]::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-right: 9px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.52 3.48A11.82 11.82 0 0 0 12.08 0C5.52 0 .2 5.32.2 11.88c0 2.1.55 4.15 1.6 5.96L0 24l6.32-1.66a11.86 11.86 0 0 0 5.76 1.47h.01c6.55 0 11.88-5.32 11.88-11.88 0-3.17-1.24-6.15-3.45-8.45Zm-8.44 18.33h-.01a9.86 9.86 0 0 1-5.03-1.38l-.36-.21-3.75.98 1-3.65-.24-.38a9.8 9.8 0 0 1-1.5-5.29C2.19 6.42 6.62 2 12.08 2a9.82 9.82 0 0 1 6.99 2.9 9.81 9.81 0 0 1 2.9 7.02c0 5.46-4.43 9.89-9.89 9.89Zm5.42-7.4c-.3-.15-1.75-.86-2.02-.96-.27-.1-.47-.15-.67.15-.2.3-.77.96-.95 1.16-.17.2-.35.22-.64.08-.3-.15-1.25-.46-2.38-1.47a8.95 8.95 0 0 1-1.65-2.05c-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.18.2-.3.3-.5.1-.2.05-.37-.03-.52-.07-.15-.67-1.62-.92-2.22-.24-.58-.49-.5-.67-.5h-.57c-.2 0-.52.07-.8.37-.27.3-1.05 1.03-1.05 2.52s1.08 2.92 1.23 3.12c.15.2 2.13 3.25 5.16 4.56.72.31 1.28.5 1.72.64.72.23 1.38.2 1.9.12.58-.09 1.75-.71 2-1.4.25-.69.25-1.28.17-1.4-.08-.13-.27-.2-.57-.35Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.52 3.48A11.82 11.82 0 0 0 12.08 0C5.52 0 .2 5.32.2 11.88c0 2.1.55 4.15 1.6 5.96L0 24l6.32-1.66a11.86 11.86 0 0 0 5.76 1.47h.01c6.55 0 11.88-5.32 11.88-11.88 0-3.17-1.24-6.15-3.45-8.45Zm-8.44 18.33h-.01a9.86 9.86 0 0 1-5.03-1.38l-.36-.21-3.75.98 1-3.65-.24-.38a9.8 9.8 0 0 1-1.5-5.29C2.19 6.42 6.62 2 12.08 2a9.82 9.82 0 0 1 6.99 2.9 9.81 9.81 0 0 1 2.9 7.02c0 5.46-4.43 9.89-9.89 9.89Zm5.42-7.4c-.3-.15-1.75-.86-2.02-.96-.27-.1-.47-.15-.67.15-.2.3-.77.96-.95 1.16-.17.2-.35.22-.64.08-.3-.15-1.25-.46-2.38-1.47a8.95 8.95 0 0 1-1.65-2.05c-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.18.2-.3.3-.5.1-.2.05-.37-.03-.52-.07-.15-.67-1.62-.92-2.22-.24-.58-.49-.5-.67-.5h-.57c-.2 0-.52.07-.8.37-.27.3-1.05 1.03-1.05 2.52s1.08 2.92 1.23 3.12c.15.2 2.13 3.25 5.16 4.56.72.31 1.28.5 1.72.64.72.23 1.38.2 1.9.12.58-.09 1.75-.71 2-1.4.25-.69.25-1.28.17-1.4-.08-.13-.27-.2-.57-.35Z'/%3E%3C/svg%3E") center / contain no-repeat;
  flex: 0 0 auto;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.button-secondary {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
}

.button-ghost-dark {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.button-light {
  color: var(--ink);
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.hero-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  display: grid;
  align-items: end;
  padding: 130px clamp(20px, 5vw, 76px) 42px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.34) 48%, rgba(0, 0, 0, 0.12)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 44%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(830px, 100%);
}

.hero-logo-lockup {
  display: grid;
  width: min(370px, 100%);
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 750;
  text-transform: uppercase;
}

.hero-wordmark {
  width: min(360px, 100%);
  height: auto;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.2);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(4rem, 9vw, 8.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2.1rem, 4.2vw, 5.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.12;
}

.hero-copy {
  width: min(690px, 100%);
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.46rem);
}

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

.hero-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin-top: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-metrics div {
  padding: 18px;
}

.hero-metrics strong {
  display: block;
  color: var(--gold-soft);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.intro-band,
.services-band,
.gallery-section {
  padding: clamp(70px, 9vw, 140px) clamp(20px, 5vw, 76px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(30px, 7vw, 96px);
  align-items: end;
}

.intro-copy h2 {
  max-width: 980px;
  margin-bottom: 0;
}

.intro-text {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.section-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 0.83rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-section {
  background: #151515;
  color: #fff;
  padding: clamp(34px, 5vw, 76px);
}

.story-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  min-height: 72svh;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(34px, 6vw, 92px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.story-panel:last-child {
  border-bottom: 0;
}

.story-panel-alt .story-media {
  order: 2;
}

.story-media {
  height: min(70svh, 720px);
  overflow: hidden;
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-copy span {
  display: block;
  margin-bottom: 26px;
  color: var(--gold);
  font-weight: 900;
}

.story-copy h2 {
  margin-bottom: 20px;
}

.story-copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.6vw, 1.24rem);
}

.altinsite-band {
  padding: clamp(42px, 6vw, 82px) clamp(20px, 5vw, 76px);
  color: #fff;
  background: linear-gradient(120deg, #151515, #30332f 50%, #64201c);
}

.altinsite-wrap {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}

.altinsite-logo {
  width: 250px;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.24));
}

.altinsite-wrap h2 {
  max-width: 900px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 4.4rem);
}

.altinsite-wrap p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.section-head,
.gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 5vw, 58px);
}

.section-head h2,
.gallery-head h2 {
  max-width: 860px;
  margin-bottom: 0;
}

.gallery-note {
  max-width: 680px;
  margin: 16px 0 0;
  color: rgba(17, 17, 17, 0.72);
  font-weight: 750;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 300px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.service-card span {
  display: inline-flex;
  margin-bottom: 50px;
  color: var(--sage);
  font-weight: 900;
}

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

.gallery-section {
  background: var(--steel);
}

.featured-gallery {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr;
  grid-auto-rows: 250px;
  gap: 12px;
  margin-bottom: 18px;
}

.featured-tile {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 0;
  padding: 0;
  background: var(--ink);
  cursor: pointer;
}

.featured-tile:first-child {
  grid-row: span 2;
}

.featured-tile img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.featured-tile:hover img,
.gallery-item:hover img {
  transform: scale(1.04);
}

.featured-tile span {
  position: absolute;
  inset: auto 12px 12px;
  color: #fff;
  font-weight: 850;
  text-align: left;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}

.gallery-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0;
}

.chip {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.chip.is-active {
  color: #fff;
  background: var(--ink);
}

.gallery-grid {
  columns: 4 250px;
  column-gap: 12px;
}

.gallery-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 12px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: var(--ink);
  cursor: pointer;
}

.gallery-item[hidden] {
  display: none;
}

.gallery-item img {
  height: auto;
}

.contact-band {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: center;
  padding: clamp(70px, 9vw, 140px) clamp(20px, 5vw, 76px);
  color: #fff;
  overflow: hidden;
  background: #121212;
}

.contact-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
}

.contact-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.72));
}

.contact-copy {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.site-footer {
  color: #fff;
  background: #111;
  padding: clamp(44px, 7vw, 78px) clamp(20px, 5vw, 76px) 26px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(150px, 0.4fr) minmax(150px, 0.4fr);
  gap: 34px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-logo {
  width: min(250px, 100%);
  height: auto;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.footer-main p,
.footer-bottom {
  color: rgba(255, 255, 255, 0.66);
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  font-size: 0.92rem;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: min(480px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(248, 248, 244, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-banner div {
  display: flex;
  gap: 8px;
}

.policy-dialog,
.lightbox {
  width: min(720px, calc(100vw - 34px));
  border: 0;
  border-radius: 8px;
  padding: 28px;
  color: var(--ink);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.policy-dialog::backdrop,
.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.7);
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 1.5rem;
}

.lightbox {
  width: min(1180px, calc(100vw - 24px));
  padding: 12px;
  background: #111;
}

.lightbox img {
  width: 100%;
  max-height: 82svh;
  object-fit: contain;
}

.lightbox p {
  margin: 10px 6px 2px;
  color: rgba(255, 255, 255, 0.82);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 680ms ease, transform 680ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    display: none;
  }

  .intro-grid,
  .story-panel,
  .altinsite-wrap,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .story-panel-alt .story-media {
    order: 0;
  }

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

  .featured-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 210px;
  }

  .featured-tile:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand-link {
    padding: 5px 7px;
  }

  .brand-wordmark {
    width: 132px;
  }

  .header-cta {
    min-height: 40px;
    padding: 10px 12px;
  }

  .hero-section {
    min-height: 96svh;
    padding: 106px 18px 26px;
  }

  h1 {
    font-size: clamp(3.3rem, 17vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.15rem);
  }

  .hero-actions,
  .contact-actions,
  .section-head,
  .gallery-head,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .story-section {
    padding-inline: 18px;
  }

  .story-panel {
    min-height: auto;
    padding: 42px 0;
  }

  .story-media {
    height: 390px;
  }

  .altinsite-logo {
    width: min(250px, 100%);
  }

  .featured-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .featured-tile:first-child {
    grid-column: span 1;
  }

  .gallery-grid {
    columns: 1;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }
}
