:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #123c70;
  --muted: #2f5f8f;
  --accent: #1db8ad;
  --accent-strong: #119188;
  --line: #d9e5f2;
  --card-shadow: 0 12px 30px rgba(18, 60, 112, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  color: var(--accent-strong);
  font-weight: 700;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.65rem;
  margin-bottom: 0.7rem;
  border: 1px solid #b7d5ef;
  border-radius: 999px;
  padding: 0.34rem 0.78rem;
  background: #f2f9ff;
  color: #1b4f84;
  font-size: 0.85rem;
  font-weight: 600;
}

.location-badge::before {
  content: "";
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: #1db8ad;
  box-shadow: 0 0 0 4px rgba(29, 184, 173, 0.24);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.82rem 1.2rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-ghost {
  border-color: #b7d5ef;
  color: var(--ink);
  background: #f4faff;
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: #f8f4ea;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

#services {
  background: #ffffff;
}

#about {
  background: #0f2f57;
}

#about .eyebrow,
#about h2,
#about h3,
#about p,
#about li {
  color: #ffffff;
}

#about .timeline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

#about .timeline article + article {
  border-top-color: rgba(255, 255, 255, 0.35);
}

#about .timeline span {
  background: #1db8ad;
  color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0.55rem;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #d7e3ef;
  border: 1px solid #d7e3ef;
  border-radius: 0.8rem;
  box-shadow: 0 10px 30px rgba(10, 32, 57, 0.12);
  width: min(1280px, 97%);
  margin: 0 auto;
}

.site-header .container {
  width: 100%;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.56rem 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  text-decoration: none;
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-icon {
  width: auto;
  height: auto;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: clamp(64px, 8vw, 88px);
  height: auto;
  object-fit: contain;
  display: block;
  filter: none;
  clip-path: none;
}

.brand-name {
  font-family: "Sora", sans-serif;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #123c70;
  font-size: 1.04rem;
  text-transform: uppercase;
}

.brand-name-prime {
  color: #1db8ad;
}

.brand-tagline {
  margin-top: 0.24rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.46rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #24517d;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.main-nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
}

.btn-nav {
  padding-inline: 1rem;
  background: #f3f8ff;
  border: 1px solid var(--line);
}

.site-header .main-nav a,
.site-header .btn-nav {
  color: #123c70;
}

.site-header .menu-toggle span {
  background: #123c70;
}

.site-header .btn-nav {
  background: #f3f8ff;
  border-color: #bfd3e8;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0.25rem;
}

.menu-toggle span {
  display: block;
  width: 1.6rem;
  height: 2px;
  background: var(--ink);
  margin: 0.26rem 0;
}

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

.hero {
  position: relative;
  background: url("assets/hero-bg.jpg") center center / cover no-repeat;
  padding: 5.5rem 0 5.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 250, 235, 0.55), rgba(255, 250, 235, 0.65)),
    radial-gradient(circle at 20% 20%, rgba(29, 184, 173, 0.12), transparent 30%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2.2rem;
  align-items: stretch;
  background: rgba(255, 253, 246, 0.76);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(217, 229, 242, 0.9);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 18px 42px rgba(18, 60, 112, 0.12);
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-top: 0.8rem;
  margin-bottom: 1rem;
}

.hero-text {
  max-width: 56ch;
  color: var(--ink);
  font-weight: 600;
  text-shadow: none;
}

.hero-actions {
  margin-top: 1.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-points {
  margin: 1.2rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink);
  font-weight: 600;
  text-shadow: none;
}

.hero-points li::marker {
  color: var(--accent);
}

.hero-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(217, 229, 242, 0.95);
  border-radius: 1.3rem;
  padding: 1.5rem;
  box-shadow: 0 14px 30px rgba(18, 60, 112, 0.1);
  backdrop-filter: blur(8px);
}

.hero-card h2 {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.metric-grid article {
  padding: 0.85rem;
  border-radius: 0.95rem;
  background: #f5fbff;
  border: 1px solid #c9e0f3;
}

.metric-value {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--accent-strong);
}

.metric-label {
  font-size: 0.9rem;
  color: var(--muted);
}

.section-head h2 {
  margin-top: 0.55rem;
  max-width: 28ch;
}

.cards-grid {
  margin-top: 1.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.quick-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.quick-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1rem;
}

.quick-card h3 {
  margin-bottom: 0.45rem;
}

.quick-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.local-focus {
  background: #f8f4ea;
  padding-top: 4rem;
}

.image-grid {
  margin-top: 1.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.image-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.image-card img {
  display: block;
  width: 100%;
  height: 13rem;
  object-fit: cover;
}

.image-card figcaption {
  padding: 0.92rem 0.95rem 1rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem;
}

#services .card {
  background: #f8f4ea;
}

.card h3 {
  font-size: 1.06rem;
  margin-bottom: 0.52rem;
}

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

.sector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.sector-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.35rem;
  box-shadow: var(--card-shadow);
}

.sector-card h3 {
  margin: 0.52rem 0;
}

.sector-card p,
.sector-card ul {
  color: var(--muted);
}

.sector-card ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
}

.process-grid,
.faq-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.faq-section {
  background: #f8f4ea;
}

.process-card,
.faq-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1rem;
}

.process-card span {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #e7f9f6;
  color: var(--accent-strong);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-card h3,
.faq-card h3 {
  margin-bottom: 0.4rem;
}

.process-card p,
.faq-card p {
  color: var(--muted);
}

.about-grid h2 {
  margin: 0.65rem 0;
  max-width: 18ch;
}

.about-grid p {
  max-width: 72ch;
  margin-bottom: 0.9rem;
}

.about-logo-card {
  justify-self: center;
  width: min(100%, 24rem);
  padding: 1.15rem;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.24),
    0 4px 12px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  transform: perspective(1000px) rotateY(-10deg) rotateX(3deg) translateY(0);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.about-logo-card:hover {
  transform: perspective(1000px) rotateY(-6deg) rotateX(1deg) translateY(-3px);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.28),
    0 6px 16px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.about-logo-card img {
  width: min(100%, 17rem);
  height: auto;
  display: block;
}

.timeline {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
}

.timeline article {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.8rem;
  align-items: start;
}

.timeline article + article {
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px dashed var(--line);
}

.timeline span {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-grid;
  place-items: center;
  border-radius: 0.8rem;
  background: #e7f9f6;
  color: var(--accent-strong);
  font-family: "Sora", sans-serif;
  font-weight: 600;
}

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

.cta {
  padding-top: 2rem;
}

.cta-wrap {
  background: #dff1ff;
  color: #0f2f57;
  border-radius: 1.2rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-wrap h2 {
  margin: 0.45rem 0;
}

.cta-wrap p {
  color: #234f7f;
}

.contact-phones {
  margin-top: 0.75rem;
  font-weight: 700;
}

.contact-phones a {
  color: #0f2f57;
  text-decoration: none;
}

.contact-phones a:hover {
  text-decoration: underline;
}

.footer-address {
  margin-top: 0.85rem;
  color: #234f7f;
  font-weight: 600;
}

.cta-wrap .btn-primary {
  background: #0f2f57;
  color: #ffffff;
}

.cta-wrap .btn-primary:hover {
  background: #174173;
}

.contact-bubble {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.site-footer {
  margin-top: 1rem;
  background: #0f2f57;
  color: #ffffff;
  padding: 1.4rem 0 2rem;
}

.callback-section {
  padding: 2rem 0 0.5rem;
}

.callback-wrap {
  background: #f4f9ff;
  border: 1px solid #d7e6f4;
  border-radius: 1rem;
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1rem;
  align-items: center;
}

.callback-copy h2 {
  margin: 0.45rem 0;
  color: #0f2f57;
}

.callback-copy p {
  color: #325f8d;
}

.callback-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  align-items: stretch;
  max-width: 30rem;
  width: 100%;
}

.callback-form label {
  display: grid;
  gap: 0.35rem;
}

.callback-form span {
  font-size: 0.78rem;
  font-weight: 600;
  color: #1e4b79;
}

.callback-form input {
  border: 1px solid #bfd6ea;
  border-radius: 0.7rem;
  padding: 0.72rem 0.8rem;
  font: inherit;
  color: #123c70;
  background: #ffffff;
}

.callback-form input::placeholder {
  color: #7d9ab8;
}

.callback-form .btn {
  margin-top: 0.2rem;
  width: fit-content;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.8rem;
  color: #ffffff;
  font-size: 0.94rem;
  margin-top: 1.1rem;
}

.footer-wrap a {
  text-decoration: none;
  color: #ffffff;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  justify-self: end;
  margin-right: 1.2rem;
}

.footer-backtop {
  justify-self: center;
  color: #b9c2cf;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-backtop:hover {
  color: #d3d9e1;
}

.social-links {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.social-title {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #ffffff;
}

.social-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.social-icons a {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  transition: transform 180ms ease, background-color 180ms ease;
}

.social-icons a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.16);
}

.social-icons svg {
  width: 1rem;
  height: 1rem;
}

.whatsapp-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: #25d366;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.35);
  z-index: 70;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  background: #1fbe5b;
  box-shadow: 0 16px 28px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
  width: 1.8rem;
  height: 1.8rem;
}

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

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

@media (max-width: 960px) {
  .site-header {
    top: 0.4rem;
    border-radius: 0.72rem;
  }

  .hero-grid,
  .quick-grid,
  .image-grid,
  .cards-grid,
  .sector-grid,
  .about-grid,
  .process-grid,
  .faq-grid,
  .callback-wrap {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .brand-icon {
    width: auto;
    height: auto;
  }

  .brand-logo {
    width: clamp(58px, 18vw, 78px);
    height: auto;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .brand-tagline {
    font-size: 0.4rem;
    letter-spacing: 0.06em;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 4%;
    width: min(16rem, 90vw);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    padding: 0.7rem;
    box-shadow: var(--card-shadow);
  }

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

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

  .section {
    padding: 4.3rem 0;
  }

  .hero {
    padding-top: 4.8rem;
    padding-bottom: 4.8rem;
  }

  .hero-grid {
    padding: 1.35rem;
    border-radius: 1.2rem;
  }

  .cta-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-logo-card {
    width: min(100%, 18rem);
    transform: none;
  }

  .contact-bubble {
    align-items: flex-start;
  }

  .callback-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-links {
    justify-self: center;
  }

  .whatsapp-float {
    right: 0.85rem;
    bottom: 0.85rem;
    width: 3.2rem;
    height: 3.2rem;
  }
}
