/* ══════════════════════════════════════
   SECTIONS — nosotros, servicios,
              cobertura, cotiza, footer
   ══════════════════════════════════════ */


/* ─── NOSOTROS ─────────────────────── */

#nosotros { background: var(--black); }

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 68px);
  line-height: .95;
  text-transform: uppercase;
}
.about-headline span { color: var(--yellow); }

.about-body {
  font-size: 15px;
  line-height: 1.8;
  color: #aaa;
  margin-top: 24px;
}

.about-values {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.value-item {
  border: 1px solid var(--border);
  padding: 20px;
  background: var(--panel);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-base);
}
.value-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: width .4s;
}
.value-item:hover               { border-color: var(--yellow); }
.value-item:hover::before       { width: 100%; }

.value-icon  { font-size: 22px; margin-bottom: 10px; }
.value-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.value-desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-img-wrap {
  background: var(--panel);
  border: 1px solid var(--border);
  height: 280px;
  overflow: hidden;
}

.about-quote {
  border-left: 3px solid var(--yellow);
  padding: 20px 24px;
  background: var(--panel);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
}


/* ─── SERVICIOS ────────────────────── */

#servicios { background: var(--black); }

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 24px;
}

.services-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 60px);
  text-transform: uppercase;
  line-height: .95;
  max-width: 14ch;
}

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

.service-card {
  background: var(--panel);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: background var(--transition-base);
  cursor: default;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 0;
  background: linear-gradient(180deg, rgba(245,197,24,.06) 0%, transparent 100%);
  transition: height .4s;
}
.service-card:hover         { background: #1c1c1c; }
.service-card:hover::after  { height: 100%; }

.service-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: .12em;
  margin-bottom: 24px;
}
.service-icon  { font-size: 32px; margin-bottom: 16px; }
.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.service-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.service-arrow {
  position: absolute;
  bottom: 28px; right: 28px;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  font-size: 16px;
  transition: background .2s, border-color .2s, color .2s;
}
.service-card:hover .service-arrow {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}


/* ─── COBERTURA ────────────────────── */

#cobertura { background: var(--dark); }

.coverage-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.coverage-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  text-transform: uppercase;
  line-height: .95;
}
.coverage-headline span { color: var(--yellow); }

.coverage-body {
  font-size: 15px;
  color: #aaa;
  line-height: 1.8;
  margin-top: 24px;
  max-width: 40ch;
}

.cities-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
}

.city-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left .2s;
}
.city-row:hover { padding-left: 8px; }

.city-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.city-tag {
  font-size: 11px;
  color: var(--yellow);
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(245,197,24,.1);
  padding: 4px 10px;
}

/* Mapa */
.map-container {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-bg {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg,   transparent, transparent 39px, var(--border) 40px),
    repeating-linear-gradient(90deg,  transparent, transparent 39px, var(--border) 40px);
  opacity: .3;
}

@keyframes pulse-pin {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.3); }
}


/* ─── COTIZA ────────────────────────── */

#cotiza {
  background: var(--black);
  position: relative;
}
#cotiza::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(245,197,24,.07) 0%, transparent 65%);
  pointer-events: none;
}

.quote-inner {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.quote-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 88px);
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.01em;
}
.quote-headline .line2 { color: var(--yellow); }

.quote-sub {
  font-size: 16px;
  color: var(--muted);
  margin: 28px auto 0;
  max-width: 46ch;
  line-height: 1.7;
}

/* Formulario */
.quote-form {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  text-align: left;
}

.form-field {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 20px 24px;
  transition: border-color .2s;
}
.form-field:focus-within { border-color: var(--yellow); }
.form-field.full         { grid-column: 1 / -1; }

.form-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
}
.form-input::placeholder,
.form-textarea::placeholder { color: #444; }

.form-select {
  appearance: none;
  cursor: pointer;
}
.form-select option { background: var(--panel); color: var(--white); }

.form-textarea {
  resize: none;
  min-height: 100px;
}

.form-submit {
  grid-column: 1 / -1;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: none;
  padding: 22px;
  cursor: pointer;
  transition: background .2s, letter-spacing .2s;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.form-submit:hover         { background: var(--yellow2); letter-spacing: .14em; }
.form-submit.sent          { background: #2a6b2a; color: #fff; }

.whatsapp-alt {
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}
.whatsapp-alt a {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 500;
}
.whatsapp-alt a:hover { text-decoration: underline; }


/* ─── FOOTER ────────────────────────── */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 24px 48px;

  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  column-gap: 12px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
/* ─── RESPONSIVE SECTIONS ──────────── */

@media (max-width: 900px) {
  .about-inner,
  .coverage-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid          { grid-template-columns: 1fr; }
  .services-header        { flex-direction: column; align-items: flex-start; }

  .quote-form             { grid-template-columns: 1fr; }
  .form-field.full        { grid-column: 1; }

  footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 24px;
    row-gap: 8px;
  }
  .footer-links { justify-content: center; }
}


.service-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

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

.about-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  background: var(--black);
}

.about-logo {
  width: 65%;
  max-width: 320px;
  height: auto;
  object-fit: contain;
}


.quote-direct {
  display: flex;
  justify-content: center;
  margin-top: 35px;
}

.quote-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 700px;
  margin: 60px auto 45px;
}

.quote-divider span {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.quote-divider p {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.quote-form-section h3 {
  margin: 0 0 35px;
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
}

.floating-whatsapp {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1000;

  width: 60px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-whatsapp img {
  width: 100%;
  height: 100%;
  display: block;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}