:root {
  --color-blue: #1e4a7c;
  --color-blue-dark: #15365c;
  --color-green: #2e8b57;
  --color-coral: #ff8c42;
  --color-gold: #e8a13f;
  --color-beige: #f6efe6;
  --color-cream: #fffaf4;
  --color-white: #ffffff;
  --color-ink: #203044;
  --color-muted: #5d6a7a;
  --shadow-soft: 0 18px 45px rgba(30, 74, 124, 0.12);
  --shadow-card: 0 14px 30px rgba(32, 48, 68, 0.1);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(255, 140, 66, 0.16), transparent 28rem),
    radial-gradient(circle at 90% 10%, rgba(46, 139, 87, 0.16), transparent 30rem),
    var(--color-beige);
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  color: rgba(30, 74, 124, 0.06);
  font-size: clamp(8rem, 18vw, 16rem);
  font-weight: 800;
  line-height: 1;
  content: "• •";
  transform: rotate(-24deg);
  pointer-events: none;
}

body::before {
  top: 12rem;
  left: -2rem;
}

body::after {
  right: -1rem;
  bottom: 8rem;
  color: rgba(46, 139, 87, 0.07);
}

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

img.is-hidden {
  display: none;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 50;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--color-blue);
  color: var(--color-white);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

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

.page-top {
  position: absolute;
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(30, 74, 124, 0.1);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.9);
  box-shadow: 0 12px 34px rgba(30, 74, 124, 0.08);
}

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

.brand__logo-wrap {
  position: relative;
  width: 3.1rem;
  height: 3.1rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue), var(--color-green));
  color: var(--color-white);
  overflow: hidden;
}

.brand__logo-wrap::before {
  content: "EH";
  position: absolute;
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand__logo-wrap.has-image::before {
  display: none;
}

.brand__logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--color-white);
}

.brand__text {
  display: grid;
  line-height: 1.15;
}

.brand__name {
  color: var(--color-blue);
  font-family: "Poppins", sans-serif;
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  font-weight: 800;
}

.brand__tagline {
  color: var(--color-green);
  font-size: 0.82rem;
  font-weight: 700;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav__links a {
  display: inline-flex;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  color: var(--color-blue-dark);
  font-weight: 800;
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.nav__links a:hover,
.nav__links a:focus-visible {
  background: rgba(46, 139, 87, 0.12);
  color: var(--color-green);
  transform: translateY(-1px);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: var(--color-blue);
  color: var(--color-white);
  cursor: pointer;
}

.nav-toggle__line {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.section {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  padding: clamp(1.4rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero__content {
  position: relative;
  z-index: 1;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--color-blue);
  font-family: "Poppins", sans-serif;
  line-height: 1.08;
}

h1 {
  max-width: 42rem;
  font-size: clamp(2.45rem, 5.8vw, 4.15rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

.hero__lead {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  color: var(--color-blue-dark);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  font-weight: 800;
}

.hero__text {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: var(--color-muted);
  font-size: 1.06rem;
}

.hero__slogan {
  position: relative;
  width: fit-content;
  margin: 1.4rem 0 0;
  padding: 0.62rem 1rem 0.62rem 2.5rem;
  border-radius: 999px;
  background: rgba(232, 161, 63, 0.16);
  color: var(--color-blue-dark);
  font-weight: 900;
}

.hero__slogan::before {
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--color-coral);
  box-shadow:
    0.38rem -0.34rem 0 -0.12rem var(--color-gold),
    0.72rem 0.02rem 0 -0.16rem var(--color-green);
  content: "";
  transform: translateY(-50%);
}

.hero__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.82rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button--primary {
  background: var(--color-blue);
  color: var(--color-white);
  box-shadow: 0 12px 24px rgba(30, 74, 124, 0.24);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--color-blue-dark);
  box-shadow: 0 16px 30px rgba(30, 74, 124, 0.3);
}

.button--secondary {
  border-color: rgba(30, 74, 124, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-blue);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: var(--color-coral);
  background: var(--color-white);
}

.button--whatsapp {
  background: var(--color-green);
  color: var(--color-white);
}

.hero__media {
  position: relative;
  min-height: clamp(19rem, 36vw, 30rem);
  display: grid;
  place-items: center;
  border-radius: 36% 64% 44% 56% / 58% 42% 58% 42%;
  background:
    linear-gradient(135deg, rgba(255, 140, 66, 0.22), rgba(46, 139, 87, 0.15)),
    var(--color-cream);
  box-shadow: var(--shadow-soft);
  overflow: visible;
}

.hero__media::before {
  position: absolute;
  inset: 1.4rem;
  border: 2px dashed rgba(30, 74, 124, 0.14);
  border-radius: inherit;
  content: "";
}

.hero__media::after {
  position: absolute;
  content: attr(data-fallback-label);
  color: rgba(30, 74, 124, 0.12);
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  text-align: center;
}

.hero__media.has-image::after {
  display: none;
}

.hero__media img {
  position: relative;
  z-index: 1;
  width: min(76%, 26rem);
  max-height: 22.5rem;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(30, 74, 124, 0.16));
}

.hero__badge {
  position: absolute;
  right: 1.2rem;
  bottom: -0.7rem;
  z-index: 2;
  display: grid;
  gap: 0.1rem;
  padding: 0.9rem 1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.hero__badge span {
  color: var(--color-coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero__badge strong {
  color: var(--color-blue);
}

.intro {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: clamp(4rem, 8vw, 6rem);
  padding: clamp(1.4rem, 4vw, 2rem);
  border: 1px solid rgba(46, 139, 87, 0.13);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-card);
}

.intro__mark {
  width: 4.4rem;
  height: 4.4rem;
  display: grid;
  place-items: center;
  border-radius: 1.35rem;
  background: var(--color-green);
  color: var(--color-white);
  font-family: "Poppins", sans-serif;
  font-weight: 800;
}

.intro p {
  max-width: 62rem;
  margin: 0;
  color: var(--color-blue-dark);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 800;
}

.offerings,
.contact,
.social {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-heading {
  width: min(100%, 44rem);
  margin: 0 auto 2rem;
  text-align: center;
}

.section-heading--left {
  margin-left: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  margin: 0.85rem 0 0;
  color: var(--color-muted);
  font-size: 1.06rem;
}

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

.service-card {
  position: relative;
  min-height: 15rem;
  padding: 1.35rem;
  border: 1px solid rgba(30, 74, 124, 0.09);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(30, 74, 124, 0.08);
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card::after {
  position: absolute;
  right: -1rem;
  bottom: -1.5rem;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: rgba(232, 161, 63, 0.14);
  content: "";
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 139, 87, 0.22);
  box-shadow: var(--shadow-card);
}

.service-card__icon {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 1.1rem;
  background: rgba(46, 139, 87, 0.14);
}

.service-card__icon::before {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow:
    0.45rem -0.4rem 0 -0.14rem var(--color-blue),
    -0.4rem -0.25rem 0 -0.14rem var(--color-coral),
    0 0.58rem 0 -0.18rem var(--color-gold);
  content: "";
}

.service-card__icon.has-image::before {
  display: none;
}

.service-card__icon--gold {
  background: rgba(232, 161, 63, 0.18);
}

.service-card__icon--coral {
  background: rgba(255, 140, 66, 0.16);
}

.service-card__icon img {
  position: absolute;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.service-card__icon img:not(.is-hidden) + * {
  display: none;
}

.service-card h3 {
  margin-bottom: 0.55rem;
}

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

.notice {
  position: relative;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(30, 74, 124, 0.95), rgba(46, 139, 87, 0.92)),
    var(--color-blue);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.notice::before,
.notice::after {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  content: "";
}

.notice::before {
  width: 11rem;
  height: 11rem;
  right: -3rem;
  top: -4rem;
}

.notice::after {
  width: 7rem;
  height: 7rem;
  left: -2rem;
  bottom: -2.5rem;
}

.notice__content {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}

.notice .eyebrow,
.notice h2,
.notice a {
  color: var(--color-white);
}

.notice p:last-child {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.notice a {
  font-weight: 900;
}

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

.contact-card {
  min-height: 8rem;
  display: grid;
  align-content: center;
  gap: 0.35rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: 0 10px 24px rgba(30, 74, 124, 0.08);
  font-style: normal;
}

.contact-card span {
  color: var(--color-green);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card a,
.contact-card strong {
  color: var(--color-blue);
  font-size: 1.04rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.social {
  padding-top: 1rem;
}

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

.social__links a {
  display: grid;
  gap: 0.3rem;
  min-height: 7rem;
  align-content: center;
  justify-items: center;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-blue);
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(30, 74, 124, 0.08);
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.social__icon {
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.15rem;
  border-radius: 50%;
  background: rgba(30, 74, 124, 0.08);
  color: var(--color-blue);
}

.social__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social__icon path {
  stroke: none;
}

.social__icon rect,
.social__icon circle:not(.social__icon-dot) {
  fill: none;
}

.social__icon-dot {
  fill: currentColor;
  stroke: none;
}

.social__handle {
  color: var(--color-blue);
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.social__name {
  color: var(--color-muted);
  font-family: "Nunito", sans-serif;
  font-size: 0.92rem;
}

.social__links a:hover,
.social__links a:focus-visible {
  background: var(--color-coral);
  color: var(--color-white);
  transform: translateY(-3px);
  outline: none;
}

.social__links a:hover .social__icon,
.social__links a:focus-visible .social__icon {
  background: rgba(255, 255, 255, 0.18);
  color: var(--color-white);
}

.social__links a:hover .social__handle,
.social__links a:focus-visible .social__handle,
.social__links a:hover .social__name,
.social__links a:focus-visible .social__name {
  color: var(--color-white);
}

.site-footer {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto 1rem;
  padding: 2rem 1rem;
  border-top: 1px solid rgba(30, 74, 124, 0.12);
  color: var(--color-muted);
  text-align: center;
}

.site-footer p,
.site-footer a {
  margin: 0.25rem 0;
}

.site-footer__brand {
  color: var(--color-blue);
  font-family: "Poppins", sans-serif;
  font-weight: 800;
}

.site-footer a {
  color: var(--color-green);
  font-weight: 900;
}

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

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

@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;
  }
}

@media (max-width: 900px) {
  .nav {
    border-radius: 1.6rem;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .nav__links {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 1rem;
    right: 1rem;
    display: none;
    padding: 0.75rem;
    border-radius: 1.35rem;
    background: var(--color-cream);
    box-shadow: var(--shadow-card);
  }

  .nav__links.is-open {
    display: grid;
  }

  .nav__links a {
    width: 100%;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }

  h1 {
    max-width: 12ch;
  }

  .hero__media {
    min-height: 20rem;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    padding: 0.75rem;
  }

  .brand__logo-wrap {
    width: 2.75rem;
    height: 2.75rem;
  }

  .brand__tagline {
    display: none;
  }

  .hero {
    gap: 1.6rem;
  }

  h1 {
    font-size: clamp(2.35rem, 16vw, 3.35rem);
  }

  .hero__actions,
  .contact__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

  .cards-grid,
  .contact__grid,
  .social__links {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }
}
