:root {
  --bg: #f6f1e8;
  --surface: #fbf8f3;
  --surface-strong: #efe6d8;
  --text: #16120d;
  --muted: #5f564b;
  --line: rgba(22, 18, 13, 0.14);
  --accent: #8f6a2d;
  --accent-soft: rgba(143, 106, 45, 0.14);
  --shadow: 0 24px 60px rgba(17, 13, 10, 0.12);
  --radius: 28px;
  --container: min(1180px, calc(100vw - 32px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(143, 106, 45, 0.08), transparent 28%),
    linear-gradient(180deg, #f7f2e9 0%, #f3ede2 100%);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section-spacing {
  padding: 108px 0;
}

.site-header {
  position: fixed;
  inset: 18px 18px auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  width: auto;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(19, 16, 13, 0.66);
  backdrop-filter: blur(18px);
  color: #fff8f0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 248, 240, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.brand-text small {
  color: rgba(255, 248, 240, 0.7);
  font-size: 0.74rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.site-nav a {
  color: rgba(255, 248, 240, 0.84);
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

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

.button-accent {
  background: #1c2f4a;
  color: #fff;
  box-shadow: 0 18px 35px rgba(28, 47, 74, 0.3);
}

.button-dark {
  background: #1c2f4a;
  color: #fff;
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.65);
  color: var(--text);
}

.hero-actions .button-ghost {
  background: #1c2f4a;
  border-color: #1c2f4a;
  color: #fff;
  box-shadow: 0 18px 35px rgba(28, 47, 74, 0.3);
}

.button-block {
  width: 100%;
}

.quote-form .button-accent {
  font-size: 1.7rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 140px 0 88px;
  background:
    linear-gradient(90deg, rgba(13, 10, 8, 0.88), rgba(13, 10, 8, 0.42)),
    url("IMAGES_2/01.jpeg") center / cover no-repeat;
  color: #fff8f0;
  overflow: clip;
}

.hero-overlay {
  position: absolute;
  inset: auto -12% -24% auto;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 152, 89, 0.22), transparent 62%);
  filter: blur(12px);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 88%);
}

.hero-grid,
.about-grid,
.contact-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
  padding: 28px 30px;
  border: 1px solid rgba(255, 248, 240, 0.1);
  border-radius: 30px;
  background: rgba(10, 8, 6, 0.34);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(7, 5, 4, 0.18);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: rgba(255, 248, 240, 0.78);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3.7rem, 7vw, 6.6rem);
  letter-spacing: -0.04em;
  text-align: center;
}

h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.1;
}

.hero-text,
.section-intro p,
.about-copy p,
.contact-copy > p {
  max-width: 56ch;
  margin: 20px 0 0;
  color: rgba(255, 248, 240, 0.82);
  font-size: 1.05rem;
}

.section-intro p,
.about-copy p,
.contact-copy > p,
.service-card p,
.contact-meta p,
.contact-meta li {
  color: var(--muted);
}

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

.hero-trust,
.about-points,
.contact-meta ul {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.hero-trust {
  display: grid;
  gap: 12px;
}

.hero-trust li,
.about-points li {
  position: relative;
  padding-left: 22px;
}

.hero-trust li::before,
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-visual {
  display: grid;
  justify-items: end;
}

.feature-frame {
  width: min(100%, 470px);
  position: relative;
  padding: 16px 16px 58px;
  border-radius: 32px;
  background: rgba(255, 248, 240, 0.08);
  box-shadow: var(--shadow);
  transform: rotate(3deg);
  backdrop-filter: blur(10px);
}

.hero-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.2);
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 950ms ease-in-out;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 2;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 248, 240, 0.36);
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.hero-dot.is-active {
  background: #fff8f0;
  transform: scale(1.2);
}

.gallery,
.contact {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0));
}

.services.section-spacing {
  padding-top: 36px;
}

.section-intro {
  margin-bottom: 34px;
}

.align-center {
  text-align: center;
}

.align-center p {
  margin-left: auto;
  margin-right: auto;
}

.gallery-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.gallery-viewport {
  overflow: hidden;
}

.gallery-track {
  --gallery-slide-width: min(22rem, calc((100% - 48px) / 3));
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.gallery-card {
  flex: 0 0 var(--gallery-slide-width);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 240, 0.4);
  border-radius: 34px;
  padding: 0;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 50px rgba(22, 18, 13, 0.1);
  cursor: pointer;
  opacity: 1;
  transform: scale(1);
  transform-origin: center;
  scroll-snap-align: center;
  transition:
    transform 320ms ease,
    box-shadow 320ms ease,
    border-color 320ms ease;
}

.gallery-card.is-active {
  border-color: rgba(143, 106, 45, 0.35);
  box-shadow: 0 30px 70px rgba(22, 18, 13, 0.16);
  transform: scale(1.08);
}

.gallery-card:focus-visible {
  outline: 3px solid rgba(28, 47, 74, 0.45);
  outline-offset: 4px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(28, 47, 74, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  color: #1c2f4a;
  box-shadow: 0 14px 30px rgba(22, 18, 13, 0.08);
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.gallery-nav:hover,
.gallery-nav:focus-visible {
  transform: translateY(-2px);
  background: #1c2f4a;
  color: #fff;
}

.gallery-nav span {
  font-size: 2rem;
  line-height: 1;
}

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

.service-card,
.contact-links a,
.quote-form,
.about-copy,
.contact-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 40px rgba(22, 18, 13, 0.06);
}

.service-card {
  padding: 24px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(143, 106, 45, 0.3);
  box-shadow: 0 24px 50px rgba(22, 18, 13, 0.1);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.service-card span {
  display: inline-flex;
  min-width: 34px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(143, 106, 45, 0.18), transparent 55%),
    rgba(248, 242, 233, 0.95);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(143, 106, 45, 0.14);
}

.service-icon svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.service-card:hover .service-icon,
.service-card:focus-within .service-icon {
  animation: service-icon-float 800ms ease;
}

.service-card:hover .icon-spark,
.service-card:focus-within .icon-spark {
  animation: service-icon-pulse 800ms ease;
  transform-origin: center;
}

.icon-frame-inner,
.icon-panel-front,
.icon-canvas,
.icon-bolt {
  fill: rgba(143, 106, 45, 0.08);
}

.icon-mount-line,
.icon-brush,
.icon-wrench {
  stroke-width: 2.6;
}

.service-card h3 {
  font-size: 1.8rem;
  line-height: 1.05;
  margin-bottom: 14px;
}

@keyframes service-icon-float {
  0% {
    transform: translateY(0) scale(1);
  }
  40% {
    transform: translateY(-4px) scale(1.04);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes service-icon-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  40% {
    transform: scale(1.15);
    opacity: 0.75;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.about-copy,
.contact-copy,
.quote-form {
  padding: 34px;
}

.about-visual img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.about-map-banner {
  display: grid;
  gap: 20px;
  margin-top: 28px;
  margin-bottom: -34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 40px rgba(22, 18, 13, 0.06);
}

.about-map-copy h3 {
  font-size: 2rem;
}

.about-map-frame {
  overflow: hidden;
  border-radius: 24px;
  min-height: 280px;
}

.about-map-frame iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

.contact-shell {
  align-items: stretch;
}

.contact-links {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-links a {
  display: grid;
  gap: 4px;
  width: 80%;
  margin: 0 auto;
  padding: 20px 22px;
  justify-items: center;
  text-align: center;
  background: #1c2f4a;
  color: #f7f3ec;
  border-color: rgba(28, 47, 74, 0.85);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(143, 106, 45, 0.35);
}

.contact-links strong {
  font-size: 1.5rem;
  color: #ffffff;
}

.contact-links span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.2rem;
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.quote-form {
  display: grid;
  gap: 9px;
}

.quote-form label {
  display: grid;
  gap: 4px;
  color: var(--text);
  font-weight: 600;
  font-size: 1.4rem;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(22, 18, 13, 0.14);
  border-radius: 18px;
  padding: 15px 16px;
  background: #fffdfa;
  color: var(--text);
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: 2px solid transparent;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.site-footer {
  padding: 28px 0 42px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

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

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

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    display: none;
    flex-direction: column;
    gap: 12px;
    min-width: 210px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(19, 16, 13, 0.94);
    box-shadow: var(--shadow);
  }

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

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-items: start;
  }

  .gallery-track {
    --gallery-slide-width: min(18rem, calc((100% - 32px) / 3));
  }

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

@media (max-width: 720px) {
  .section-spacing {
    padding: 82px 0;
  }

  .site-header {
    inset: 12px 12px auto;
    padding: 12px 14px;
    gap: 12px;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    padding-top: 132px;
  }

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

  .button {
    width: 100%;
  }

  .feature-frame {
    transform: none;
  }

  .gallery-carousel {
    grid-template-columns: 1fr;
  }

  .gallery-track {
    --gallery-slide-width: calc(100% - 96px);
    gap: 14px;
  }

  .gallery-card {
    border-radius: 28px;
    transform: scale(1);
  }

  .gallery-nav {
    display: none;
  }

  .service-grid,
  .contact-meta,
  .footer-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .about-copy,
  .contact-copy,
  .quote-form {
    padding: 26px;
  }

  .about-visual img {
    min-height: 360px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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