:root {
  --primary: #1f4f7a;
  --primary-dark: #081725;
  --secondary-dark: #132235;
  --accent: #c58b2c;
  --accent-strong: #e0a13a;
  --soft: #f6f3ee;
  --white: #ffffff;
  --text: #182230;
  --muted: #677281;
  --border: #e4d8c8;
  --whatsapp: #22c55e;
  --whatsapp-dark: #128c45;
  --phone: #1f4f7a;
  --shadow-soft: 0 16px 38px rgba(8, 23, 37, 0.1);
  --shadow-card: 0 22px 54px rgba(8, 23, 37, 0.15);
  --container: 1160px;
  --header-height: 78px;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  padding-top: var(--header-height);
  color: var(--text);
  background: #fffdf9;
  font-family: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

img {
  display: block;
}

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

button {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 76px 0;
}

.section--soft {
  background: var(--soft);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.section-heading h2,
.split h2 {
  margin: 0;
  color: var(--primary-dark);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.18;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  min-height: var(--header-height);
  background: rgba(255, 253, 249, 0.97);
  border-bottom: 1px solid rgba(228, 216, 200, 0.82);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.22s ease, min-height 0.22s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 32px rgba(7, 21, 38, 0.1);
}

.navbar {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(72px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.brand__logo {
  width: auto;
  height: 70px;
  max-width: 180px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  object-position: center;
  box-shadow: none;
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 11px;
  border-radius: 11px;
  color: #24324a;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: #edf3f8;
}

.mobile-actions {
  display: none;
}

.header-call {
  justify-self: end;
  display: grid;
  gap: 1px;
  padding: 10px 15px;
  border-radius: 10px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #0f304f);
  box-shadow: 0 16px 30px rgba(31, 79, 122, 0.24);
  text-align: center;
}

.header-call span {
  font-size: 0.72rem;
  font-weight: 900;
}

.header-call strong {
  font-size: 0.94rem;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 4px;
  background: var(--primary-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: center;
  padding: 72px 0 64px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 23, 37, 0.92), rgba(8, 23, 37, 0.7)),
    radial-gradient(circle at 84% 24%, rgba(31, 79, 122, 0.42), transparent 32%),
    radial-gradient(circle at 78% 76%, rgba(197, 139, 44, 0.22), transparent 28%),
    linear-gradient(135deg, #081725 0%, #14283b 58%, #1f4f7a 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--primary), var(--whatsapp));
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  align-items: center;
  gap: 36px;
}

.hero__content {
  max-width: 770px;
}

.hero .section-kicker {
  color: #f2bf64;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  color: var(--white);
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero__text {
  max-width: 620px;
  margin: 20px 0 0;
  color: #e8edf2;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.hero__actions,
.cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__visual {
  padding: 0;
  border: 1px solid rgba(224, 161, 58, 0.32);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.hero__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #12375a);
  box-shadow: 0 18px 34px rgba(31, 79, 122, 0.28);
}

.btn--accent {
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 18px 34px rgba(197, 139, 44, 0.28);
}

.hero__actions .btn--accent,
.cta-strip__actions .btn--accent {
  color: var(--white);
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  box-shadow: 0 18px 34px rgba(34, 197, 94, 0.26);
}

.btn--light {
  color: var(--primary-dark);
  background: var(--white);
}

.trust-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: #edf7ff;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  font-size: 0.9rem;
  font-weight: 800;
}

.trust-row svg {
  width: 22px;
  height: 22px;
  color: #f2bf64;
  flex: 0 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 44px;
}

.content-box {
  color: var(--muted);
  font-size: 1.02rem;
}

.content-box p {
  margin: 0 0 13px;
}

.content-box p:last-child {
  margin-bottom: 0;
}

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

.service-card {
  display: grid;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(197, 139, 44, 0.42);
  box-shadow: var(--shadow-card);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 260px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.service-card:hover img {
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.035);
}

.service-card:nth-child(1) img {
  object-position: center 58%;
}

.service-card:nth-child(2) img {
  object-position: 40% center;
}

.service-card:nth-child(3) img {
  object-position: center;
}

.service-card:nth-child(4) img {
  object-position: center 42%;
}

.service-card:nth-child(5) img {
  object-position: center 48%;
}

.service-card:nth-child(6) img {
  object-position: center 52%;
}

.service-card__body {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 184px;
  padding: 26px;
}

.service-card__icon {
  position: absolute;
  top: -27px;
  left: 22px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #12375a);
  border: 4px solid var(--white);
  box-shadow: 0 12px 26px rgba(31, 79, 122, 0.24);
}

.service-card__icon svg {
  width: 27px;
  height: 27px;
}

.service-card h3,
.feature-card h3,
.process h3,
.contact-card h3 {
  margin: 14px 0 8px;
  color: var(--primary-dark);
  font-size: 1.08rem;
  line-height: 1.25;
}

.service-card p,
.feature-card p,
.process p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

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

.feature-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--white), #fffaf2);
  box-shadow: var(--shadow-soft);
}

.feature-card svg {
  width: 42px;
  height: 42px;
  color: var(--primary);
}

.feature-card:hover,
.process article:hover,
.contact-card:hover,
.media-card:hover {
  border-color: rgba(197, 139, 44, 0.34);
  box-shadow: var(--shadow-card);
}

.process-section {
  background: linear-gradient(180deg, #ffffff, #f8f3eb);
}

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

.process article {
  position: relative;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
}

.process article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  right: -12px;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.process svg {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.media-section {
  background: var(--white);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  max-width: 1040px;
  margin-inline: auto;
}

.media-card {
  display: grid;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.media-card img,
.media-card video {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  max-height: 190px;
  object-fit: cover;
  object-position: center;
}

.media-card video {
  display: block;
  background: var(--primary-dark);
}

.media-card__body {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 118px;
  padding: 14px 15px 16px;
}

.media-card h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 0.98rem;
  line-height: 1.25;
}

.media-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.reviews-section {
  background: linear-gradient(180deg, #fffdf9, #f8f3eb);
}

.reviews-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 20px;
  align-items: start;
}

.reviews-summary-card,
.review-form,
.review-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.reviews-summary-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
}

.reviews-score {
  margin: 0;
  color: var(--primary-dark);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 900;
  line-height: 1;
}

.reviews-stars,
.review-card__stars {
  color: var(--accent);
  letter-spacing: 0;
}

.reviews-stars {
  margin-top: 8px;
  font-size: 1.18rem;
}

.reviews-summary-title {
  margin: 11px 0 2px;
  color: var(--primary-dark);
  font-weight: 900;
}

.reviews-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.rating-breakdown {
  display: grid;
  gap: 9px;
  align-content: center;
}

.rating-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.82rem;
}

.rating-row div {
  height: 7px;
  border-radius: 999px;
  background: #eee7dc;
  overflow: hidden;
}

.rating-row i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: width 0.35s ease;
}

.rating-row b {
  color: var(--primary-dark);
  font-size: 0.78rem;
  text-align: right;
}

.review-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.review-form h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 1.15rem;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label,
.field-label {
  color: var(--primary-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 13px;
  color: var(--text);
  background: #fffdf9;
  font: inherit;
  font-size: 0.94rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 106px;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(197, 139, 44, 0.68);
  box-shadow: 0 0 0 4px rgba(197, 139, 44, 0.13);
}

.form-field small {
  justify-self: end;
  color: var(--muted);
  font-size: 0.78rem;
}

.star-input {
  display: inline-flex;
  gap: 4px;
  justify-self: start;
}

.star-input button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--accent);
  background: #fff8ed;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.star-input button:hover,
.star-input button:focus,
.star-input button.is-active {
  border-color: rgba(197, 139, 44, 0.36);
  background: #fff1d7;
  transform: translateY(-1px);
}

.review-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.review-message {
  min-height: 20px;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.review-message.is-success {
  color: var(--whatsapp-dark);
  font-weight: 800;
}

.review-message.is-error {
  color: #b42318;
  font-weight: 800;
}

.review-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.review-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  padding: 18px;
  animation: reviewIn 0.24s ease both;
}

.review-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-size: 0.82rem;
  font-weight: 900;
}

.review-card__header {
  display: grid;
  gap: 3px;
}

.review-card h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 0.98rem;
  line-height: 1.25;
}

.review-card__stars {
  font-size: 0.86rem;
}

.review-card p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 9px 0 10px;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.5;
}

.review-card time {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.reviews-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.reviews-more {
  display: grid;
  place-items: center;
  min-height: 44px;
  margin: 18px auto 0;
  padding: 10px 16px;
  border: 1px solid rgba(197, 139, 44, 0.42);
  border-radius: 10px;
  color: var(--primary-dark);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  font-weight: 900;
  cursor: pointer;
}

.reviews-more[hidden] {
  display: none;
}

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

.cta-strip {
  padding: 72px 0;
  background:
    linear-gradient(135deg, rgba(31, 79, 122, 0.2), rgba(197, 139, 44, 0.14)),
    linear-gradient(135deg, #081725 0%, #132235 58%, #1f4f7a 100%);
}

.cta-strip__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}

.cta-strip .section-kicker {
  color: #f2bf64;
}

.cta-strip h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.16;
}

.cta-strip p:last-child {
  margin: 12px 0 0;
  color: #dceaf5;
}

.cta-strip__actions {
  justify-content: flex-end;
  margin-top: 0;
}

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

.contact-card {
  min-height: 170px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.contact-card > svg {
  width: 38px;
  height: 38px;
  color: var(--primary);
}

.contact-card a {
  color: var(--primary);
  font-weight: 900;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-btn {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 16px 34px rgba(7, 21, 38, 0.24);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease, filter 0.2s ease;
}

.floating-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.floating-btn svg {
  width: 27px;
  height: 27px;
}

.floating-btn--whatsapp {
  background: var(--whatsapp);
}

.floating-btn--phone {
  background: var(--phone);
}

.floating-btn--top {
  background: var(--secondary-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}

.floating-btn--top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-footer {
  padding: 56px 0 24px;
  color: var(--white);
  background: #081725;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(150px, 0.7fr) minmax(170px, 0.8fr) minmax(170px, 0.75fr);
  gap: 30px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  font-weight: 900;
}

.footer-logo__image {
  width: 122px;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  object-position: center;
}

.footer-brand p,
.footer-column a,
.footer-bottom {
  color: #bfcbda;
}

.footer-brand p {
  max-width: 380px;
  margin: 0;
}

.footer-column h3 {
  margin: 0 0 13px;
  color: var(--white);
  font-size: 0.98rem;
}

.footer-column ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a {
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.94rem;
}

.footer-bottom p {
  margin: 0;
}

.digital-signature a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 1040px) {
  .site-header {
    background: #fffdf9;
    backdrop-filter: none;
  }

  .navbar {
    grid-template-columns: 1fr auto;
  }

  .header-call {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .nav-menu {
    position: fixed;
    z-index: 120;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    width: min(86vw, 360px);
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 6px;
    padding: 18px;
    border-left: 1px solid var(--border);
    background: #fffdf9;
    box-shadow: -22px 24px 70px rgba(7, 21, 38, 0.28);
    opacity: 1;
    backdrop-filter: none;
    transition: box-shadow 0.24s ease;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    min-height: 48px;
    padding-inline: 14px;
  }

  .mobile-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 10px;
  }

  .mobile-actions a {
    display: grid;
    place-items: center;
    min-height: 48px;
    border-radius: 10px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), #12375a);
    font-size: 0.86rem;
    font-weight: 900;
  }

  .mobile-actions a:last-child {
    color: var(--white);
    background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  }

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

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

  .split,
  .cta-strip__inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-strip__actions {
    justify-content: flex-start;
  }

  .process article:not(:last-child)::after {
    display: none;
  }

  .media-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    max-width: 760px;
  }

  .reviews-shell,
  .reviews-summary-card {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  :root {
    --header-height: 66px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .section {
    padding: 52px 0;
  }

  .navbar {
    gap: 10px;
  }

  .brand__logo {
    height: 54px;
    max-width: 138px;
  }

  .footer-logo__image {
    width: 96px;
  }

  .hero {
    min-height: auto;
    padding: 56px 0 44px;
  }

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

  .hero__visual {
    border-radius: 16px;
  }

  .hero h1 {
    font-size: clamp(2rem, 11vw, 2.85rem);
  }

  .hero__actions,
  .cta-strip__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .trust-row,
  .service-grid,
  .feature-grid,
  .process,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .trust-row span {
    min-height: 46px;
  }

  .service-card__body,
  .feature-card,
  .process article,
  .contact-card {
    padding: 22px;
  }

  .service-card img {
    max-height: 230px;
  }

  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 430px;
    gap: 12px;
  }

  .media-card img,
  .media-card video {
    max-height: none;
  }

  .media-card__body {
    min-height: auto;
    padding: 12px 13px 14px;
  }

  .media-card h3 {
    font-size: 0.92rem;
  }

  .media-card p {
    font-size: 0.82rem;
  }

  .reviews-section .section-heading {
    margin-bottom: 22px;
  }

  .reviews-shell {
    gap: 14px;
  }

  .reviews-summary-card,
  .review-form {
    padding: 16px;
  }

  .reviews-score {
    font-size: 2rem;
  }

  .reviews-stars {
    font-size: 1rem;
  }

  .rating-row {
    grid-template-columns: 52px minmax(0, 1fr) 34px;
    gap: 7px;
    font-size: 0.76rem;
  }

  .review-form {
    gap: 12px;
  }

  .form-field input,
  .form-field textarea {
    padding: 11px 12px;
    font-size: 0.9rem;
  }

  .star-input button {
    width: 32px;
    height: 32px;
    font-size: 1.04rem;
  }

  .review-list {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
  }

  .review-card {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
  }

  .review-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.76rem;
  }

  .review-card p {
    -webkit-line-clamp: 3;
    margin: 7px 0 8px;
    font-size: 0.86rem;
  }

  .cta-strip {
    padding: 54px 0;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }

  .floating-btn svg {
    width: 24px;
    height: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .brand__logo {
    height: 50px;
    max-width: 126px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
