:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f5f9f9;
  --color-bg-accent: #eef8f6;
  --color-text: #10233f;
  --color-text-muted: #667085;
  --color-primary: #0a9d93;
  --color-primary-dark: #087d75;
  --color-primary-light: #dff5f1;
  --color-border: #dfe7ea;
  --color-white: #ffffff;
  --color-star: #f5b301;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 8px 24px rgba(16, 35, 63, 0.05);
  --shadow-md: 0 14px 36px rgba(16, 35, 63, 0.08);
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;
  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(10, 157, 147, 0.35);
  outline-offset: 3px;
}

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

.section {
  padding-block: var(--space-xl);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(16, 35, 63, 0.08);
  backdrop-filter: blur(14px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: var(--space-md);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand span {
  font-weight: 800;
  font-size: 1.05rem;
}

.brand small {
  margin-top: 4px;
  color: var(--color-text-muted);
  font-weight: 650;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-panel > a:not(.btn) {
  color: #263857;
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-panel > a:not(.btn).active,
.nav-panel > a:not(.btn):hover {
  color: var(--color-primary-dark);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-white);
}

.language-switcher button {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-white);
  cursor: pointer;
  place-items: center;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  margin: 3px auto;
  border-radius: 99px;
  background: var(--color-text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 10px;
  border-radius: 12px;
  padding: 13px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 760;
  line-height: 1;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 12px 24px rgba(10, 157, 147, 0.22);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--color-primary-dark);
  border-color: rgba(10, 157, 147, 0.28);
}

.btn-secondary:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
}

.hero {
  padding-block: var(--space-lg) var(--space-xl);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.86) 42%, rgba(238,248,246,0.76) 100%),
    var(--color-bg-soft);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: var(--space-lg);
}

.eyebrow {
  margin: 0 0 12px;
  color: #24466b;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.95;
  font-weight: 820;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
  line-height: 1.2;
}

.accent {
  color: var(--color-primary);
}

.hero-subtitle {
  max-width: 650px;
  margin-bottom: 24px;
  color: #1f3351;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.45;
  font-weight: 620;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-line {
  margin: 18px 0 0;
  color: var(--color-text-muted);
  font-weight: 700;
}

.hero-media,
.about-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 380px;
  background: var(--color-bg-accent);
  box-shadow: var(--shadow-md);
}

.hero-media img,
.about-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.hero-media img {
  object-position: 50% 42%;
}

.handwritten {
  position: absolute;
  right: 22px;
  top: 24px;
  width: min-content;
  color: #173253;
  font-family: "Bradley Hand", "Segoe Print", cursive;
  font-size: 1.45rem;
  line-height: 1.15;
  transform: rotate(-6deg);
}

.handwritten::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 12px;
  background: var(--color-primary);
  transform: rotate(-8deg);
}

.handwritten.small {
  left: 24px;
  right: auto;
  top: 24px;
  font-size: 1.2rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.text-link {
  color: var(--color-primary-dark);
  font-weight: 750;
}

.text-link::after {
  content: " ->";
}

.services,
.benefits,
.service-area {
  background: var(--color-bg-soft);
}

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

.card {
  background: var(--color-white);
  border: 1px solid rgba(16, 35, 63, 0.08);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card {
  padding: 22px;
}

.service-card p,
.benefit-item p,
.review-card p,
.whatsapp-card p,
.about-copy p,
.contact-copy p,
.site-footer p {
  color: var(--color-text-muted);
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.icon-badge svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-grid,
.contact-grid,
.area-grid {
  display: grid;
  gap: var(--space-lg);
}

.about-copy {
  display: grid;
  align-content: center;
}

.signature {
  margin: 12px 0 24px;
}

.signature span {
  display: block;
  font-family: "Bradley Hand", "Segoe Print", cursive;
  color: #162c4d;
  font-size: 2.15rem;
  line-height: 1;
}

.signature small {
  display: block;
  margin-top: 4px;
  color: var(--color-text-muted);
  font-weight: 700;
}

.quote-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  max-width: 360px;
  margin: 0;
  padding: 20px;
  border-radius: 18px;
  background: var(--color-bg-soft);
}

.quote-card svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2;
  stroke-linecap: round;
}

.quote-card p {
  margin: 0;
}

.benefit-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.benefit-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
}

.benefit-item .icon-badge {
  margin: 0;
}

.placeholder-note {
  max-width: 280px;
  margin: 0;
  color: #8a6112;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: right;
}

.review-grid {
  display: grid;
  gap: 16px;
}

.review-card {
  padding: 22px;
  position: relative;
}

.review-card::before {
  content: "DEV";
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff4d6;
  color: #8a6112;
  font-size: 0.68rem;
  font-weight: 850;
}

.stars {
  margin-bottom: 8px;
  color: var(--color-star);
  letter-spacing: 0.04em;
}

.review-card p {
  margin-bottom: 12px;
  color: #233651;
  font-size: 1.03rem;
  line-height: 1.45;
}

.review-card small {
  color: var(--color-text-muted);
  font-weight: 700;
}

.locations {
  color: #294061;
  font-weight: 750;
}

.map-card {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(223,245,241,0.88)),
    var(--color-bg-accent);
  box-shadow: var(--shadow-sm);
}

.map-card svg {
  width: 100%;
  height: 260px;
}

.map-card .map-land {
  fill: rgba(10, 157, 147, 0.08);
  stroke: rgba(10, 157, 147, 0.12);
  stroke-width: 2;
}

.map-card .map-land-soft {
  fill: none;
  stroke: rgba(10, 157, 147, 0.08);
  stroke-width: 18;
  stroke-linecap: round;
}

.map-card .map-road {
  fill: none;
  stroke: rgba(16, 35, 63, 0.16);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 5 9;
}

.map-card .map-road.main {
  stroke: rgba(10, 157, 147, 0.5);
  stroke-width: 5;
  stroke-dasharray: none;
}

.map-card .map-pins path {
  fill: var(--color-primary);
  stroke: #ffffff;
  stroke-width: 3;
}

.map-card .map-pins circle {
  fill: var(--color-primary);
  stroke: #ffffff;
  stroke-width: 2;
}

.map-card text {
  fill: var(--color-text);
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.86);
  stroke-width: 5px;
  stroke-linejoin: round;
  font-size: 16px;
  font-weight: 800;
}

.area-cta {
  position: absolute;
  right: 16px;
  bottom: 16px;
  max-width: 220px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--color-white);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
  font-weight: 800;
  line-height: 1.2;
}

.contact-form,
.whatsapp-card {
  border-radius: 18px;
  border: 1px solid rgba(16, 35, 63, 0.08);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.contact-form {
  padding: 22px;
}

.form-row {
  display: grid;
  gap: 14px;
}

label,
legend {
  color: #243a59;
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 11px 12px;
  color: var(--color-text);
  background: #ffffff;
}

textarea {
  resize: vertical;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #c2410c;
}

fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
  padding: 0;
  border: 0;
}

fieldset legend {
  width: 100%;
  margin-bottom: 2px;
}

fieldset label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--color-bg-soft);
  color: #40536f;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
}

fieldset input {
  width: auto;
  min-height: auto;
  margin: 0 8px 0 0;
  accent-color: var(--color-primary);
}

.form-status {
  min-height: 25px;
  margin: 10px 0;
  color: #c2410c;
  font-weight: 700;
}

.form-status.success {
  color: var(--color-primary-dark);
}

.submit-btn {
  width: 100%;
}

.whatsapp-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 24px;
  background: var(--color-bg-accent);
}

.whatsapp-card > svg {
  width: 54px;
  height: 54px;
  padding: 11px;
  border-radius: 16px;
  background: #12b76a;
  color: #ffffff;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal {
  padding-block: var(--space-lg);
  background: #ffffff;
  border-top: 1px solid var(--color-border);
}

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

.site-footer {
  border-top: 1px solid rgba(16, 35, 63, 0.08);
  background: #fbfdfd;
  padding-block: var(--space-lg) var(--space-md);
}

.footer-grid {
  display: grid;
  gap: var(--space-md);
}

.site-footer h2 {
  margin-bottom: 8px;
  font-size: 0.92rem;
  line-height: 1.2;
}

.site-footer a {
  display: block;
  color: var(--color-text-muted);
}

.footer-note {
  font-family: "Bradley Hand", "Segoe Print", cursive;
  font-size: 1.3rem;
  line-height: 1.15;
}

.copyright {
  margin-top: var(--space-lg);
  color: var(--color-text-muted);
}

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

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

@media (hover: hover) {
  .card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
}

@media (min-width: 640px) {
  .service-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (min-width: 900px) {
  .section {
    padding-block: var(--space-2xl);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  }

  .about-grid {
    grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  }

  .area-grid {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
  }

  .contact-grid {
    grid-template-columns: 0.85fr 1.4fr;
    align-items: start;
  }

  .whatsapp-card {
    grid-column: 2;
  }

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

  .hero-media,
  .about-media {
    min-height: 560px;
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .benefit-item {
    grid-template-columns: 54px 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 0.8fr 1fr;
    align-items: start;
  }
}

@media (min-width: 1280px) {
  .service-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .service-card {
    padding: 20px;
  }
}

@media (max-width: 899px) {
  .menu-toggle {
    display: block;
  }

  .nav-panel {
    position: fixed;
    inset: 72px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
  }

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

  .nav-panel > a:not(.btn) {
    padding: 12px;
    border-radius: 10px;
  }

  .nav-panel > a:not(.btn):hover {
    background: var(--color-bg-soft);
  }

  .language-switcher {
    justify-content: center;
  }

  .nav-cta {
    width: 100%;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .section-heading {
    display: block;
  }

  .placeholder-note {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 520px) {
  .button-row .btn {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 3.4rem);
  }

  .hero-media,
  .about-media {
    min-height: 420px;
  }

  .handwritten {
    right: 16px;
    font-size: 1.12rem;
  }

  .contact-grid {
    gap: var(--space-md);
  }

  .whatsapp-card {
    grid-template-columns: 1fr;
  }
}

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

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