:root {
  --forest: #23422F;
  --lake: #4C7C68;
  --limestone: #F6F3EA;
  --tan: #DCD5C4;
  --gold: #B68A4E;
  --ink: #18251E;
  --muted: #687469;
  --white: #FFFFFF;
  --shadow: 0 18px 50px rgba(24, 37, 30, 0.14);
  --radius: 8px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--limestone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

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

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

a:hover {
  color: var(--gold);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

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

.narrow {
  width: min(860px, calc(100% - 32px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(35, 66, 47, 0.12);
}

.main-nav {
  background: rgba(246, 243, 234, 0.95);
  backdrop-filter: blur(14px);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--serif);
  font-weight: 750;
  color: var(--forest);
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-weight: 700;
  font-size: 0.93rem;
}

.nav-menu a {
  color: var(--forest);
}

.nav-menu a.active {
  color: var(--gold);
}

.quote-link,
.button {
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 0.78rem 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-weight: 800;
}

.quote-link {
  background: var(--gold);
  color: var(--white) !important;
}

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

.button.ghost {
  color: var(--limestone);
  background: rgba(246, 243, 234, 0.08);
}

.button:hover,
.quote-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(24, 37, 30, 0.2);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(35, 66, 47, 0.22);
  background: transparent;
  border-radius: var(--radius);
  padding: 0.7rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--forest);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 76px));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--limestone);
}

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

.hero img {
  object-fit: cover;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(20, 35, 27, 0.9) 0%, rgba(20, 35, 27, 0.7) 33%, rgba(20, 35, 27, 0.18) 70%);
}

.hero-content {
  position: relative;
  padding: 5rem 0 7rem;
}

.hero-content > * {
  max-width: 670px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.05;
  margin: 0;
  color: var(--forest);
  letter-spacing: 0;
}

.hero h1 {
  color: var(--limestone);
  font-size: clamp(3rem, 7vw, 6.8rem);
  max-width: 840px;
}

.hero p:not(.eyebrow) {
  margin: 1.35rem 0 0;
  color: rgba(246, 243, 234, 0.88);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.stats-section {
  position: relative;
  margin-top: -54px;
  z-index: 3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(35, 66, 47, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stat-card {
  background: var(--white);
  padding: 1.4rem;
}

.stat-card strong {
  display: block;
  font-family: var(--serif);
  color: var(--forest);
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1;
}

.stat-card span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.muted {
  background: #eee9dc;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.cta-band h2,
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.section-copy p {
  color: var(--muted);
  margin: 1.1rem 0 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.marble-panel {
  min-height: 430px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 1.3rem;
  background:
    linear-gradient(115deg, rgba(246, 243, 234, 0.09), transparent 34%),
    radial-gradient(circle at 22% 26%, rgba(182, 138, 78, 0.28), transparent 18%),
    linear-gradient(28deg, transparent 44%, rgba(246, 243, 234, 0.33) 45%, transparent 47%),
    linear-gradient(148deg, transparent 55%, rgba(220, 213, 196, 0.26) 56%, transparent 58%),
    var(--forest);
  box-shadow: var(--shadow);
}

.marble-panel span {
  color: var(--limestone);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.2;
}

.product-grid,
.values-grid,
.finish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.finish-grid {
  grid-template-columns: repeat(4, 1fr);
}

.product-card,
.value-card,
.finish-card,
.process-step,
.gallery-card,
.contact-form,
.contact-details,
.facts-box {
  background: var(--white);
  border: 1px solid rgba(35, 66, 47, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(24, 37, 30, 0.07);
}

.product-card,
.value-card,
.finish-card,
.process-step {
  padding: 1rem;
}

.product-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-card h3,
.value-card h2,
.finish-card h3,
.process-step h3,
.gallery-card h2,
.contact-form h2,
.contact-details h2 {
  font-size: 1.45rem;
  margin-top: 1rem;
}

.product-card p,
.value-card p,
.finish-card p,
.process-step p,
.gallery-card p,
.contact-details p {
  color: var(--muted);
}

.product-card span,
.gallery-card span {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.88rem;
}

.stone-swatch {
  height: 190px;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--forest);
  background-image:
    linear-gradient(35deg, transparent 40%, rgba(246, 243, 234, 0.4) 41%, transparent 43%),
    linear-gradient(112deg, transparent 48%, rgba(182, 138, 78, 0.46) 49%, transparent 51%),
    radial-gradient(circle at 70% 20%, rgba(76, 124, 104, 0.9), transparent 30%),
    radial-gradient(circle at 25% 80%, rgba(17, 47, 35, 0.9), transparent 35%);
}

.stone-swatch.large {
  min-height: 250px;
  height: 100%;
}

.stone-swatch.forest {
  filter: saturate(0.9) brightness(0.83);
}

.stone-swatch.ocean {
  background-color: var(--lake);
  filter: saturate(0.76) brightness(1.05);
}

.stone-swatch.mist {
  background-color: #708778;
  filter: saturate(0.55) brightness(1.08);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.process-step span {
  color: var(--gold);
  font-weight: 900;
}

.cta-band {
  background: var(--forest);
  color: var(--limestone);
  padding: 3rem 0;
}

.cta-band h2 {
  color: var(--limestone);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wave-divider {
  height: 42px;
  background:
    radial-gradient(70px 28px at 70px 0, transparent 68px, #eee9dc 70px) 0 0 / 140px 42px repeat-x,
    var(--limestone);
}

.wave-divider.flip {
  transform: rotate(180deg);
}

.page-hero {
  padding: clamp(5rem, 11vw, 9rem) 0;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(35, 66, 47, 0.96), rgba(35, 66, 47, 0.78)),
    radial-gradient(circle at 80% 25%, rgba(182, 138, 78, 0.32), transparent 24%),
    var(--forest);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -44px -8%;
  height: 110px;
  background:
    linear-gradient(30deg, transparent 46%, rgba(246, 243, 234, 0.22) 47%, transparent 49%),
    linear-gradient(145deg, transparent 52%, rgba(220, 213, 196, 0.15) 53%, transparent 56%);
}

.page-hero h1 {
  color: var(--limestone);
}

.facts-box {
  padding: 2rem;
}

.facts-box strong {
  display: block;
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--forest);
  line-height: 1;
}

.facts-box span {
  color: var(--muted);
  font-weight: 800;
}

.country-list {
  columns: 2;
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.country-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(35, 66, 47, 0.1);
  break-inside: avoid;
}

.tabs {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.tabs a {
  border: 1px solid rgba(35, 66, 47, 0.18);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  background: var(--white);
  font-weight: 800;
}

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

.gallery-card {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 1.5rem;
  padding: 1rem;
  align-items: center;
}

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

.contact-form,
.contact-details {
  padding: clamp(1.2rem, 4vw, 2rem);
}

.contact-form {
  display: grid;
}

.contact-form label {
  margin-top: 1rem;
  font-weight: 800;
  color: var(--forest);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(35, 66, 47, 0.22);
  border-radius: var(--radius);
  background: #fffdf7;
  color: var(--ink);
  padding: 0.9rem 1rem;
  font: inherit;
}

.field-error {
  min-height: 1.35rem;
  color: #9d3d2f;
  font-size: 0.87rem;
  font-weight: 700;
}

.form-status {
  margin: 1rem 0 0;
  color: var(--lake);
  font-weight: 800;
}

.map-section iframe {
  width: 100%;
  height: 430px;
  border: 0;
  display: block;
  filter: saturate(0.75);
}

.site-footer {
  background: #17251d;
  color: rgba(246, 243, 234, 0.8);
  padding-top: 3rem;
}

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

.footer-brand,
.site-footer h2 {
  color: var(--limestone);
}

.site-footer h2 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.site-footer a {
  display: block;
  margin: 0.45rem 0;
}

.footer-bottom {
  border-top: 1px solid rgba(246, 243, 234, 0.12);
  text-align: center;
  padding: 1rem;
  font-size: 0.88rem;
}

.float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: grid;
  gap: 0.55rem;
}

.float-actions a {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--limestone);
  border: 1px solid rgba(246, 243, 234, 0.38);
  box-shadow: var(--shadow);
}

.float-actions svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.whatsapp-action {
  background: #25D366;
}

.call-action {
  background: var(--forest);
}

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

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

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button:hover,
  .quote-link:hover,
  .product-card:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 1px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--limestone);
    border: 1px solid rgba(35, 66, 47, 0.14);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0.8rem;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 0.8rem;
  }

  .quote-link {
    margin-top: 0.4rem;
  }

  .main-nav {
    position: relative;
  }

  .stats-grid,
  .product-grid,
  .process-grid,
  .values-grid,
  .finish-grid,
  .footer-grid,
  .split-grid,
  .gallery-card,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split-grid,
  .contact-grid,
  .gallery-card {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container,
  .narrow {
    width: min(100% - 24px, 1120px);
  }

  .brand span:last-child {
    max-width: 170px;
    line-height: 1.1;
  }

  .hero {
    min-height: 700px;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(20, 35, 27, 0.72), rgba(20, 35, 27, 0.58));
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero-content {
    padding: 3.5rem 0 7rem;
  }

  .stats-section {
    margin-top: -34px;
  }

  .stats-grid,
  .product-grid,
  .process-grid,
  .values-grid,
  .finish-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 1rem;
  }

  .marble-panel {
    min-height: 300px;
  }

  .country-list {
    columns: 1;
  }

  .float-actions {
    right: 12px;
    bottom: 12px;
  }
}
