:root {
  --verde: #2f6f68;
  --verde-dark: #245850;
  --verde-light: #e7f2ef;
  --azul: #315d73;
  --azul-light: #eaf2f6;
  --texto: #24343a;
  --gris: #66777d;
  --fondo: #f8fbfa;
  --blanco: #ffffff;
  --borde: #dce9e6;
  --sombra: 0 18px 45px rgba(38, 74, 73, 0.1);
  --radius: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--fondo);
  color: var(--texto);
  line-height: 1.6;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

/* ================= HEADER ================= */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(220, 233, 230, 0.8);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--verde-dark);
}

.logo-icon {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--verde), var(--azul));
  color: white;
  display: grid;
  place-items: center;
  font-size: 19px;
  box-shadow: 0 8px 18px rgba(47, 111, 104, 0.2);
}

.logo-text {
  line-height: 1.15;
}

.logo-text small {
  display: block;
  color: var(--gris);
  font-size: 11px;
  font-weight: 500;
  margin-top: 3px;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  font-size: 14px;
  color: #52666d;
  transition: 0.25s;
}

nav a:hover {
  color: var(--verde);
}

.nav-btn {
  padding: 11px 18px;
  background: var(--verde);
  color: white !important;
  border-radius: 10px;
  font-weight: 600;
}

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

/* ================= HAMBURGER ================= */

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 11px;
  background: var(--verde-light);
  color: var(--verde-dark);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: 0.25s;
}

.menu-toggle:hover {
  background: var(--verde);
  color: white;
}

.menu-toggle i {
  transition: transform 0.25s;
}

.menu-toggle.active i {
  transform: rotate(90deg);
}

/* ================= HERO ================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: 105px 0 100px;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(49, 93, 115, 0.12),
      transparent 28%
    ),
    radial-gradient(
      circle at 10% 80%,
      rgba(47, 111, 104, 0.1),
      transparent 30%
    ),
    linear-gradient(135deg, #f9fcfb, #eef6f4);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  background: var(--verde-light);
  color: var(--verde-dark);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  background: var(--verde);
  border-radius: 50%;
}

h1 {
  font-size: clamp(40px, 5vw, 67px);
  line-height: 1.06;
  letter-spacing: -2.5px;
  color: #21383e;
  margin-bottom: 24px;
}

h1 em {
  color: var(--verde);
  font-style: normal;
}

.hero-text {
  max-width: 600px;
  font-size: 18px;
  color: var(--gris);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;
  transition: 0.25s;
}

.btn-primary {
  background: var(--verde);
  color: white;
  box-shadow: 0 10px 25px rgba(47, 111, 104, 0.2);
}

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

.btn-outline {
  border-color: var(--borde);
  background: white;
  color: var(--azul);
}

.btn-outline:hover {
  border-color: var(--verde);
  transform: translateY(-2px);
}

.hero-card {
  min-height: 380px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-placeholder {
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: linear-gradient(145deg, #dceeea, #dcebf1);
  border: 14px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--verde-dark);
  position: relative;
}

.profile-placeholder .symbol {
  font-size: 70px;
  margin-bottom: 8px;
  opacity: 0.75;
}

.profile-placeholder strong {
  font-size: 14px;
}

.profile-placeholder small {
  color: var(--gris);
  margin-top: 3px;
}

.floating-card {
  position: absolute;
  background: white;
  padding: 15px 18px;
  border-radius: 14px;
  box-shadow: var(--sombra);
  font-size: 13px;
  font-weight: 600;
}

.floating-card.one {
  left: 0;
  top: 45px;
}

.floating-card.two {
  right: 0;
  bottom: 48px;
}

/* ================= SECTIONS ================= */

section {
  padding: 95px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-label {
  color: var(--verde);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

h2 {
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.15;
  color: #263c42;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.section-head p {
  color: var(--gris);
}

/* ================= ABOUT ================= */

.about {
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.about-box {
  background: linear-gradient(145deg, var(--verde-light), var(--azul-light));
  border-radius: 25px;
  padding: 45px;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-box-inner {
  max-width: 270px;
}

.about-box .big-symbol {
  font-size: 75px;
  margin-bottom: 20px;
  color: var(--verde);
}

.about-box h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.about-box p {
  color: var(--gris);
  font-size: 14px;
}

.about-content h2 {
  text-align: left;
}

.about-content > p {
  color: var(--gris);
  margin-bottom: 18px;
}

.credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 28px;
}

.credential {
  padding: 17px;
  border: 1px solid var(--borde);
  border-radius: 12px;
  background: #fbfdfc;
}

.credential strong {
  display: block;
  color: var(--azul);
  font-size: 14px;
  margin-bottom: 3px;
}

.credential span {
  font-size: 12px;
  color: var(--gris);
}

/* ================= SERVICES ================= */

.services {
  background: var(--fondo);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: white;
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  padding: 30px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra);
  border-color: transparent;
}

.card-icon {
  width: 51px;
  height: 51px;
  border-radius: 13px;
  background: var(--verde-light);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 9px;
  color: #2d444a;
}

.card p {
  color: var(--gris);
  font-size: 14px;
}

/* ================= AREAS ================= */

.areas {
  background: white;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.area {
  padding: 23px 18px;
  border: 1px solid var(--borde);
  border-radius: 15px;
  text-align: center;
  transition: 0.25s;
}

.area:hover {
  background: var(--verde-light);
  transform: translateY(-3px);
}

.area-icon {
  font-size: 27px;
  margin-bottom: 9px;
}

.area strong {
  display: block;
  font-size: 14px;
  color: #324950;
}

.area span {
  display: block;
  font-size: 12px;
  color: var(--gris);
  margin-top: 3px;
}

/* ================= PROCESS ================= */

.process {
  background: linear-gradient(135deg, #eef7f4, #edf4f7);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.step {
  text-align: center;
  padding: 15px 25px;
}

.step-number {
  width: 53px;
  height: 53px;
  border-radius: 50%;
  background: var(--verde);
  color: white;
  display: grid;
  place-items: center;
  margin: 0 auto 17px;
  font-weight: 800;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.step p {
  color: var(--gris);
  font-size: 14px;
}

/* ================= TESTIMONIALS ================= */

.testimonials {
  background: white;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial {
  background: var(--fondo);
  border: 1px solid var(--borde);
  border-radius: 17px;
  padding: 27px;
}

.stars {
  color: #6e9890;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.testimonial p {
  font-size: 14px;
  color: #566970;
  font-style: italic;
  margin-bottom: 18px;
}

.testimonial strong {
  font-size: 13px;
  color: var(--azul);
}

/* ================= CONTACT ================= */

.contact {
  background: var(--fondo);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: stretch;
}

.contact-info {
  background: linear-gradient(145deg, var(--verde), var(--azul));
  color: white;
  border-radius: 22px;
  padding: 38px;
}

.contact-info h2 {
  color: white;
  font-size: 31px;
}

.contact-info > p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  font-size: 14px;
}

.contact-item {
  display: flex;
  gap: 14px;
  margin: 22px 0;
  align-items: flex-start;
}

.contact-item-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
}

.contact-item strong {
  display: block;
  font-size: 13px;
}

.contact-item span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  margin-top: 2px;
}

.contact-form {
  background: white;
  border: 1px solid var(--borde);
  border-radius: 22px;
  padding: 38px;
}

.contact-form h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.contact-form > p {
  color: var(--gris);
  font-size: 13px;
  margin-bottom: 25px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #40545b;
  margin-bottom: 7px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d7e5e2;
  border-radius: 10px;
  padding: 13px 14px;
  outline: none;
  background: #fbfdfc;
  color: var(--texto);
  transition: 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(47, 111, 104, 0.08);
  background: white;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.whatsapp-btn {
  width: 100%;
  border: 0;
}

/* ================= MAP ================= */

.map-section {
  padding-top: 0;
  background: var(--fondo);
}

.map {
  min-height: 300px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #dcebe7, #e5eef2);
  border: 1px solid var(--borde);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(#91aaa7 1px, transparent 1px),
    linear-gradient(90deg, #91aaa7 1px, transparent 1px);
  background-size: 45px 45px;
}

.map-content {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  padding: 24px 30px;
  border-radius: 15px;
  box-shadow: var(--sombra);
}

.map-pin {
  font-size: 35px;
  margin-bottom: 5px;
}

.map-content strong {
  display: block;
  color: var(--azul);
  margin-bottom: 4px;
}

.map-content span {
  font-size: 13px;
  color: var(--gris);
}

/* ================= FOOTER ================= */

footer {
  background: #203d43;
  color: white;
  padding: 55px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
}

footer .logo {
  color: white;
  margin-bottom: 15px;
}

footer .logo-text small {
  color: rgba(255, 255, 255, 0.6);
}

.footer-description {
  color: rgba(255, 255, 255, 0.65);
  max-width: 360px;
  font-size: 13px;
}

footer h4 {
  margin-bottom: 17px;
  font-size: 14px;
}

footer ul {
  list-style: none;
}

footer li {
  margin: 9px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

footer li a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
}

/* ================= WHATSAPP FLOAT ================= */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #2f8d71;
  color: white;
  display: grid;
  place-items: center;
  font-size: 25px;
  box-shadow: 0 10px 25px rgba(30, 80, 65, 0.28);
  transition: 0.25s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .nav {
    position: relative;
  }

  .menu-toggle {
    display: flex;
  }

  nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(280px, calc(100vw - 30px));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--borde);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(38, 74, 73, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease;
  }

  nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  nav a {
    width: 100%;
    padding: 13px 15px;
    border-radius: 10px;
    font-size: 14px;
  }

  nav a:hover {
    background: var(--verde-light);
  }

  nav .nav-btn {
    margin-top: 5px;
    text-align: center;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 75px 0;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-card {
    min-height: 330px;
  }

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

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

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

@media (max-width: 600px) {
  section {
    padding: 70px 0;
  }

  .nav {
    height: 68px;
  }

  .logo-text {
    font-size: 14px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  nav {
    width: calc(100vw - 30px);
    right: -1px;
  }

  .hero {
    padding: 65px 0;
  }

  h1 {
    letter-spacing: -1.5px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .profile-placeholder {
    width: 250px;
    height: 250px;
  }

  .floating-card.one {
    left: 0;
  }

  .floating-card.two {
    right: 0;
  }

  .cards,
  .testimonial-grid,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .about-box {
    min-height: 300px;
    padding: 30px;
  }

  .contact-info,
  .contact-form {
    padding: 27px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
