html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #FAFAFA;
  color: #263238;
  line-height: 1.6;
  hyphens: auto;
}

a {
  color: #546E7A;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 250, 250, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(84, 110, 122, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

footer .logo img {
  filter: brightness(10);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #D7CCC8, #546E7A);
  color: #FAFAFA;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Merriweather", serif;
  font-size: 1.1rem;
}

.logo-text {
  font-size: 0.95rem;
}

.site-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: rgba(250, 250, 250, 0.98);
  width: 100%;
  display: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-nav a {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a.active {
  color: #546E7A;
  position: relative;
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.35rem;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, #546E7A, #81C784);
  border-radius: 999px;
}

.site-nav.is-open {
  display: block;
}

.nav-toggle {
  border: none;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle-line {
  width: 22px;
  height: 2px;
  background: #263238;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #FAFAFA;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 0 0, rgba(129, 199, 132, 0.16), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(215, 204, 200, 0.32), transparent 55%),
    repeating-linear-gradient(135deg, rgba(250, 250, 250, 0.18) 0, rgba(250, 250, 250, 0.18) 1px, rgba(84, 110, 122, 0.05) 1px, rgba(84, 110, 122, 0.05) 4px);
  background-color: #37474F;
  transform: translateY(0);
  transition: transform 0.6s ease-out;
}

.hero-curtains {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 55%;
  background-image: linear-gradient(180deg, #D7CCC8, #BCAAA4);
  background-size: 40px 100%;
  background-repeat: repeat-y;
  transform: translateX(0);
  transition: transform 1.4s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.18);
}

.curtain-left {
  left: 0;
  border-radius: 0 80px 80px 0;
}

.curtain-right {
  right: 0;
  border-radius: 80px 0 0 80px;
}

.hero-curtains.is-open .curtain-left {
  transform: translateX(-100%);
}

.hero-curtains.is-open .curtain-right {
  transform: translateX(100%);
}

.hero-content {
  position: relative;
  padding: 5rem 1.5rem 4rem;
  text-align: left;
}

.hero h1 {
  font-family: "Merriweather", serif;
  font-weight: 700;
  font-size: 2rem;
  margin: 0 0 1rem;
}

.hero p {
  max-width: 30rem;
}

.hero p+p {
  margin-top: 0.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-contact {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.hero-contact a {
  color: #E8EAF6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #546E7A, #81C784);
  color: #FAFAFA;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover,
.btn-primary:focus {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: rgba(250, 250, 250, 0.7);
  color: #FAFAFA;
  background: transparent;
}

.btn-outline:hover,
.btn-outline:focus {
  background: rgba(250, 250, 250, 0.12);
}

.btn-outline-light {
  border-color: rgba(84, 110, 122, 0.35);
  color: #263238;
  background: rgba(250, 250, 250, 0.85);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background: #FFFFFF;
}

.btn-secondary {
  background: #D7CCC8;
  color: #263238;
  border-color: #BCAAA4;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: #BCAAA4;
}

.btn-full {
  width: 100%;
}

.section {
  padding: 3.5rem 0;
}

.section-intro {
  background: #FAFAFA;
}

.section-header {
  text-align: left;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-family: "Merriweather", serif;
  font-size: 1.6rem;
  margin: 0 0 0.75rem;
}

.section-header p {
  margin: 0;
}

.grid-two {
  display: grid;
  gap: 2rem;
}

.intro-image-wrap {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.checklist li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.checklist li::before {
  content: "•";
  color: #81C784;
  position: absolute;
  left: 0;
}

.product-grid {
  display: grid;
  gap: 1.5rem;
}

.product-card {
  background: #FFFFFF;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.product-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card h3 {
  font-family: "Merriweather", serif;
  font-size: 1.25rem;
  margin: 1rem 1.25rem 0.25rem;
}

.product-card p {
  margin: 0 1.25rem 0.75rem;
}

.product-card .text-link {
  margin: 0 1.25rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.product-card.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.section-measurement {
  background: linear-gradient(180deg, #ECEFF1, #FAFAFA);
}

.measurement-card {
  background: rgba(250, 250, 250, 0.95);
  padding: 1.5rem 1.5rem 1.75rem;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(84, 110, 122, 0.12);
}

.measurement-card h3 {
  font-family: "Merriweather", serif;
  margin-top: 0;
}

.guide-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.steps-list {
  margin: 0.75rem 0 0;
  padding-left: 1.5rem;
}

.parallax-fabric {
  background-image: linear-gradient(135deg, rgba(84, 110, 122, 0.08), rgba(215, 204, 200, 0.35));
  background-attachment: fixed;
  background-size: cover;
}

.gallery-preview-grid {
  display: grid;
  gap: 0.75rem;
}

.gallery-preview-item {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.align-center {
  text-align: center;
  margin-top: 2rem;
}

.section-gallery-preview {
  color: #263238;
}

.section-cta {
  background: #FFFFFF;
}

.cta-panel {
  background: linear-gradient(135deg, #546E7A, #37474F);
  color: #FAFAFA;
  padding: 1.75rem 1.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.cta-panel a {
  color: #E8F5E9;
}

.cta-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.72rem;
  opacity: 0.9;
  margin-top: 0;
}

.site-footer {
  background: #263238;
  color: rgba(250, 250, 250, 0.9);
  padding: 2.5rem 0 1.5rem;
  margin-top: 2.5rem;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
  text-align: center;
}

.footer-grid > * {
  justify-self: center;
}

.footer-logo {
  font-family: "Merriweather", serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.footer-nav {
  display: grid;
  gap: 0.25rem;
  font-size: 0.9rem;
}

.footer-nav a {
  color: rgba(250, 250, 250, 0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(236, 239, 241, 0.18);
  margin-top: 1.75rem;
  padding-top: 1rem;
  font-size: 0.8rem;
  text-align: center;
  color: rgba(236, 239, 241, 0.76);
}

.page-hero {
  padding: 4rem 0 2.5rem;
  background: linear-gradient(180deg, #ECEFF1, #FAFAFA);
}

.page-hero h1 {
  font-family: "Merriweather", serif;
  font-size: 1.8rem;
  margin: 0 0 0.75rem;
}

.page-hero p {
  margin: 0;
  max-width: 34rem;
}

.product-layout {
  display: grid;
  gap: 2.5rem;
}

.product-detail {
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.product-detail-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-detail-content {
  padding: 1.5rem 1.5rem 1.75rem;
}

.product-detail-content h2 {
  font-family: "Merriweather", serif;
  margin-top: 0;
}

.product-note {
  font-size: 0.9rem;
  color: #546E7A;
  margin-bottom: 0;
}

.section-service-highlight {
  color: #263238;
}

.service-highlight-card {
  background: rgba(250, 250, 250, 0.96);
  padding: 1.5rem 1.5rem 1.75rem;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(84, 110, 122, 0.16);
}

.section-gallery {
  background: #FAFAFA;
}

.masonry-grid {
  column-count: 1;
  column-gap: 0.75rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 0.75rem;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.masonry-item img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.gallery-note {
  font-size: 0.9rem;
  color: #546E7A;
  margin-top: 1rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 40;
}

.lightbox.is-open {
  display: block;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.lightbox-dialog {
  position: relative;
  max-width: min(90vw, 960px);
  margin: 5vh auto;
  z-index: 41;
}

.lightbox-dialog img {
  width: 100%;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  border: none;
  background: transparent;
  color: #FFFFFF;
  font-size: 1.8rem;
  cursor: pointer;
}

.section-contact {
  background: #FAFAFA;
}

.contact-layout {
  display: grid;
  gap: 2.5rem;
}

.contact-panel {
  background: #FFFFFF;
  padding: 1.5rem 1.5rem 1.75rem;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.contact-form-panel {
  background: #FFFFFF;
  padding: 1.5rem 1.5rem 1.75rem;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.contact-form .form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(84, 110, 122, 0.35);
  padding: 0.65rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  background: #FAFAFA;
}

.form-row textarea {
  border-radius: 14px;
  resize: vertical;
}

.form-row-inline {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.form-row-inline input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
}

.form-hint {
  font-size: 0.85rem;
  color: #546E7A;
  margin-top: -0.25rem;
  margin-bottom: 1rem;
}

.form-error {
  margin-top: 0.75rem;
  color: #B71C1C;
  font-size: 0.9rem;
}

.section-map h2 {
  margin-top: 0;
  font-family: "Merriweather", serif;
}

.map-embed {
  margin-top: 1rem;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.map-embed iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
}

.section-legal {
  background: #FAFAFA;
}

.legal-content {
  background: #FFFFFF;
  padding: 1.75rem 1.5rem 2rem;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  font-size: 0.95rem;
}

.legal-content h2 {
  font-family: "Merriweather", serif;
  margin-top: 1.5rem;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.success-body {
  background: radial-gradient(circle at 0 0, #81C784, #546E7A);
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.success-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 2rem;
}

.success-card {
  max-width: 460px;
  width: 100%;
  background: rgba(250, 250, 250, 0.95);
  border-radius: 24px;
  padding: 2.25rem 2rem 2.25rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #81C784;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.success-card h1 {
  font-family: "Merriweather", serif;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.success-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.success-footer {
  background: transparent;
  color: rgba(250, 250, 250, 0.9);
  padding-top: 0;
  margin-top: 0;
}

@media (min-width: 600px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .grid-two {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
  }

  .gallery-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .masonry-grid {
    column-count: 2;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: flex-start;
  }
}

@media (min-width: 900px) {
  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding-top: 6rem;
    padding-bottom: 5rem;
  }

  .hero h1 {
    font-size: 2.8rem;
    max-width: 30rem;
  }

  .product-layout {
    gap: 3rem;
  }

  .product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  }

  .product-detail:nth-child(even) {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.05fr);
  }

  .product-detail:nth-child(even) .product-detail-image {
    order: 2;
  }

  .masonry-grid {
    column-count: 3;
  }

  .footer-grid {
    grid-template-columns: auto 1fr 1fr;
    text-align: left;
    align-items: flex-start;
  }

  .footer-grid > * {
    justify-self: flex-start;
  }

  .site-nav {
    position: static;
    width: auto;
    background: transparent;
    display: block;
    box-shadow: none;
  }

  .site-nav ul {
    flex-direction: row;
    gap: 1.25rem;
    padding: 0;
  }

  .site-nav a {
    padding: 0.25rem 0;
  }

  .nav-toggle {
    display: none;
  }
}

@media (max-width: 767px) {
  .success-card h1 {
    font-size: 1.5rem;
  }
}