/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --coral: #E07A5F;
  --coral-light: #f0a890;
  --coral-dark: #c4624a;
  --charcoal: #2D2D2D;
  --charcoal-light: #4a4a4a;
  --charcoal-lighter: #6b6b6b;
  --bg: #FDF8F6;
  --bg-alt: #F7EDE8;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(45,45,45,.06);
  --shadow-md: 0 8px 30px rgba(45,45,45,.08);
  --shadow-lg: 0 16px 50px rgba(45,45,45,.10);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Quicksand', sans-serif;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253,248,246,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(224,122,95,.1);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(253,248,246,.95);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--charcoal);
}

.logo__text {
  letter-spacing: -.02em;
}

/* NAV */
.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9rem;
  color: var(--charcoal-light);
  padding: 8px 16px;
  border-radius: 50px;
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--coral);
  background: rgba(224,122,95,.08);
}

.nav__link--cta {
  background: var(--coral);
  color: var(--white) !important;
  margin-left: 8px;
}

.nav__link--cta:hover {
  background: var(--coral-dark);
  transform: translateY(-1px);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(224,122,95,.3);
}

.btn--primary:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(224,122,95,.35);
}

.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid rgba(45,45,45,.15);
}

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

.btn--lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ===== HERO ===== */
.hero {
  padding: 120px 0 80px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(224,122,95,.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(224,122,95,.1);
  color: var(--coral-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .8rem;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 24px;
  letter-spacing: -.03em;
}

.hero__title-accent {
  color: var(--coral);
  position: relative;
}

.hero__title-accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(224,122,95,.2);
  border-radius: 3px;
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--charcoal-lighter);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .88rem;
  color: var(--charcoal-light);
}

/* Hero image */
.hero__image {
  position: relative;
}

.hero__image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 6/7;
}

.hero__image-accent {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(224,122,95,.2);
  pointer-events: none;
}

.hero__card {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: var(--charcoal);
  color: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.hero__card-icon {
  width: 52px;
  height: 52px;
  background: var(--coral);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__card-label {
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 600;
  opacity: .7;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.hero__card-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
}

/* ===== SECTION SHARED ===== */
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .78rem;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

.accent {
  color: var(--coral);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--charcoal-lighter);
  max-width: 560px;
  line-height: 1.8;
}

.section-desc a {
  color: var(--coral);
  font-weight: 600;
  border-bottom: 2px solid rgba(224,122,95,.3);
  transition: var(--transition);
}

.section-desc a:hover {
  border-bottom-color: var(--coral);
}

/* ===== SERVICIOS ===== */
.servicios {
  padding: 100px 0;
  background: var(--white);
}

.servicios .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.servicios .section-desc {
  margin: 0 auto;
}

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

.card {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(224,122,95,.15);
  background: var(--white);
}

.card__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.card__desc {
  font-size: .95rem;
  color: var(--charcoal-lighter);
  line-height: 1.75;
}

/* ===== NOSOTROS ===== */
.nosotros {
  padding: 100px 0;
  background: var(--bg);
  overflow: hidden;
}

.nosotros__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.nosotros__image {
  position: relative;
}

.nosotros__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 5/6;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.nosotros__image-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 60%;
  height: 40%;
  background: var(--coral);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: .15;
}

.nosotros__content .section-tag {
  margin-bottom: 12px;
}

.nosotros__text {
  font-size: 1.02rem;
  color: var(--charcoal-lighter);
  line-height: 1.85;
  margin-bottom: 16px;
}

.nosotros__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.nosotros__point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9rem;
  color: var(--charcoal);
  line-height: 1.5;
}

.nosotros__point-check {
  width: 24px;
  height: 24px;
  background: rgba(224,122,95,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== ZONA ===== */
.zona {
  padding: 100px 0;
  background: var(--white);
}

.zona__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.zona__text {
  font-size: 1.02rem;
  color: var(--charcoal-lighter);
  line-height: 1.85;
  margin-bottom: 28px;
}

.zona__list {
  margin-bottom: 36px;
}

.zona__list li {
  position: relative;
  padding-left: 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  color: var(--charcoal);
  padding-bottom: 12px;
}

.zona__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--coral);
  border-radius: 50%;
}

.zona__map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.zona__map-img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
}

.zona__map-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  color: var(--charcoal);
}

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(224,122,95,.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(224,122,95,.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta__container {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(224,122,95,.15);
  color: var(--coral-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .8rem;
  padding: 10px 22px;
  border-radius: 50px;
  margin-bottom: 28px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cta__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

.cta__text {
  font-size: 1.1rem;
  color: rgba(255,255,255,.6);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.cta .btn--ghost {
  border-color: rgba(255,255,255,.25);
  color: var(--white);
}

.cta .btn--ghost:hover {
  border-color: var(--coral);
  color: var(--coral);
  background: rgba(224,122,95,.08);
}

/* ===== CONTACTO ===== */
.contacto {
  padding: 100px 0;
  background: var(--bg);
}

.contacto__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.contacto__text {
  font-size: 1.02rem;
  color: var(--charcoal-lighter);
  line-height: 1.85;
  margin-bottom: 36px;
}

.contacto__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contacto__item {
  display: flex;
  gap: 18px;
}

.contacto__item-icon {
  width: 52px;
  height: 52px;
  background: rgba(224,122,95,.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contacto__item strong {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .82rem;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: .05em;
  display: block;
  margin-bottom: 4px;
}

.contacto__item p {
  font-size: .95rem;
  color: var(--charcoal-lighter);
  line-height: 1.6;
}

.contacto__item a {
  color: var(--coral);
  font-weight: 600;
  transition: var(--transition);
}

.contacto__item a:hover {
  color: var(--coral-dark);
}

/* Form */
.contacto__form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(224,122,95,.08);
}

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

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .85rem;
  color: var(--charcoal);
  margin-bottom: 8px;
  letter-spacing: .02em;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--charcoal);
  background: var(--bg);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form-input::placeholder {
  color: var(--charcoal-lighter);
  opacity: .6;
}

.form-input:focus {
  border-color: var(--coral);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(224,122,95,.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23E07A5F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

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

.form-notice {
  text-align: center;
  font-size: .82rem;
  color: var(--charcoal-lighter);
  margin-top: 16px;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success__icon {
  width: 72px;
  height: 72px;
  background: rgba(224,122,95,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.form-success p {
  color: var(--charcoal-lighter);
  font-size: .95rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.7);
  padding: 70px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}

.footer__brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer__copy {
  font-size: .9rem;
  line-height: 1.7;
  opacity: .7;
  max-width: 280px;
}

.footer__links strong,
.footer__contact strong {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .82rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .06em;
  display: block;
  margin-bottom: 18px;
}

.footer__links ul,
.footer__contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a,
.footer__contact a {
  font-size: .9rem;
  opacity: .7;
  transition: var(--transition);
}

.footer__links a:hover,
.footer__contact a:hover {
  opacity: 1;
  color: var(--coral-light);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
}

.footer__bottom p {
  text-align: center;
  font-size: .82rem;
  opacity: .5;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--coral);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(224,122,95,.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--coral-dark);
  transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__container {
    gap: 40px;
  }

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

  .nosotros__container,
  .zona__container,
  .contacto__container {
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__list {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 90px 32px 40px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    z-index: 1000;
  }

  .nav__list.open {
    transform: translateX(0);
  }

  .nav__link {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero__card {
    left: 50%;
    transform: translateX(-50%);
    bottom: -16px;
  }

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

  .nosotros__container,
  .zona__container,
  .contacto__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nosotros__image {
    max-width: 400px;
    margin: 0 auto;
  }

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

  .contacto__form-wrap {
    padding: 28px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cta__actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__trust {
    flex-direction: column;
    gap: 14px;
  }

  .btn--lg {
    padding: 16px 28px;
    font-size: .95rem;
  }
}
