body {
  font-family: Inter, sans-serif;
}

:root {
  --hero-overlay-from: #002366ed;
  --hero-overlay-to: #002366b8;
}


:where(a, button, summary):focus-visible {
  outline: 3px solid #E07856;
  outline-offset: 3px;
  border-radius: 0.25rem;
}

/* Contact form: native select aligned with text inputs */
.contact-form-select-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
}

.contact-form-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.9rem;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.contact-form-select {
  display: block;
  min-width: 0;
  max-width: 100%;
  min-height: 3rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  color: #334155;
}

.contact-form-select:not([data-has-value="true"]) {
  color: #94a3b8;
}

.contact-form-select option {
  color: #334155;
}

.contact-form-select option[value=""] {
  color: #64748b;
}

.contact-form-select:focus-visible {
  outline: 3px solid #E07856;
  outline-offset: 2px;
}

@media (max-width: 639px) {
  .contact-form-select {
    font-size: 16px; /* evita zoom automatico en iOS */
  }
}

/* Home FAQ accordion */
.home-faq-summary::-webkit-details-marker {
  display: none;
}

.home-faq-summary::marker {
  content: "";
}

.home-faq-item[open] > .home-faq-summary {
  padding-bottom: 0.85rem;
}

/* Hero image overlay (home + service detail). Alpha ≈ 93% / 72%. */
.hero-overlay {
  background-image: linear-gradient(
    90deg,
    var(--hero-overlay-from),
    var(--hero-overlay-to)
  );
}

/* Cookie consent banner (Google Analytics) */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: 1rem;
  pointer-events: none;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__inner {
  pointer-events: auto;
  margin: 0 auto;
  max-width: 56rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #ffffff;
  padding: 1rem 1.25rem;
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
}

@media (min-width: 640px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
  }
}

.cookie-banner__title {
  font-family: "Noto Serif", serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary, #002366);
}

.cookie-banner__text {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #475569;
}

.cookie-banner__text a {
  font-weight: 600;
  color: var(--color-primary, #002366);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cookie-banner__btn--ghost {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
}

.cookie-banner__btn--ghost:hover {
  background: #f8fafc;
}

.cookie-banner__btn--primary {
  border: 1px solid transparent;
  background: var(--color-primary, #002366);
  color: #fff;
}

.cookie-banner__btn--primary:hover {
  filter: brightness(1.08);
}

.demo-site-banner {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #001a52;
  color: #fff;
  padding: 0.65rem 1rem;
  text-align: center;
  font-size: 0.85rem;
}
.demo-site-banner p { margin: 0; }
.demo-site-banner a {
  color: #e7c84a;
  font-weight: 700;
  margin-left: 0.35rem;
  text-decoration: underline;
}
.demo-site-banner a + a {
  margin-left: 0.75rem;
}

