/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
}

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

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

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

.btn-whatsapp {
  background: var(--wa);
  color: #fff;
}

.btn-whatsapp:hover {
  background: var(--wa-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-light:hover {
  background: var(--blue-100);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  padding-inline: 6px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.92rem;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ========== Page hero (inner pages) ========== */
.page-hero {
  background: linear-gradient(180deg, var(--blue-50), #fff);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(40px, 6vw, 72px);
}

.page-hero__inner {
  max-width: 820px;
}

.page-hero h1 {
  margin-bottom: 14px;
}

.page-hero__text {
  margin: 0;
  max-width: 640px;
  font-size: 1.12rem;
  color: var(--muted);
}

/* ========== Service cards ========== */
.service-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  color: var(--blue);
  background: var(--blue-50);
  border-radius: 14px;
  flex: none;
}

.service-card__title {
  margin-bottom: 8px;
}

.service-card__text {
  flex: 1;
  color: var(--muted);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
  text-decoration: none;
}

.service-card__link:hover svg {
  transform: translateX(3px);
}

.service-card__link svg {
  transition: transform 0.15s ease;
}

.service-detail {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.service-detail__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.service-detail__head .service-card__icon {
  margin-bottom: 0;
}

.service-detail__title {
  margin: 0;
  font-size: 1.25rem;
}

.service-detail__devices {
  margin: 2px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.service-detail__text {
  color: var(--ink);
}

.service-detail__meta {
  font-size: 0.95rem;
  color: var(--muted);
}

.service-detail__tell {
  flex: 1;
  margin: 4px 0 20px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
}

.service-detail__tell-title {
  margin: 0 0 6px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.service-detail__tell ul {
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ========== Benefit / info cards ========== */
.benefit {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.benefit__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  color: var(--blue);
  background: var(--blue-50);
  border-radius: 12px;
}

.benefit h3 {
  margin-bottom: 6px;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

/* ========== CTA band ========== */
.cta-band {
  padding-block: clamp(44px, 6vw, 72px);
  color: #fff;
  background: var(--navy);
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  margin-bottom: 8px;
  color: #fff;
}

.cta-band p {
  margin: 0;
  color: #cbd7ec;
  max-width: 560px;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ========== Forms ========== */
.field {
  margin-bottom: 18px;
  border: 0;
  padding: 0;
  min-width: 0;
}

.field label,
.field legend {
  display: block;
  margin-bottom: 6px;
  font-weight: 650;
  color: var(--navy);
  font-size: 0.96rem;
  padding: 0;
}

.req {
  color: var(--danger);
}

.field input[type='text'],
.field input[type='tel'],
.field input[type='email'],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #c3cee0;
  border-radius: var(--radius-sm);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 0;
  border-color: var(--blue-600);
}

.field [aria-invalid='true'] {
  border-color: var(--danger);
}

.field__error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--danger);
}

.field__error svg {
  margin-top: 3px;
  flex: none;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field--choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.field--choices legend {
  width: 100%;
}

.field--choices .field__error {
  width: 100%;
}

.choice {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  font-weight: 500 !important;
  cursor: pointer;
}

.choice input {
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
}

/* ========== Maps ========== */
.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-fallback {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px;
  color: var(--navy);
  background: #fff;
  border: 1px dashed #b4c3dc;
  border-radius: var(--radius);
}

.map-fallback p {
  margin: 0;
}

.map-fallback__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ========== Floating WhatsApp (tablet / desktop) ========== */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px 13px 14px;
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  background: var(--wa);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(14, 115, 64, 0.4);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.whatsapp-float:hover {
  background: var(--wa-dark);
  color: #fff;
  transform: translateY(-2px);
}

.whatsapp-float:focus-visible {
  outline-color: var(--navy);
}

/* ========== Mobile bottom bar (phones) ========== */
.mobile-bar {
  display: none;
}

@media (max-width: 680px) {
  .whatsapp-float {
    display: none;
  }

  .mobile-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: var(--mobile-bar-h);
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(11, 31, 58, 0.1);
  }

  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
  }

  .mobile-bar__call {
    background: var(--blue);
  }

  .mobile-bar__wa {
    background: var(--wa);
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .cta-band__actions .btn {
    width: 100%;
  }
}
