:root {
  /* Core brand palette and reusable layout tokens */
  --green-950: #071a13;
  --green-900: #0d241a;
  --green-800: #143826;
  --green-700: #1f5138;
  --sage: #9fb8a8;
  --white: #ffffff;
  --gray-50: #f6f7f5;
  --gray-100: #ecefeb;
  --gray-500: #69746c;
  --gray-800: #26312a;
  --gold: #c6a76b;
  --shadow: 0 24px 70px rgba(7, 26, 19, 0.14);
  --radius: 8px;
  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-space: clamp(4.5rem, 8vw, 7rem);
  --header-height: clamp(4.5rem, 8vw, 5.4rem);
  --button-height: clamp(2.75rem, 3.2vw, 3.25rem);
  --button-x: clamp(1rem, 2vw, 1.5rem);
  --icon-size: clamp(1.75rem, 2.8vw, 2.1rem);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  background: var(--white);
  color: var(--gray-800);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

iframe,
video:not(.hero-media) {
  max-width: 100%;
}

video:not(.hero-media) {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--green-950);
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
}

/* Header and navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
  background: rgba(7, 26, 19, 0.9);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0;
  min-width: 0;
}

.logo-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: clamp(44px, 6vw, 52px);
  height: clamp(44px, 6vw, 52px);
  overflow: hidden;
  border: 1px solid rgba(198, 167, 107, 0.55);
  border-radius: 50%;
  background: var(--green-950);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  transform: translateX(-50%);
  transition: top 0.25s ease, transform 0.25s ease;
}

.nav-toggle span:first-child {
  top: 17px;
}

.nav-toggle span:last-child {
  top: 25px;
}

.nav-toggle.active span:first-child {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle.active span:last-child {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

.hero,
.page-hero {
  /* Shared hero foundation for the homepage and inner pages */
  position: relative;
  isolation: isolate;
  color: var(--white);
  overflow: hidden;
}

.hero {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 100svh;
  background:
    radial-gradient(circle at 78% 28%, rgba(198, 167, 107, 0.18), transparent 30%),
    radial-gradient(circle at 18% 78%, rgba(159, 184, 168, 0.14), transparent 34%),
    linear-gradient(135deg, #061510 0%, #10291d 50%, #182f22 100%);
}

@supports (min-height: 100dvh) {
  .hero {
    min-height: 100dvh;
  }
}

.page-hero {
  display: grid;
  align-items: center;
  min-height: clamp(360px, 62vh, 720px);
  padding-top: var(--header-height);
  background-position: center;
  background-size: cover;
}

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

.hero-media {
  z-index: -2;
}

.hero-media {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.88;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 26, 19, 0.92) 0%, rgba(10, 34, 24, 0.74) 42%, rgba(14, 38, 27, 0.38) 100%),
    linear-gradient(180deg, rgba(7, 26, 19, 0.36) 0%, rgba(7, 26, 19, 0.08) 45%, rgba(7, 26, 19, 0.56) 100%),
    radial-gradient(circle at 78% 26%, rgba(198, 167, 107, 0.14), transparent 36%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  padding-block: calc(var(--header-height) + clamp(1rem, 4vw, 2.5rem)) clamp(2.5rem, 7vw, 5rem);
}

.hero-content {
  width: min(100%, 860px);
  margin: 0 auto;
  text-align: center;
  text-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: clamp(0.08em, 0.6vw, 0.14em);
  margin-bottom: 14px;
  text-transform: uppercase;
  overflow-wrap: break-word;
  display: inline-block;
}

h1,
h2,
h3 {
  color: inherit;
  font-weight: 700;
  line-height: 1.05;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

h1 {
  max-width: 880px;
  margin-inline: auto;
  font-size: clamp(2.55rem, 7.5vw, 6.6rem);
  overflow-wrap: break-word;
  text-wrap: balance;
  hyphens: auto;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  text-wrap: balance;
  margin-inline: auto;
}

h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  margin-inline: auto;
  text-wrap: balance;
}


.hero p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  max-width: min(680px, 100%);
  margin-right: auto;
  margin-left: auto;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.98rem, 1.5vw, 1.14rem);
  overflow-wrap: break-word;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.65rem, 1.5vw, 0.9rem);
  margin-top: clamp(1.5rem, 3vw, 2.15rem);
}

.btn {
  /* Premium button baseline shared by all CTA variants */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: var(--button-height);
  padding: 0 var(--button-x);
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: clamp(0.88rem, 1.25vw, 0.98rem);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn svg,
.btn img {
  flex: 0 0 auto;
  width: 1.05em;
  height: 1.05em;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--green-700);
  color: var(--white);
  box-shadow: 0 16px 36px rgba(31, 81, 56, 0.22);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.btn-light {
  background: var(--white);
  color: var(--green-900);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--green-950);
}

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

/* Content sections and responsive grids */
.intro-band,
.muted-section {
  background: var(--gray-50);
}

.dark-section {
  background: var(--green-950);
  color: var(--white);
}

.cta-band {
  background: linear-gradient(135deg, var(--gray-50), #ffffff);
}

.split-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.lead,
.section-copy p {
  color: var(--gray-500);
  font-size: 1.06rem;
  text-wrap: balance;
}

.section-heading .lead,
.project-info p {
  margin-inline: auto;
  max-width: 55ch;
}

.dark-section .lead,
.dark-section .project-info p {
  color: rgba(255, 255, 255, 0.7);
}

.service-grid,
.service-detail-grid,
.value-grid,
.stats-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
}

.service-detail-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.value-grid,
.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}

.service-card,
.detail-card,
.value-card,
.stat-card,
.contact-panel,
.contact-form {
  /* Soft glass-card style used throughout the premium interface */
  border: 1px solid rgba(20, 56, 38, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.service-card,
.detail-card,
.value-card {
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card {
  overflow: hidden;
  padding: 0;
}

.service-card-content {
  padding: clamp(1.35rem, 3vw, 1.75rem);
}

.service-image,
.detail-image {
  width: 100%;
  height: clamp(180px, 24vw, 230px);
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image,
.detail-card:hover .detail-image {
  transform: scale(1.06);
}

.service-card:hover,
.detail-card:hover,
.value-card:hover,
.project-card:hover,
.project-card1:hover,
.before-after-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(7, 26, 19, 0.2);
}
.service-icon {
  display: grid;
  place-items: center;
  width: var(--icon-size);
  height: var(--icon-size);
  margin-bottom: clamp(0.85rem, 1.6vw, 1.15rem);
  border-radius: 50%;
  background: var(--green-900);
  color: var(--gold);
  font-size: clamp(0.76rem, 1.35vw, 0.9rem);
  font-weight: 700;
  line-height: 1;
}

.detail-card .service-icon {
  margin-top: -16px;
  position: relative;
  z-index: 1;
}

.service-card p,
.detail-card p,
.value-card p,
.project-card p,
.project-card1 p {
  margin-top: 12px;
  color: var(--gray-500);
}

.detail-card {
  overflow: hidden;
  padding: 0;
}

.detail-card-content {
  padding: clamp(1.4rem, 3vw, 1.9rem);
}

.detail-card h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
}

.project-masonry {
  /* Modern grid-based masonry layout with centered alignment */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.5rem, 2.5vw, 2rem);
  justify-content: center;
  justify-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.project-masonry.expanded {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  max-width: 1200px;
}

.project-card,
.before-after-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card1 {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card img {
  width: 100%;
  height: clamp(230px, 28vw, 320px);
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.project-card.wide img {
  height: clamp(210px, 22vw, 260px);
}

.project-card.tall img {
  height: clamp(320px, 42vw, 460px);
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-card1 img {
  width: 100%;
  height: clamp(230px, 28vw, 320px);
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.project-card1.tall img {
  height: clamp(320px, 42vw, 460px);
}

.project-card1:hover img {
  transform: scale(1.06);
}

.project-card div,
.project-info {
  padding: clamp(1.25rem, 3vw, 1.6rem);
  text-align: center;
}

.project-card1 div {
  padding: clamp(1.25rem, 3vw, 1.6rem);
  text-align: center;
}

.comparison {
  /* Before / after image comparison component */
  position: relative;
  height: clamp(300px, 44vw, 430px);
  overflow: hidden;
}

.comparison img,
.comparison-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-after {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}

.comparison input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.comparison-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--white);
  pointer-events: none;
}

.comparison-line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: rgba(7, 26, 19, 0.45);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
}

.center {
  margin-top: 28px;
  text-align: center;
}

.image-stack {
  position: relative;
}

.image-stack img {
  width: 100%;
  height: clamp(360px, 58vw, 640px);
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.experience-badge {
  position: absolute;
  right: 26px;
  bottom: 26px;
  width: 178px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(7, 26, 19, 0.74);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.experience-badge strong,
.stat-card strong {
  display: block;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 2.6rem;
  line-height: 1;
}

.stats-grid {
  margin: 30px 0;
}

.stat-card {
  padding: 24px;
}

.stat-card span {
  color: var(--gray-500);
  font-size: 0.92rem;
}

.contact-preview {
  background: var(--green-900);
  color: var(--white);
}

.contact-panel,
.contact-form {
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.contact-preview .contact-panel,
.contact-preview .contact-form {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-list a,
.contact-list span {
  overflow-wrap: anywhere;
  color: inherit;
  opacity: 0.86;
}

.hours {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(20, 56, 38, 0.12);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: inherit;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  /* Large inputs improve trust and mobile usability */
  width: 100%;
  border: 1px solid rgba(20, 56, 38, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-950);
  font: inherit;
  min-height: 52px;
  padding: 15px 16px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(31, 81, 56, 0.1);
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
  filter: grayscale(0.18);
}

.site-footer {
  /* Dark footer anchors legal, navigation, and direct contact information */
  background: var(--green-950);
  color: var(--white);
  padding-top: 70px;
  transition: padding 0.25s ease;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.4rem);
  align-items: start;
}

.footer-grid > div {
  min-width: 0;
}

.footer-grid h3 {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.96rem;
}

.footer-grid a,
.footer-grid span,
.footer-grid p {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
  overflow-wrap: anywhere;
}

.footer-logo {
  margin-bottom: 18px;
}

/* .social-icons {
  display: flex;
  gap: 10px;
  margin-top: 14px;
} */

/* .social-icons a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  font-size: 0.76rem;
  text-transform: uppercase;
} */

.footer-bottom {
  margin-top: 54px;
  padding: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.reveal {
  /* Scroll animation state toggled by IntersectionObserver */
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

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