:root {
  --blue: #0b2a6f;
  --blue2: #081d4c;
  --text: #0c1222;
  --muted: #5b667a;
  --bg: #ffffff;
  --soft: #f4f6fb;
  --card: #ffffff;
  --border: rgba(12, 18, 34, .12);
  --shadow: 0 10px 30px rgba(0, 0, 0, .12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  background: #fff;
  color: #0c1222;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

/* Layout */
.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.section-soft {
  background: var(--soft);
}

.section-title {
  margin: 0 0 8px;
  font-size: 32px;
}

.section-subtitle {
  margin: 0 0 26px;
  color: var(--muted);
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 100px;
  height: 70px;
  object-fit: contain;
}

.brand-name {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: .2px;
}

/* NAV */
.nav {
  margin-left: auto;
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-link {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 10px;
  border-radius: 10px;
  transition: background .2s, transform .2s;
}

.nav-link:hover {
  background: rgba(11, 42, 111, .08);
  transform: translateY(-1px);
}

.nav-link.is-active {
  background: rgba(11, 42, 111, .12);
}

.nav-cta {
  background: var(--blue);
  color: white !important;
  padding: 10px 14px;
}

.nav-cta:hover {
  background: var(--blue2);
}

/* Burger */
.burger {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue);
  border-radius: 999px;
}

/* HERO */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .6s ease, transform 1.2s ease;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .35)), var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 640px) {
  .hero-carousel>.hero-slide:nth-of-type(1) {
    --bg: url('../Imagenes/Carrusel/carrusel1-m.webp') !important;
  }

  .hero-carousel>.hero-slide:nth-of-type(2) {
    --bg: url('../Imagenes/Carrusel/carrusel2-m.webp') !important;
  }

  .hero-carousel>.hero-slide:nth-of-type(3) {
    --bg: url('../Imagenes/Carrusel/carrusel3-m.webp') !important;
  }
}


.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-content {
  position: relative;
  padding: 120px 0 80px;
  color: white;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}

.kicker {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  font-size: 14px;
  margin: 0 0 14px;
}

.hero-content h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

.lead {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .88);
  font-size: 18px;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* hero controls */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  color: white;
  font-size: 28px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, .28);
}

.hero-arrow.left {
  left: 18px;
}

.hero-arrow.right {
  right: 18px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .25);
  cursor: pointer;
}

.dot.is-active {
  background: white;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--blue);
  color: white;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s, background .2s;
}

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

.btn-ghost {
  background: var(--blue);
  border-color: rgba(255, 255, 255, .45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .65);
}



/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
}

.card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
}

.card h3 {
  margin: 6px 0 6px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

/* Split section */
.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: center;
}

.section-pattern {
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .09) 1px, transparent 0) 0 0/22px 22px,
    linear-gradient(180deg, #0f1630, #0b1024);
  color: white;
}

.section-pattern p {
  color: rgba(255, 255, 255, .82);
}

.section-pattern .link {
  color: #9fc2ff;
}

.link {
  display: inline-block;
  margin-top: 8px;
  text-decoration: none;
  font-weight: 700;
}

.split-media .media-img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .15);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.stat-number {
  display: block;
  font-size: 38px;
  font-weight: 900;
  color: var(--blue);
}

.stat-label {
  color: var(--muted);
}

/* CTA */
.cta {
  background: linear-gradient(180deg, var(--soft), #fff);
}

.cta-inner {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  background: white;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .08);
}

.cta-inner h2 {
  margin: 0 0 6px;
}

.cta-inner p {
  margin: 0 0 14px;
  color: var(--muted);
}

/* Page hero */
.page-hero {
  padding: 70px 0 22px;
  border-bottom: 1px solid var(--border);

  /* fondo con imagen + oscurecido para que se lea el texto */
  background:
    linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .55)),
    url("../Imagenes/hero.webp");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 640px) {
  .page-hero {
    background:
      linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .55)),
      url("../Imagenes/hero-m.webp");
    background-size: cover;
    background-position: center;
  }
}

.page-hero h1 {
  margin: 0 0 10px;
}

/* Projects */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.chip {
  border: 1px solid var(--border);
  background: white;
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  color: var(--blue);
}

.chip.is-active {
  background: rgba(11, 42, 111, .10);
}

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

.project {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: white;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
}

.project img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.project-info {
  padding: 14px 14px 16px;
}

.project-info p {
  margin: 0;
  color: var(--muted);
}

/* Contact */
.contact-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 18px;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
}

.contact-label {
  font-weight: 800;
  color: var(--blue);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(11, 42, 111, .08);
  display: grid;
  place-items: center;
  flex: 0 0 44px;
}

.contact-icon img {
  width: 22px;
  height: 22px;
  display: block;

}

.map-placeholder {
  height: 320px;
  border-radius: 18px;
  border: 1px dashed var(--border);
  display: grid;
  place-items: center;
  background: var(--soft);
  text-align: center;
  padding: 18px;
}

.tiny {
  color: var(--muted);
  font-size: 12px;
}

/* Reviews */
.review-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.review-score {
  font-weight: 900;
  font-size: 22px;
  color: var(--blue);
}

/* Footer */
.footer {
  background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .09) 1px, transparent 0) 0 0/22px 22px,
    linear-gradient(180deg, #0f1630, #0b1024);
  /* dark blue */
  color: #e9eefc;
  margin-top: 60px;
}

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

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding: 48px 0;
}

.footer__logo {
  width: 170px;
  height: auto;
  display: block;
  margin-bottom: 16px;
}

.footer__text {
  color: rgba(233, 238, 252, .85);
  line-height: 1.7;
  max-width: 42ch;
}

.footer__title {
  font-size: 20px;
  margin: 0 0 18px;
  color: #ffffff;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.footer__item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}

.footer__icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  opacity: .9;
  margin-top: 3px;
}

.footer__link {
  color: rgba(233, 238, 252, .9);
  text-decoration: none;
}

.footer__link:hover {
  text-decoration: underline;
}

.footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer__navlink {
  color: rgba(233, 238, 252, .85);
  text-decoration: none;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.footer__navlink:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer__legal {
  margin-top: 18px;
  color: rgba(233, 238, 252, .75);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.footer__sep {
  opacity: .6;
}

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

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: rgba(233, 238, 252, .75);
  font-size: 14px;
}

.footer__top {
  color: rgba(233, 238, 252, .85);
  text-decoration: none;
}

.footer__top:hover {
  color: #fff;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* WhatsApp floating */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: #25D366;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  z-index: 9999;
}

.wa-float img {
  width: 40px;
  height: 40px;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}

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

/* Responsive */
@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .hero-content {
    padding: 110px 0 60px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 86px;
  }

  .brand-logo {
    width: 82px;
    height: 58px;
  }

  .brand-name {
    display: block;
    font-size: 12px;
    line-height: 1.05;
    max-width: 200px;
    /* ajusta si quieres */
    white-space: normal;
    /* permite salto de línea */
  }


  .burger {
    display: flex;
    margin-left: auto;
  }

  .nav {
    position: fixed;
    top: 86px;
    right: 10px;
    left: 10px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 12px;
  }

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

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

.footer-title {
  margin: 0;
  font-weight: 900;
  letter-spacing: .2px;
}

.footer-addr {
  margin: 6px 0 10px;
  color: rgba(255, 255, 255, .82);
}

.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.footer-left {
  display: flex;
  flex-direction: column;
}

.project-placeholder {
  height: 220px;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  background: var(--soft);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  position: relative;
}

.ph-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 42, 111, .10);
  color: var(--blue);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
}

.ph-text {
  padding: 14px;
}

.ph-text h3 {
  margin: 0 0 6px;
}

.ph-text p {
  margin: 0;
  color: var(--muted);
}


/* Stats: prefix + */
.stat-number[data-plus="true"]::before {
  content: "+";
}

/* Reviews block (Inicio) */
.reviews-split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  align-items: stretch;
}

.review-stat {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
}

.review-stat-inner {
  text-align: center;
}

.review-stat-num {
  font-size: 56px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}

.review-stat-label {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.review-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  padding: 18px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
  position: relative;
  overflow: hidden;
}

.review-title {
  margin: 0 0 12px;
  font-size: 22px;
}

.review-item {
  display: none;
}

.review-item.is-active {
  display: block;
}

.review-stars {
  font-weight: 900;
  color: var(--blue);
  letter-spacing: 1px;
}

.review-name {
  margin-top: 4px;
  font-weight: 900;
}

.review-text {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.review-actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.review-dots {
  display: flex;
  gap: 8px;
}

.review-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(11, 42, 111, .15);
  cursor: pointer;
}

.review-dot.is-active {
  background: var(--blue);
}

/* Reviews mini (Sobre nosotros) */
.reviews-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.review-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
}


/* Map */
.map-box {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: white;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
}

.map-embed {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.map-link {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  font-weight: 800;
  color: var(--blue);
  border-top: 1px solid var(--border);
}

.map-link:hover {
  background: rgba(11, 42, 111, .06);
}

/* Responsive tweaks for reviews */
@media (max-width: 980px) {
  .reviews-split {
    grid-template-columns: 1fr;
  }

  .reviews-mini {
    grid-template-columns: 1fr;
  }
}

/* ---------- Legal pages ---------- */
.legal {
  padding: 36px 0 20px;
}

.legal h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 38px);
  color: var(--text);
}

.muted {
  margin: 0 0 22px;
  color: var(--muted);
}

.legal__section {
  margin: 22px 0;
}

.legal__section h2 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--text);
}

.legal p,
.legal li {
  line-height: 1.75;
  color: var(--text);
}

.legal ul {
  padding-left: 18px;
}

.legal a {
  color: var(--blue);
}

/* ---------- Splash screen ---------- */
.splash {
  position: fixed;
  inset: 0;
  background: #000;
  display: grid;
  place-items: center;
  z-index: 10000;
  opacity: 1;
  transition: opacity .4s ease;
}

.splash.is-hiding {
  opacity: 0;
}

.splash__logo {
  width: min(260px, 70vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .45));
}

/* ---------- Cookies banner (tarjeta) ---------- */
.cookie-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: auto;

  width: min(360px, calc(100vw - 32px));
  padding: 16px;
  border-radius: 18px;

  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .16);

  z-index: 9999;

  display: grid;
  gap: 12px;

  /* animación entrada */
  opacity: 0;
  transform: translateY(14px) scale(.98);
  transition: opacity .35s ease, transform .35s ease;
}

/* cuando se muestre */
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cookie-banner__row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.cookie-banner__title {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
}

.cookie-banner__text {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

@media (max-width: 640px) {
  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .cookie-banner__row {
    flex-direction: column;
  }
}

/* ===== Contact upgrades (solo contacto) ===== */
.contact-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 280px));
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 980px) {
  .contact-quick {
    grid-template-columns: repeat(2, minmax(220px, 280px));
  }
}

@media (max-width: 640px) {
  .contact-quick {
    grid-template-columns: 1fr;
  }
}


.contact-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
  text-decoration: none;
  color: var(--text);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, .10);
  background: rgba(11, 42, 111, .03);
}

.contact-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(11, 42, 111, .10);
  color: var(--blue);
  font-size: 20px;
}

.contact-card__title {
  font-weight: 900;
  color: var(--blue);
  line-height: 1.1;
}

/* Bloque “componer mensaje” */
.contact-sub {
  margin: 8px 0 14px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 62ch;
}

.contact-compose {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
  padding: 16px;
  margin-top: 12px;
}

.contact-compose__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  font-weight: 800;
  color: var(--blue);
}

.contact-field span {
  font-size: 13px;
  letter-spacing: .2px;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  font: inherit;
  color: var(--text);
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  outline: none;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.contact-field textarea {
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: rgba(11, 42, 111, .45);
  box-shadow: 0 0 0 4px rgba(11, 42, 111, .10);
}

.contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

.contact-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* Steps */
.contact-steps {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--soft);
}

.step__num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(11, 42, 111, .12);
  color: var(--blue);
  font-weight: 900;
}

.step__txt {
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
  font-size: 14px;
}

/* Panel bajo mapa */
.contact-panel {
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
  padding: 16px;
}

.contact-panel h3 {
  margin: 0 0 10px;
  color: var(--blue);
}

/* Responsive */
@media (max-width: 980px) {
  .contact-quick {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .contact-quick {
    grid-template-columns: 1fr;
  }

  .contact-compose__row {
    grid-template-columns: 1fr;
  }
}

.footer__meta{
  display:flex;
  align-items:center;
  gap: 14px;
}

.footer__dev{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration:none;

  color: rgba(233,238,252,.88);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);

  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.footer__dev:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.24);
}

.footer__dev:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(159,194,255,.22);
}

.footer__dev-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #25D366;
  box-shadow: 0 0 0 3px rgba(159,194,255,.15);
}

.footer__dev-text{
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.footer__dev-text strong{
  color: #ffffff;
}

.footer__dev-arrow{
  opacity: .85;
  font-weight: 900;
}

/* En móvil, apila bonito */
@media (max-width: 900px){
  .footer__bottom-inner{
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__meta{
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }
}
