:root {
  --ink: #10222e;
  --muted: #5f6d76;
  --paper: #f6f8f6;
  --white: #ffffff;
  --blue-900: #0d314a;
  --blue-700: #155f94;
  --blue-500: #2285c7;
  --sand: #d7b46f;
  --amber: #e07e27;
  --field: #49654a;
  --stone: #d8dde0;
  --shadow: 0 24px 70px rgba(13, 49, 74, 0.18);
  --radius: 8px;
  --max: 1180px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(224, 126, 39, 0.9);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--blue-900);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  padding: 0.8rem clamp(1rem, 3vw, 2.5rem);
  color: var(--white);
  background: rgba(13, 49, 74, 0.94);
  box-shadow: 0 10px 34px rgba(6, 25, 39, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: var(--blue-900);
  background: linear-gradient(135deg, var(--sand), var(--amber));
  font-weight: 900;
  letter-spacing: 0;
}

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

.brand strong {
  font-size: 0.96rem;
  line-height: 1.1;
}

.brand small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
}

.desktop-nav {
  display: flex;
  gap: clamp(0.8rem, 2vw, 1.55rem);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
}

.desktop-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.desktop-nav a:hover {
  color: var(--white);
}

.header-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.quick-link,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  transition-property: transform, background-color, color, box-shadow;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.quick-link:active,
.btn:active,
.slider-button:active,
.slider-dot:active {
  transform: scale(0.96);
}

.quick-link {
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
}

.quick-link-call,
.btn-primary {
  color: var(--blue-900);
  background: var(--sand);
  box-shadow: 0 14px 30px rgba(215, 180, 111, 0.2);
}

.quick-link-wa,
.btn-whatsapp {
  color: var(--white);
  background: #1b7f56;
  box-shadow: 0 14px 30px rgba(27, 127, 86, 0.22);
}

.btn {
  min-width: 168px;
  padding: 0.95rem 1.25rem;
}

.quick-link:hover,
.btn:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-900);
}

.hero-slider,
.hero-slide,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  margin: 0;
  opacity: 0;
  z-index: 0;
  transform: scale(1.025);
  transition-property: opacity, transform;
  transition-duration: 1600ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
  transform: scale(1);
}

.hero-slide picture,
.hero-slide img {
  width: 100%;
  height: 100%;
}

.hero-slide picture {
  display: block;
}

.hero-slide img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
  transition-property: transform;
  transition-duration: 6800ms;
  transition-timing-function: linear;
}

.hero-slide.is-active img {
  transform: scale(1.055);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 25, 38, 0.95) 0%, rgba(7, 25, 38, 0.86) 32%, rgba(7, 25, 38, 0.4) 64%, rgba(7, 25, 38, 0.58) 100%),
    linear-gradient(0deg, rgba(7, 25, 38, 0.82), rgba(7, 25, 38, 0.05) 42%);
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content .hero-lead {
  text-shadow: 0 2px 20px rgba(2, 10, 16, 0.65), 0 1px 3px rgba(2, 10, 16, 0.85);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 8.5rem 0 6rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  max-width: 900px;
  line-height: 1.06;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 {
  margin-bottom: 1.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.6rem;
  font-weight: 900;
}

h2 {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
  line-height: 1.15;
  overflow-wrap: break-word;
}

.hero-lead,
.section-lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
  text-wrap: pretty;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.hero-proof strong {
  color: var(--sand);
  font-variant-numeric: tabular-nums;
}

.slider-controls {
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: 2rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.slider-button,
.slider-dot {
  border: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition-property: transform, background-color, opacity;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.slider-button {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  font-size: 1.8rem;
  line-height: 1;
}

.slider-dots {
  display: flex;
  gap: 0.42rem;
}

.slider-dot {
  width: 42px;
  height: 10px;
  border-radius: 999px;
  opacity: 0.72;
}

.slider-dot.is-active {
  background: var(--sand);
  opacity: 1;
}

.section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

@supports (content-visibility: auto) {
  .section {
    content-visibility: auto;
    contain-intrinsic-size: auto 720px;
  }
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.copy-block {
  color: var(--muted);
  font-size: 1.08rem;
}

.about-media {
  position: relative;
  margin: 1.6rem 0 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.about-media picture,
.about-media img {
  display: block;
  width: 100%;
}

.about-media img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-services {
  width: 100%;
  padding-left: max(1rem, calc((100% - var(--max)) / 2));
  padding-right: max(1rem, calc((100% - var(--max)) / 2));
  background: var(--white);
  box-shadow: inset 0 1px 0 rgba(16, 34, 46, 0.06), inset 0 -1px 0 rgba(16, 34, 46, 0.06);
}

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

.service-card,
.process-grid article,
.review-placeholder {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 210px;
  padding: 1.4rem;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.2rem;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue-700);
  font-weight: 900;
}

.service-card p,
.process-grid p,
.trust p,
.quote-section p,
.faq p,
.contact-note {
  color: var(--muted);
  text-wrap: pretty;
}

.section-area {
  position: relative;
}

.section-area .section-lead {
  color: var(--muted);
}

.radius-panel {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at 50% 50%, rgba(224, 126, 39, 0.18) 0 22%, transparent 23%),
    linear-gradient(135deg, var(--blue-900), var(--field));
  box-shadow: var(--shadow);
}

.radius-ring {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border: 2px dashed rgba(215, 180, 111, 0.88);
  border-radius: 50%;
  animation: pulse-ring 4s ease-in-out infinite;
}

.radius-panel strong {
  z-index: 1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.8rem;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.radius-panel small {
  z-index: 1;
  margin-top: 7rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  text-transform: uppercase;
}

.town-list {
  margin: 2rem 0 0;
  padding: 1.2rem;
  border-left: 6px solid var(--amber);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 40px rgba(13, 49, 74, 0.08);
}

.area-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 0;
}

.area-cta p {
  margin: 0;
  color: var(--muted);
}

.process {
  width: 100%;
  padding-left: max(1rem, calc((100% - var(--max)) / 2));
  padding-right: max(1rem, calc((100% - var(--max)) / 2));
  color: var(--white);
  background: var(--blue-900);
}

.process .eyebrow {
  color: var(--sand);
}

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

.process-grid article {
  min-height: 250px;
  padding: 1.5rem;
  color: var(--ink);
}

.process-grid span {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--amber);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.trust,
.quote-section,
.final-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.76fr);
  gap: 1.5rem;
  align-items: center;
}

.review-placeholder {
  padding: 1.5rem;
}

.review-placeholder span {
  display: inline-flex;
  margin-bottom: 1.2rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  color: var(--white);
  background: var(--blue-700);
  font-size: 0.8rem;
  font-weight: 900;
}

.review-placeholder strong {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
  line-height: 1.15;
}

.quote-section {
  width: 100%;
  padding-left: max(1rem, calc((100% - var(--max)) / 2));
  padding-right: max(1rem, calc((100% - var(--max)) / 2));
  background:
    linear-gradient(115deg, rgba(215, 180, 111, 0.22), transparent 46%),
    var(--white);
}

.quote-section .cta-row {
  justify-content: flex-end;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

details {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(13, 49, 74, 0.08);
}

summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 1rem 1.1rem;
  cursor: pointer;
  font-weight: 900;
}

summary::marker {
  color: var(--amber);
}

details p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
}

.final-contact {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.final-contact p {
  max-width: 760px;
  color: var(--muted);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem max(1rem, calc((100% - var(--max)) / 2));
  color: rgba(255, 255, 255, 0.72);
  background: #071926;
}

.footer p {
  margin: 0;
}

.footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--sand);
  font-weight: 800;
  text-decoration: none;
}

.mobile-contact {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0.7rem 0.7rem calc(0.7rem + var(--safe-bottom));
  background: rgba(7, 25, 38, 0.96);
  box-shadow: 0 -12px 34px rgba(6, 25, 39, 0.2);
}

.mobile-contact a {
  min-height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
}

.mobile-call {
  color: var(--blue-900);
  background: var(--sand);
}

.mobile-wa {
  color: var(--white);
  background: #1b7f56;
}

@keyframes pulse-ring {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero-slide img,
  .hero-slide.is-active img {
    transform: none;
  }
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .section-grid,
  .trust,
  .quote-section,
  .final-contact {
    grid-template-columns: 1fr;
  }

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

  h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-lead,
  .section-lead {
    font-size: 1.08rem;
  }

  .quote-section .cta-row {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 74px;
  }

  body {
    padding-bottom: calc(78px + var(--safe-bottom));
  }

  .site-header {
    min-height: 58px;
    padding: 0.55rem 0.8rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 0.78rem;
  }

  .brand {
    min-height: 42px;
    gap: 0.55rem;
  }

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

  .brand small,
  .header-actions {
    display: none;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-content {
    width: min(100% - 1.5rem, var(--max));
    padding-top: 5.8rem;
    padding-bottom: 5.3rem;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 25, 38, 0.95), rgba(7, 25, 38, 0.72)),
      linear-gradient(0deg, rgba(7, 25, 38, 0.9), rgba(7, 25, 38, 0.2) 55%);
  }

  .hero-slide img {
    object-position: 58% center;
  }

  .slider-controls {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    justify-content: space-between;
  }

  .slider-button {
    width: 40px;
    height: 40px;
    font-size: 1.35rem;
  }

  .slider-dots {
    flex: 1;
    justify-content: center;
  }

  .slider-dot {
    width: 28px;
    height: 8px;
  }

  h1 {
    max-width: 19ch;
    font-size: 1.92rem;
    line-height: 1.1;
  }

  h2 {
    font-size: 1.58rem;
    line-height: 1.12;
  }

  h3 {
    font-size: 1.08rem;
  }

  .hero-lead,
  .section-lead {
    font-size: 1rem;
  }

  .hero-lead {
    max-width: 31ch;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    margin-top: 1rem;
  }

  .hero-proof span {
    min-height: 36px;
    padding: 0.38rem 0.65rem;
    font-size: 0.88rem;
  }

  .radius-panel strong {
    font-size: 4.2rem;
  }

  .btn,
  .cta-row {
    width: 100%;
  }

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

  .service-card,
  .process-grid article {
    min-height: auto;
    padding: 1.1rem;
  }

  .service-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0.9rem;
  }

  .area-cta,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .radius-panel {
    min-height: 240px;
  }

  .mobile-contact {
    display: grid;
  }
}

@media (max-width: 420px) {
  .hero-content {
    width: min(100% - 1.1rem, var(--max));
    padding-top: 5.2rem;
    padding-bottom: 5rem;
  }

  .eyebrow {
    margin-bottom: 0.55rem;
    font-size: 0.68rem;
  }

  h1 {
    max-width: 18ch;
    font-size: 1.72rem;
  }

  h2 {
    font-size: 1.42rem;
  }

  .hero-lead {
    font-size: 0.94rem;
  }

  .btn {
    min-height: 46px;
    padding: 0.78rem 0.95rem;
    font-size: 0.94rem;
  }

  .section {
    width: min(100% - 1.1rem, var(--max));
    padding: 3.25rem 0;
  }

  .town-list {
    padding: 0.95rem;
    font-size: 0.94rem;
  }

  .slider-dots {
    gap: 0.3rem;
  }

  .slider-dot {
    width: 18px;
    height: 7px;
  }

  .mobile-contact a {
    min-height: 50px;
    font-size: 0.95rem;
  }
}

@media (max-width: 720px) and (max-height: 660px) {
  .hero-content {
    padding-top: 4.4rem;
    padding-bottom: 4.2rem;
  }

  .hero-proof {
    gap: 0.35rem;
  }

  .hero-proof span:last-child {
    display: none;
  }
}

@media (max-width: 720px) and (max-height: 600px) {
  .hero-content {
    padding-top: 3.8rem;
    padding-bottom: 3.6rem;
  }

  .hero-proof span:nth-child(2) {
    display: none;
  }
}
