:root {
  --bg: #f7f2eb;
  --bg-soft: #fbf8f3;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-dark: #26211d;
  --text: #211c18;
  --text-soft: #5f5750;
  --border: rgba(50, 39, 31, 0.12);
  --gold: #ad8a56;
  --gold-soft: rgba(173, 138, 86, 0.18);
  --shadow: 0 20px 60px rgba(35, 25, 16, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(173, 138, 86, 0.12), transparent 24%),
    linear-gradient(180deg, #fffdf9 0%, var(--bg) 42%, #f3ede5 100%);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(20px);
  background: rgba(250, 246, 240, 0.84);
  border-bottom: 1px solid rgba(46, 34, 25, 0.08);
}

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

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

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.brand small {
  color: var(--text-soft);
  font-size: 0.76rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(145deg, #2c241e, #6d5336);
  color: #f8f0e3;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--text-soft);
  font-weight: 600;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.28s ease;
}

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

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(35, 25, 16, 0.08);
  padding: 0.8rem;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

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

.button-gold {
  background: linear-gradient(135deg, #b7925a, #8f6d3d);
  color: #fffaf1;
  box-shadow: 0 14px 30px rgba(143, 109, 61, 0.22);
}

.button-outline {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--border);
  color: var(--text);
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.02;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  letter-spacing: -0.03em;
}

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

h3 {
  font-size: 1.7rem;
}

p {
  margin: 0;
  color: var(--text-soft);
}

.hero-section,
.page-hero {
  padding: 4rem 0 3rem;
}

.hero-grid,
.page-hero-grid,
.split-section,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.hero-copy,
.page-hero-grid > div {
  max-width: 640px;
}

.page-hero-grid .eyebrow {
  margin-bottom: 0.9rem;
}

.page-hero-grid h1 {
  margin-bottom: 1.15rem;
}

.page-hero-grid p:not(.eyebrow) {
  max-width: 56ch;
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-text {
  margin-top: 1.3rem;
  font-size: 1.08rem;
}

.hero-actions,
.cta-actions,
.center-actions,
.mini-cta,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero-metrics article,
.process-card,
.feature-card,
.service-card,
.content-panel,
.contact-card,
.contact-info,
.testimonial-quote,
.project-card,
.portfolio-card,
.service-detail,
.before-after-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-metrics article {
  min-width: 148px;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
}

.hero-metrics strong {
  display: block;
  color: var(--text);
  font-size: 1.8rem;
}

.hero-visual {
  position: relative;
  min-height: 600px;
}

.hero-card {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-card-main {
  inset: 0 0 4rem 3rem;
}

.hero-card-main img,
.page-hero img,
.portfolio-card img,
.project-card img,
.before-after-card img {
  height: 100%;
  object-fit: cover;
}

.hero-card-floating {
  right: 0;
  bottom: 0;
  max-width: 320px;
  padding: 1.4rem;
  background: rgba(38, 33, 29, 0.92);
  color: #f8f0e5;
}

.hero-card-floating p {
  color: rgba(248, 240, 229, 0.72);
  margin-bottom: 0.45rem;
}

.section {
  padding: 4.5rem 0;
}

.section-muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(243, 236, 227, 0.75));
}

.section-dark {
  background: linear-gradient(135deg, #271f1a, #332720);
}

.section-head,
.section-heading {
  max-width: 740px;
  margin-bottom: 2rem;
}

.light h2,
.light p,
.section-dark .rating,
.section-dark strong,
.section-dark span {
  color: #f7efe4;
}

.text-link {
  display: inline-flex;
  margin-top: 1.2rem;
  font-weight: 800;
  color: var(--text);
}

.services-grid,
.feature-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.service-card,
.feature-card,
.testimonial-quote {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.icon-box {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  margin-bottom: 1rem;
  background: linear-gradient(145deg, rgba(173, 138, 86, 0.18), rgba(255, 255, 255, 0.8));
  color: #7f5f33;
}

.icon-box svg {
  width: 28px;
  height: 28px;
}

.portfolio-preview,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.portfolio-card,
.project-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.portfolio-card img,
.project-card img {
  height: 300px;
}

.portfolio-card div,
.project-card div {
  padding: 1.25rem;
}

.portfolio-card span,
.project-card span {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.testimonial-slider {
  position: relative;
  max-width: 860px;
}

.testimonial-card {
  display: none;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.testimonial-card.active {
  display: block;
}

.testimonial-card p {
  margin: 1rem 0 1.25rem;
  color: rgba(247, 239, 228, 0.8);
  font-size: 1.06rem;
}

.slider-controls {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.slider-controls button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #f7efe4;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(44, 34, 27, 0.98), rgba(89, 68, 44, 0.92));
  box-shadow: var(--shadow);
}

.cta-band h2,
.cta-band p {
  color: #f9f1e5;
}

.site-footer {
  padding: 3rem 0 1rem;
  background: #201915;
  color: rgba(248, 240, 229, 0.84);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 1.6rem;
}

.site-footer h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.site-footer a,
.site-footer p {
  display: block;
  margin-bottom: 0.65rem;
  color: rgba(248, 240, 229, 0.72);
}

.footer-brand {
  align-items: flex-start;
}

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.social-links svg,
.whatsapp-float svg,
.instagram-float svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  padding-top: 1.2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.story-grid,
.two-column,
.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.content-panel,
.contact-card,
.contact-info {
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.services-stack {
  display: grid;
  gap: 1rem;
}

.service-detail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.process-grid .section-head {
  grid-column: 1 / -1;
  margin-bottom: 0.5rem;
}

.process-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
}

.process-card span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  margin-bottom: 1rem;
  background: var(--gold-soft);
  color: var(--gold);
  font-weight: 800;
}

.process-card h3 {
  margin-bottom: 0.75rem;
}

.process-card p {
  flex: 1;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.filter-bar button {
  min-height: 46px;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
  color: var(--text-soft);
  font-weight: 700;
}

.filter-bar button.active {
  background: #2f2620;
  color: #fff7eb;
  border-color: #2f2620;
}

.project-card.is-hidden {
  display: none;
}

.before-after-card {
  padding: 1rem;
  border-radius: var(--radius-xl);
}

.before-after-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.before-pane,
.after-pane {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.before-pane span,
.after-pane span {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(33, 28, 24, 0.68);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.before-after-card img {
  height: 280px;
}

.contact-layout {
  align-items: start;
}

.contact-card form,
.inquiry-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--text);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
}

textarea {
  resize: vertical;
}

.contact-info a {
  font-size: 1.05rem;
  font-weight: 700;
}

.map-frame {
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
}

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

.social-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 25;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.whatsapp-float,
.instagram-float {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
}

.whatsapp-float {
  background: #1f9d58;
  box-shadow: 0 18px 36px rgba(31, 157, 88, 0.28);
}

.instagram-float {
  background: linear-gradient(135deg, #515bd4, #8134af, #dd2a7b, #f58529);
  box-shadow: 0 18px 36px rgba(129, 52, 175, 0.22);
}

.consult-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(18, 14, 11, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.consult-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.consult-dialog {
  position: relative;
  width: min(560px, 100%);
  padding: 2rem;
  border-radius: 28px;
  background: #fdf9f4;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(33, 28, 24, 0.08);
  color: var(--text);
  font-size: 1.5rem;
}

.modal-step {
  display: none;
}

.modal-step.active {
  display: block;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.choice-grid button {
  min-height: 68px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  font-weight: 800;
}

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

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

@media (max-width: 1080px) {
  .services-grid,
  .feature-grid,
  .process-grid,
  .testimonial-grid,
  .portfolio-preview,
  .portfolio-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .page-hero-grid,
  .split-section,
  .contact-layout,
  .story-grid,
  .two-column,
  .before-after-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 480px;
  }

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

@media (max-width: 820px) {
  .site-header {
    background: rgba(252, 248, 242, 0.94);
  }

  .nav-wrap {
    min-height: 76px;
    gap: 0.75rem;
  }

  .brand {
    gap: 0.7rem;
    max-width: calc(100% - 64px);
  }

  .brand strong {
    font-size: 0.94rem;
    line-height: 1.1;
    letter-spacing: 0.03em;
  }

  .brand small {
    font-size: 0.68rem;
    line-height: 1.2;
    display: none;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    font-size: 1.2rem;
    flex-shrink: 0;
  }

  .nav-toggle {
    display: inline-grid;
    align-content: center;
    gap: 0.35rem;
    width: 44px;
    height: 44px;
    padding: 0.72rem;
    flex-shrink: 0;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.8rem;
    border-radius: 26px;
    background: rgba(255, 251, 245, 0.98);
    box-shadow: 0 24px 48px rgba(35, 25, 16, 0.14);
    border: 1px solid rgba(46, 34, 25, 0.1);
  }

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

  .site-nav a,
  .site-nav .button {
    width: 100%;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a {
    padding: 0.9rem 1rem;
    border-radius: 16px;
    color: var(--text);
    background: transparent;
  }

  .site-nav a.active {
    background: rgba(173, 138, 86, 0.12);
    color: #6c512c;
  }

  .site-nav .button {
    margin-top: 0.35rem;
    min-height: 50px;
  }

  .hero-card-main {
    inset: 0 0 3rem 0;
  }

  .hero-card-floating {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 1rem auto 0;
  }

  .services-grid,
  .feature-grid,
  .process-grid,
  .testimonial-grid,
  .portfolio-preview,
  .portfolio-grid,
  .footer-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .social-float {
    right: 1rem;
    bottom: 1rem;
    gap: 0.65rem;
  }

  .whatsapp-float span,
  .instagram-float span {
    display: none;
  }

  .process-grid .section-head {
    margin-bottom: 0;
  }
}

@media (max-width: 560px) {
  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .hero-metrics article {
    min-width: 0;
    padding: 0.95rem 0.9rem;
  }

  .hero-metrics strong {
    font-size: 1.5rem;
  }

  .hero-metrics span {
    display: block;
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .nav-wrap {
    min-height: 70px;
  }

  .brand {
    gap: 0.6rem;
    max-width: calc(100% - 56px);
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    font-size: 1.05rem;
  }

  .brand strong {
    font-size: 0.86rem;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    padding: 0.62rem;
  }

  .site-nav {
    left: 0.75rem;
    right: 0.75rem;
    padding: 0.75rem;
    border-radius: 22px;
  }

  .site-nav a {
    padding: 0.82rem 0.9rem;
    font-size: 0.95rem;
  }
}

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

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