:root {
  color-scheme: light;
  --ink: #241d1b;
  --muted: #6f6460;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --wine: #7b2f2a;
  --wine-dark: #4f1f1b;
  --copper: #b97653;
  --teal: #147b74;
  --blue: #305c95;
  --gold: #d9a441;
  --line: rgba(36, 29, 27, 0.14);
  --shadow: 0 24px 70px rgba(42, 29, 23, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  align-items: center;
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 0 5vw;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

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

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--wine), var(--copper));
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  color: #4c413d;
}

.nav-links a:hover {
  color: var(--wine);
}

.hero {
  min-height: 82vh;
  overflow: hidden;
  position: relative;
}

.hero-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(22, 16, 14, 0.74) 0%, rgba(22, 16, 14, 0.36) 44%, rgba(22, 16, 14, 0.02) 100%),
    linear-gradient(0deg, rgba(251, 250, 247, 0.1) 0%, rgba(251, 250, 247, 0) 45%);
  inset: 0;
  position: absolute;
}

.hero-content {
  color: #fff;
  max-width: 720px;
  padding: 18vh 5vw 8vh;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  font-size: clamp(46px, 7vw, 96px);
  line-height: 0.98;
  margin: 0;
  max-width: 760px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.55;
  margin: 26px 0 0;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button.primary {
  background: var(--wine);
  box-shadow: 0 14px 32px rgba(123, 47, 42, 0.32);
  color: #fff;
}

.button.primary:hover {
  background: var(--wine-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 32px rgba(20, 12, 8, 0.18);
  color: var(--wine);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.button.secondary:hover {
  background: #fff;
}

.button.whatsapp-cta {
  background: #25d366;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.32);
  color: #fff;
  gap: 8px;
}

.button.whatsapp-cta:hover {
  background: #1ebe57;
}

.button.whatsapp-cta svg {
  fill: currentColor;
  height: 19px;
  width: 19px;
}

.button.full {
  width: 100%;
}

.metrics {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metrics div {
  border-right: 1px solid var(--line);
  padding: 30px 5vw;
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  color: var(--wine);
  display: block;
  font-size: 24px;
  line-height: 1.1;
}

.metrics span {
  color: var(--muted);
  display: block;
  margin-top: 8px;
}

.section {
  padding: 92px 5vw;
}

.intro {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(251, 250, 247, 1)),
    radial-gradient(circle at 85% 18%, rgba(20, 123, 116, 0.12), transparent 34%);
}

.section-heading {
  max-width: 800px;
}

.section-heading.compact {
  max-width: 650px;
}

.section-heading h2,
.split-copy h2,
.quote-copy h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  margin: 0;
}

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

.service-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(44, 34, 29, 0.08);
  min-height: 220px;
  padding: 26px;
}

.service-icon {
  align-items: center;
  background: #f3e8dd;
  border-radius: 8px;
  color: var(--wine);
  display: inline-flex;
  font-size: 22px;
  height: 44px;
  justify-content: center;
  margin-bottom: 22px;
  width: 44px;
}

.service-card:nth-child(2) .service-icon,
.service-card:nth-child(5) .service-icon {
  background: #e5f4f1;
  color: var(--teal);
}

.service-card:nth-child(3) .service-icon,
.service-card:nth-child(6) .service-icon {
  background: #e8eef8;
  color: var(--blue);
}

.service-card h3 {
  font-size: 22px;
  margin: 0 0 12px;
}

.service-card p,
.split-copy p,
.process-list p,
.quote-copy p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.glass-feature {
  align-items: center;
  background: #130f0e;
  color: #fff;
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.68fr);
}

.glass-feature h2 {
  font-size: clamp(32px, 4.7vw, 66px);
  line-height: 1.02;
  margin: 0;
  max-width: 760px;
}

.glass-feature p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
  line-height: 1.65;
  margin: 22px 0 30px;
  max-width: 620px;
}

.glass-feature-image {
  margin: 0;
}

.glass-feature-image img {
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  object-fit: cover;
  width: 100%;
}

.split {
  align-items: start;
  background: #f4f0ea;
  display: grid;
  gap: 52px;
  grid-template-columns: 0.95fr 1.05fr;
}

.split-copy p {
  font-size: 17px;
  margin-top: 22px;
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-list div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.process-list span {
  color: var(--copper);
  display: block;
  font-weight: 900;
  margin-bottom: 14px;
}

.process-list strong {
  display: block;
  font-size: 22px;
  margin-bottom: 8px;
}

.projects {
  background: var(--paper);
}

.project-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
}

.project-grid article {
  align-content: end;
  background: linear-gradient(155deg, #8a3a34 0%, #6f2a26 100%);
  border-radius: 12px;
  color: #fff;
  display: grid;
  min-height: 300px;
  padding: 30px;
}

.project-grid article:nth-child(2) {
  background: linear-gradient(155deg, #2f8f86 0%, #1f6f68 100%);
}

.project-grid article:nth-child(3) {
  background: linear-gradient(155deg, #3a6ea8 0%, #294e7e 100%);
}

.project-grid span {
  color: #ffd774;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.project-grid strong {
  font-size: 24px;
  line-height: 1.2;
}

.quote-band {
  align-items: center;
  background: #211918;
  color: #fff;
  display: grid;
  gap: 52px;
  grid-template-columns: 1fr 480px;
  padding: 92px 5vw;
}

.quote-copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  margin-top: 22px;
  max-width: 620px;
}

.quote-form {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  display: grid;
  gap: 16px;
  padding: 26px;
}

label {
  color: #3d3431;
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
}

input,
select,
textarea {
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 12px 14px;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(123, 47, 42, 0.16);
  outline: 0;
}

.form-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.site-footer {
  align-items: center;
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 28px 5vw;
}

.site-footer strong {
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}

.site-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.site-footer-contact a {
  color: inherit;
}

.contact-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 36px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(44, 34, 29, 0.08);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

a.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(44, 34, 29, 0.14);
}

.contact-card strong {
  color: var(--wine);
  font-size: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.contact-card span {
  font-size: 20px;
  font-weight: 800;
}

.contact-card small {
  color: var(--muted);
}

.floating-whatsapp {
  align-items: center;
  background: linear-gradient(135deg, #25d366 0%, #1ebe57 100%);
  border-radius: 50%;
  bottom: 24px;
  box-shadow: 0 14px 34px rgba(6, 80, 33, 0.32);
  color: #fff;
  display: inline-flex;
  height: 60px;
  justify-content: center;
  position: fixed;
  right: 24px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  width: 60px;
  z-index: 40;
  animation: whatsapp-pulse 2.4s ease-out infinite;
}

.floating-whatsapp:hover {
  box-shadow: 0 20px 48px rgba(6, 80, 33, 0.42);
  transform: translateY(-2px) scale(1.06);
  animation-play-state: paused;
}

.floating-whatsapp svg {
  display: block;
}

.portfolio-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 36px;
}

.portfolio-item {
  border-radius: 18px;
  margin: 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 14px 32px rgba(20, 12, 8, 0.12);
  background: #f3ede7;
}

.portfolio-item img {
  aspect-ratio: 4 / 3;
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  width: 100%;
}

.portfolio-item:hover img {
  transform: scale(1.06);
}

.portfolio-item figcaption {
  background: linear-gradient(to top, rgba(20, 12, 8, 0.82) 0%, rgba(20, 12, 8, 0) 100%);
  bottom: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  left: 0;
  padding: 28px 16px 14px;
  position: absolute;
  right: 0;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 14px 34px rgba(6, 80, 33, 0.32), 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  70% {
    box-shadow: 0 14px 34px rgba(6, 80, 33, 0.32), 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 14px 34px rgba(6, 80, 33, 0.32), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp {
    animation: none;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-content {
    padding-top: 16vh;
  }

  .metrics,
  .service-grid,
  .glass-feature,
  .split,
  .project-grid,
  .contact-grid,
  .quote-band {
    grid-template-columns: 1fr;
  }

  .metrics div {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    padding: 22px 5vw;
  }

  .quote-band {
    gap: 34px;
  }

  .glass-feature-image {
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    height: 36px;
    width: 36px;
  }

  .hero {
    min-height: 84vh;
  }

  .hero-scrim {
    background: linear-gradient(180deg, rgba(22, 16, 14, 0.78), rgba(22, 16, 14, 0.45), rgba(22, 16, 14, 0.16));
  }

  .hero-content {
    padding: 15vh 6vw 9vh;
  }

  h1 {
    font-size: 48px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section,
  .quote-band {
    padding: 66px 6vw;
  }

  .service-card {
    min-height: auto;
  }

  .project-grid article {
    min-height: 280px;
  }

  .quote-form {
    padding: 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 100px;
  }

  .floating-whatsapp {
    bottom: 16px;
    height: 60px;
    right: 16px;
    width: 60px;
  }

  .glass-feature p {
    font-size: 16px;
  }
}
