:root {
  --serif: "Manrope", Arial, sans-serif;
  --sans: "Inter", Arial, sans-serif;
}

[hidden] {
  display: none !important;
}

body {
  font-family: var(--sans);
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

.brand-logo {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  display: block;
  object-fit: contain;
  border-radius: 50%;
}

.footer .brand-logo {
  width: 66px;
  height: 66px;
  flex-basis: 66px;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid rgba(35, 119, 188, .42);
  outline-offset: 4px;
}

h1, h2, h3, .brand-name, .service-card h3, .benefit-grid h3 {
  font-family: var(--serif);
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 760px;
  font-weight: 800;
  line-height: 1.02;
  font-size: clamp(42px, 5vw, 74px);
}

.hero-photo {
  position: relative;
  isolation: isolate;
}

.hero-brand-plaque {
  position: absolute;
  z-index: 2;
  top: 10%;
  left: 23%;
  width: clamp(118px, 13vw, 190px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(217, 230, 240, .86));
  box-shadow:
    0 18px 30px rgba(16, 38, 63, .22),
    0 5px 10px rgba(16, 38, 63, .17),
    inset 0 1px 0 rgba(255, 255, 255, .95);
  transform-origin: center;
  animation: plaque-arrival .7s cubic-bezier(.2, .72, .3, 1) both;
}

.hero-brand-plaque::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, .24);
  pointer-events: none;
}

.plaque-rim {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 2px 8px rgba(16, 38, 63, .2);
}

.plaque-rim img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 50%;
}

@keyframes plaque-arrival {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: 1; transform: scale(1); }
}

.section h2, .about h2, .contact h2, .testimonials h2 {
  font-weight: 800;
  letter-spacing: -0.045em;
}

.button {
  border-radius: 9px;
  box-shadow: 0 8px 20px rgba(7, 91, 168, 0.14);
  letter-spacing: -0.01em;
  transition: transform .24s ease, box-shadow .24s ease, background-color .24s ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(7, 91, 168, 0.24);
}

.service-grid {
  gap: 22px;
}

.service-card {
  min-height: 305px;
  height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border-radius: 14px;
  border: 1px solid #e3eaf1;
  box-shadow: 0 10px 30px rgba(16, 38, 63, 0.055);
  overflow: hidden;
}

.service-card > div {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(7, 91, 168, 0.55);
  box-shadow: 0 20px 42px rgba(7, 91, 168, 0.13);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card > svg {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  padding: 14px;
  transition: transform .3s ease, background-color .3s ease;
}

.service-card:hover > svg {
  transform: translateY(-3px) rotate(-3deg);
  background: #e4f2fd;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
}

.service-card p {
  font-size: 14px;
  line-height: 1.65;
}

.service-more {
  margin-top: auto;
  border: 0;
  background: transparent;
  color: var(--blue);
  padding: 6px 0;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-weight: 700;
  cursor: pointer;
}

.service-more span {
  transition: transform .24s ease;
}

.service-card:hover .service-more span,
.service-more:hover span {
  transform: translateX(5px);
}

.benefit-grid > div {
  border-radius: 12px;
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.benefit-grid > div:hover {
  transform: translateY(-5px);
  background: #f7fbff;
  box-shadow: 0 14px 30px rgba(7, 91, 168, .08);
}

.benefit-grid svg {
  font-size: 48px;
  transition: transform .25s ease;
}

.benefit-grid > div:hover svg {
  transform: translateY(-3px);
}

.contact-section {
  padding: 100px 7vw;
  background: #f5f8fb;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
  gap: clamp(44px, 6vw, 88px);
  align-items: start;
}

.contact-section > * {
  min-width: 0;
}

.contact-information h2 {
  max-width: 650px;
  margin: 0 0 18px;
  color: var(--navy);
  font: 800 clamp(42px, 4.5vw, 64px)/1.04 var(--serif);
  letter-spacing: -0.05em;
}

.contact-information h2 em {
  color: var(--blue);
  font-style: normal;
}

.contact-lead {
  max-width: 580px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 26px;
}

.contact-card {
  min-height: 126px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid #e1e9f1;
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(16, 38, 63, .045);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(7, 91, 168, .38);
  box-shadow: 0 14px 30px rgba(7, 91, 168, .09);
}

.contact-card-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--blue);
  background: #edf6fd;
}

.contact-card-icon svg {
  width: 25px;
  height: 25px;
}

.contact-card h3 {
  margin: 1px 0 8px;
  color: var(--navy);
  font: 700 16px/1.2 var(--serif);
  letter-spacing: -0.02em;
}

.contact-card :where(a, p, address) {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  font-style: normal;
}

.contact-card a {
  color: var(--blue);
  font-weight: 700;
}

.contact-card-wide {
  min-height: 146px;
}

.contact-whatsapp {
  min-width: 250px;
}

.location-card {
  padding: 28px;
  background: #fff;
  border: 1px solid #dfe8f0;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(16, 38, 63, .095);
}

.location-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.location-heading .eyebrow {
  margin-bottom: 8px;
}

.location-heading h2 {
  margin: 0;
  color: var(--navy);
  font: 800 clamp(28px, 3vw, 38px)/1.1 var(--serif);
  letter-spacing: -0.04em;
}

.location-pin {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #edf6fd;
  color: var(--blue);
}

.location-pin svg {
  width: 28px;
  height: 28px;
}

.map-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 360px;
  border-radius: 13px;
  background: #e9f0f6;
}

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

.location-address {
  margin: 20px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.directions-button {
  width: 100%;
  color: var(--blue);
  border-color: rgba(7, 91, 168, .38);
  box-shadow: none;
}

.footer {
  display: block;
  padding: 70px 7vw 24px;
  background: var(--navy);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(140px, .65fr) minmax(230px, 1fr) minmax(230px, 1fr);
  gap: clamp(34px, 5vw, 74px);
  align-items: start;
  padding-bottom: 52px;
}

.footer .brand {
  width: fit-content;
  margin: 0 0 22px;
}

.footer .brand-name {
  display: inline;
  color: #fff;
  font-size: 12px;
  line-height: 1.25;
}

.footer .brand-name strong {
  font-size: 15px;
}

.footer-identity > p {
  max-width: 350px;
  margin: 0;
  color: #aebfd0;
  font-size: 14px;
  line-height: 1.75;
}

.footer-column > h2 {
  margin: 4px 0 24px;
  color: #fff;
  font: 700 15px/1.2 var(--serif);
  letter-spacing: .02em;
}

.footer .footer-links {
  display: grid;
  gap: 13px;
  margin: 0;
  font-size: 14px;
  width: auto;
}

.footer .footer-links a {
  position: relative;
  width: fit-content;
  color: #aebfd0;
  transition: color .22s ease, transform .22s ease;
}

.footer .footer-links a:hover,
.footer .footer-links a:focus-visible {
  color: #fff;
  transform: translateX(4px);
}

.footer-contact-list {
  display: grid;
  gap: 13px;
}

.footer-contact-list > a {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #d8e4ee;
}

.footer-contact-list svg,
.footer-hours > svg,
.footer-location > svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: #76b9ec;
}

.footer-contact-list span {
  display: grid;
  gap: 1px;
}

.footer-contact-list small {
  color: #8299ae;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.footer-contact-list b {
  font-size: 13px;
  font-weight: 600;
}

.footer-hours {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .11);
}

.footer-hours h3 {
  margin: 0 0 7px;
  color: #fff;
  font: 700 12px/1.3 var(--serif);
  letter-spacing: 0;
}

.footer-hours p,
.footer-location address {
  margin: 0;
  color: #9db0c4;
  font-size: 12px;
  line-height: 1.75;
  font-style: normal;
}

.footer-location {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.footer-directions {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 21px;
  color: #8fc9f3;
  font-size: 13px;
  font-weight: 700;
  transition: color .22s ease, gap .22s ease;
}

.footer-directions:hover,
.footer-directions:focus-visible {
  color: #fff;
  gap: 13px;
}

.footer-directions svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #8299ae;
  font-size: 11px;
}

.footer-bottom a {
  color: #9db0c4;
  transition: color .22s ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #fff;
}

.footer-bottom strong {
  color: #cbd9e5;
  font-weight: 600;
}

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

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 25, 43, .76);
  opacity: 0;
  transition: opacity .22s ease;
}

.modal-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  padding: 42px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
  opacity: 0;
  transform: translateY(18px) scale(.98);
  transition: opacity .22s ease, transform .22s ease;
  outline: none;
}

.service-modal.is-open .modal-backdrop,
.service-modal.is-open .modal-panel {
  opacity: 1;
}

.service-modal.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus-visible {
  color: var(--blue);
  border-color: var(--blue);
}

.modal-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #edf6fd;
  color: var(--blue);
  margin-bottom: 24px;
}

.modal-icon svg {
  width: 38px;
  height: 38px;
}

.modal-panel h2 {
  margin: 0 45px 12px 0;
  color: var(--navy);
  font: 800 clamp(28px, 4vw, 40px)/1.12 var(--serif);
  letter-spacing: -0.04em;
}

.modal-description {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.modal-panel ul {
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.modal-panel li {
  position: relative;
  padding-left: 27px;
  color: #344a60;
}

.modal-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}

.modal-open {
  overflow: hidden;
}

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

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

.service-grid .reveal:nth-child(2) { transition-delay: .05s; }
.service-grid .reveal:nth-child(3) { transition-delay: .1s; }
.service-grid .reveal:nth-child(4) { transition-delay: .15s; }
.service-grid .reveal:nth-child(5) { transition-delay: .2s; }
.service-grid .reveal:nth-child(6) { transition-delay: .25s; }

@media (max-width: 720px) {
  .brand-logo {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 50px);
    line-height: 1.05;
  }

  .hero-brand-plaque {
    top: 9%;
    left: 12%;
    width: clamp(104px, 34vw, 132px);
  }

  .service-card {
    min-height: 260px;
    padding: 24px;
  }

  .modal-panel {
    max-height: calc(100dvh - 24px);
    border-radius: 15px;
    padding: 30px 22px 24px;
  }

  .service-modal {
    padding: 12px;
  }

  .modal-close {
    top: 12px;
    right: 12px;
  }

  .modal-panel h2 {
    font-size: 30px;
    margin-right: 32px;
  }

  .modal-cta {
    width: 100%;
  }

  .contact-section {
    padding: 72px 22px;
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .contact-information,
  .location-card,
  .contact-card-grid {
    width: 100%;
    min-width: 0;
  }

  .contact-information h2 {
    font-size: clamp(38px, 11vw, 48px);
  }

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

  .contact-card,
  .contact-card-wide {
    min-height: 0;
  }

  .contact-whatsapp {
    width: 100%;
  }

  .location-card {
    padding: 20px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 300px;
  }

  .footer {
    padding: 52px 22px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-bottom: 38px;
  }

  .footer .brand-name {
    display: inline;
  }

  .footer-identity > p {
    max-width: 420px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .contact-section {
    grid-template-columns: 1fr;
  }

  .location-card {
    max-width: 820px;
  }

  .hero-brand-plaque {
    top: 8%;
    left: 18%;
    width: clamp(120px, 18vw, 165px);
  }

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }

  .modal-backdrop,
  .modal-panel {
    transition: none;
  }

  .hero-brand-plaque {
    animation: none;
  }
}
