:root {
  --background: #fbf9f6;
  --surface: #ffffff;
  --surface-warm: #f5eee7;
  --text: #1a202c;
  --muted: #667085;
  --terracotta: #a85d3a;
  --terracotta-dark: #87482c;
  --olive: #52644b;
  --olive-light: #e7ece3;
  --border: #e7ddd2;
  --shadow-sm: 0 8px 28px rgba(26, 32, 44, 0.07);
  --shadow-lg: 0 24px 70px rgba(26, 32, 44, 0.14);
  --radius: 8px;
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  transition:
    color var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition),
    opacity var(--transition);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  width: min(1240px, calc(100% - 32px));
  min-height: 68px;
  margin: 12px auto 0;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(231, 221, 210, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.brand strong {
  display: block;
  color: var(--text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--terracotta);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-toggle {
  display: grid;
  gap: 5px;
  width: 44px;
  height: 44px;
  place-content: center;
  padding: 0;
  background: var(--text);
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
}

.site-nav,
.header-cta {
  display: none;
}

.site-nav.is-open {
  position: fixed;
  top: 92px;
  right: 16px;
  left: 16px;
  display: grid;
  gap: 4px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.site-nav a {
  padding: 12px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 6px;
}

.hero,
.section,
.site-footer {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
}

.hero {
  position: relative;
  width: 100%;
  max-width: none;
  height: 620px;
  min-height: 0;
  display: flex;
  align-items: end;
  margin-top: 18px;
  margin-inline: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

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

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 20, 26, 0.88) 0%, rgba(13, 20, 26, 0.7) 43%, rgba(13, 20, 26, 0.12) 78%),
    linear-gradient(0deg, rgba(13, 20, 26, 0.5), transparent 45%);
}

.hero-content {
  width: min(760px, 100%);
  padding: 44px 64px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0b489;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.08;
}

h1 {
  max-width: 680px;
  color: #fff;
  font-size: 4.35rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 1.45rem;
}

.hero-text {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.trust-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 20px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.trust-badge span {
  display: inline-flex;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

.btn.primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 12px 28px rgba(168, 93, 58, 0.28);
}

.btn.primary:hover {
  background: var(--terracotta-dark);
  box-shadow: 0 16px 34px rgba(168, 93, 58, 0.36);
  transform: translateY(-2px);
}

.btn.glass {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(12px);
}

.btn.glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  transform: translateY(-2px);
}

.photo-credit {
  position: absolute;
  right: 14px;
  bottom: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.66rem;
}

.photo-credit:hover {
  color: #fff;
}

.section {
  padding: 84px 0;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.segmented-control {
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0 auto 34px;
  padding: 6px;
  background: #eee8e1;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.segmented-control button {
  min-height: 48px;
  padding: 10px 14px;
  color: var(--muted);
  font-weight: 800;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
}

.segmented-control button[aria-selected="true"] {
  color: var(--text);
  background: #fff;
  border-color: var(--border);
  box-shadow: 0 6px 18px rgba(26, 32, 44, 0.08);
}

.tab-panel {
  animation: panel-in 0.35s ease both;
}

.tab-panel[hidden] {
  display: none;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.package-grid,
.office-grid,
.material-grid,
.process-list {
  display: grid;
  gap: 18px;
}

.package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.package-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.package-image {
  width: 100%;
  height: 230px;
  flex: 0 0 230px;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--border);
}

.package-content {
  min-height: 390px;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 28px 32px;
}

.package-card:hover,
.package-card:focus-within {
  border-color: var(--terracotta);
  box-shadow: 0 20px 48px rgba(26, 32, 44, 0.12);
  transform: translateY(-6px) scale(1.015);
}

.package-card.featured {
  border-color: rgba(168, 93, 58, 0.55);
  box-shadow: 0 18px 45px rgba(168, 93, 58, 0.13);
}

.popular-label {
  position: absolute;
  top: 12px;
  right: 20px;
  z-index: 2;
  padding: 6px 10px;
  background: var(--terracotta);
  color: #fff;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.package-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--olive);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.bhk-badge {
  display: inline-flex;
  min-width: 56px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  background: var(--olive-light);
  border-radius: 6px;
  color: var(--olive);
}

.package-content > p {
  margin: 10px 0 0;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 32px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #3d4653;
  font-size: 0.92rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 1px;
  left: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  background: var(--olive-light);
  color: var(--olive);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.package-button,
.office-card button {
  min-height: 46px;
  margin-top: auto;
  padding: 11px 14px;
  color: var(--terracotta);
  font-weight: 800;
  background: #fff9f5;
  border: 1px solid #dfb8a3;
  border-radius: 7px;
  cursor: pointer;
}

.package-button:hover,
.office-card button:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
}

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

.office-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.office-card:hover {
  box-shadow: 0 18px 42px rgba(26, 32, 44, 0.12);
  transform: translateY(-5px);
}

.office-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.office-card > div {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.office-card span {
  margin-bottom: 6px;
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.office-card p {
  margin: 10px 0 24px;
  color: var(--muted);
}

.materials-section {
  width: 100%;
  padding-inline: max(16px, calc((100% - 1240px) / 2));
  background: #f1ebe4;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.material-grid article {
  min-width: 0;
  padding: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(26, 32, 44, 0.05);
}

.material-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: #fff;
  background: var(--olive);
  border-radius: 7px;
  font-size: 0.72rem;
  font-weight: 900;
}

.material-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.process-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-width: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.process-list span {
  display: block;
  margin-bottom: 28px;
  color: var(--terracotta);
  font-size: 0.8rem;
  font-weight: 900;
}

.process-list strong {
  display: block;
  color: var(--text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
}

.process-list p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 58px;
  align-items: center;
  margin-bottom: 84px;
  padding: 56px;
  background: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.contact-copy h2 {
  color: #fff;
}

.contact-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.contact-copy .eyebrow {
  color: #f0b489;
}

.contact-points {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.contact-points span {
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.contact-points span::before {
  content: "✓";
  margin-left: -20px;
  margin-right: 8px;
  color: #b8c9af;
  font-weight: 900;
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.form-heading span {
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.form-heading h3 {
  margin-top: 4px;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 7px;
}

legend {
  padding: 0 8px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
}

legend span {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  margin-right: 6px;
  background: var(--olive-light);
  color: var(--olive);
  border-radius: 50%;
  font-size: 0.7rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--text);
  background: var(--background);
  border: 1px solid #dcd5cd;
  border-radius: 7px;
}

input:hover,
select:hover {
  border-color: #b9aca0;
}

input:focus,
select:focus,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(168, 93, 58, 0.27);
  outline-offset: 2px;
}

.form-submit {
  width: 100%;
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.form-note.is-success {
  color: var(--olive);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  padding: 32px 0 46px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  border: 1px solid var(--border);
  border-radius: 7px;
}

.footer-brand strong {
  color: var(--text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.18rem;
}

.site-footer p {
  margin: 2px 0 0;
  font-size: 0.82rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer nav a {
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
}

.site-footer nav a:hover {
  color: var(--terracotta);
}

.site-footer > .container {
  grid-column: 1 / -1;
  width: 100%;
}

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

.pt-4 {
  padding-top: 24px;
}

.border-top {
  border-top: 1px solid;
}

.border-secondary {
  border-color: var(--border);
}

.text-muted {
  color: var(--muted);
}

.small {
  font-size: 0.78rem;
}

.mb-2 {
  margin-bottom: 8px;
}

.mx-2 {
  margin-inline: 8px;
}

.text-decoration-none {
  text-decoration: none;
}

.site-footer > .container a:hover {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 27, 0.72);
  backdrop-filter: blur(6px);
}

.legal-modal__dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(231, 221, 210, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 32px 90px rgba(12, 18, 27, 0.32);
  animation: modal-enter 0.3s ease both;
}

.legal-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px 20px;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}

.legal-modal__eyebrow {
  display: block;
  margin-bottom: 3px;
  color: var(--terracotta);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.legal-modal__header h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.legal-modal__close {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
}

.legal-modal__close:hover {
  color: #fff;
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: rotate(5deg);
}

.legal-modal__body {
  overflow-y: auto;
  padding: 24px 26px 10px;
  overscroll-behavior: contain;
}

.legal-modal__intro {
  margin: 0 0 22px;
  padding: 15px 16px;
  color: var(--text);
  background: var(--surface-warm);
  border-left: 3px solid var(--terracotta);
  border-radius: 0 6px 6px 0;
  font-weight: 600;
}

.legal-modal__body section {
  padding: 0 0 18px;
}

.legal-modal__body h3 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 0.98rem;
}

.legal-modal__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.legal-modal__body a {
  color: var(--terracotta-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-modal__updated {
  padding: 12px 0 16px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem !important;
}

.legal-modal__footer {
  display: flex;
  justify-content: flex-end;
  padding: 15px 26px;
  background: var(--background);
  border-top: 1px solid var(--border);
}

.legal-modal__button {
  min-height: 42px;
  padding: 9px 20px;
  color: #fff;
  background: var(--terracotta);
  border: 1px solid var(--terracotta);
  border-radius: 7px;
  cursor: pointer;
  font-weight: 800;
}

.legal-modal__button:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  transform: translateY(-1px);
}

@keyframes modal-enter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mobile-contact-top,
.mobile-contact-bottom {
  display: none;
}

.desktop-contact-dock {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 45;
  display: grid;
  width: 104px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-50%);
}

.dock-whatsapp,
.dock-call {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.dock-whatsapp {
  position: relative;
  flex-direction: column;
  gap: 7px;
  background: #26884f;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.dock-whatsapp img {
  width: 28px;
  height: 28px;
}

.dock-whatsapp:hover {
  background: #1f7442;
}

.dock-call {
  flex-direction: column;
  gap: 2px;
  padding: 10px 6px;
  color: var(--terracotta);
  border-top: 1px solid var(--border);
}

.dock-call strong {
  color: var(--text);
  font-size: 0.76rem;
}

.dock-call span {
  font-size: 0.66rem;
  font-weight: 800;
}

.dock-call:hover {
  background: var(--surface-warm);
}

.dock-whatsapp::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  pointer-events: none;
  animation: whatsapp-pulse 2.2s ease-out infinite;
}

@keyframes whatsapp-pulse {
  0% {
    opacity: 0;
    transform: scale(0.88);
  }
  35% {
    opacity: 0.7;
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.04);
  }
}

@media (min-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle {
    display: none;
  }

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

  .site-nav a:hover {
    background: var(--surface-warm);
  }

  .header-cta {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    background: var(--terracotta);
    color: #fff;
    border-radius: 7px;
    font-size: 0.84rem;
    font-weight: 800;
  }

  .header-cta:hover {
    background: var(--terracotta-dark);
    transform: translateY(-1px);
  }
}

@media (max-width: 979px) {
  h1 {
    font-size: 4rem;
  }

  .hero {
    height: 620px;
    min-height: 0;
  }

  .hero-content {
    padding: 46px;
  }

  .package-grid,
  .office-grid {
    grid-template-columns: 1fr;
  }

  .package-card:hover,
  .package-card:focus-within {
    transform: translateY(-4px);
  }

  .office-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .office-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .material-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-section {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section,
  .site-footer {
    width: calc(100% - 24px);
  }

  .site-header {
    top: 8px;
    margin-top: 8px;
  }

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

  .hero {
    width: 100%;
    height: 680px;
    min-height: 0;
    margin-top: 12px;
    margin-inline: 0;
    align-items: end;
  }

  .hero-image {
    object-position: 63% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(13, 20, 26, 0.92) 0%, rgba(13, 20, 26, 0.7) 62%, rgba(13, 20, 26, 0.18) 100%);
  }

  .hero-content {
    padding: 28px 20px 46px;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .trust-badge {
    display: grid;
    font-size: 0.76rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .photo-credit {
    display: none;
  }

  .section {
    padding-block: 62px;
  }

  .segmented-control button {
    padding-inline: 8px;
    font-size: 0.78rem;
  }

  .package-card,
  .material-grid article {
    padding: 0;
  }

  .package-content {
    min-height: 0;
    padding: 22px 22px 28px;
  }

  .package-image {
    height: 220px;
    flex-basis: 220px;
  }

  .office-card {
    display: block;
  }

  .office-card img {
    aspect-ratio: 16 / 10;
  }

  .office-card > div {
    min-height: 250px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .contact-section {
    width: calc(100% - 24px);
    gap: 32px;
    margin-bottom: 62px;
    padding: 28px 18px;
  }

  .lead-form {
    padding: 20px 16px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    gap: 12px;
  }

  .site-footer > .container {
    padding-inline: 4px;
  }

  .site-footer > .container .small {
    line-height: 2;
  }

  .site-footer > .container .mx-2 {
    margin-inline: 4px;
  }

  .legal-modal {
    align-items: end;
    padding: 12px;
  }

  .legal-modal__dialog {
    max-height: calc(100dvh - 24px);
  }

  .legal-modal__header,
  .legal-modal__body {
    padding-right: 18px;
    padding-left: 18px;
  }

  .legal-modal__footer {
    padding: 12px 18px;
  }

  .legal-modal__button {
    width: 100%;
  }

  body {
    padding-bottom: 72px;
  }

  .desktop-contact-dock {
    display: none;
  }

  .mobile-contact-top,
  .mobile-contact-bottom {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.96);
  }

  .mobile-contact-top {
    width: calc(100% - 24px);
    margin: 8px auto 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
  }

  .mobile-contact-bottom {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 28px rgba(26, 32, 44, 0.12);
  }

  .mobile-whatsapp,
  .mobile-call {
    min-width: 0;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 8px;
    border-radius: 7px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    text-align: center;
  }

  .mobile-whatsapp {
    background: #26884f;
  }

  .mobile-whatsapp img {
    width: 22px;
    height: 22px;
  }

  .mobile-call {
    background: var(--terracotta);
  }
}

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

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