/*
Theme Name: City Pointer Landing
Theme URI: https://example.com
Author: City Pointer
Description: Tema minimalista de una sola página para la landing de City Pointer.
Version: 1.0
Text Domain: city-pointer
*/

/* Reset básico */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0A0E1A 0, #05080D 55%, #020309 100%);
  color: #E8F4F8;
  line-height: 1.6;
}

a {
  color: #00E5FF;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.cp-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.cp-main {
  flex: 1;
}

.cp-lang-switcher-wrap {
  padding-top: 1rem;
}

.cp-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 8, 13, 0.7);
}

.cp-lang-switcher a {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #90A4AE;
  text-decoration: none;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.cp-lang-switcher a:hover {
  background: rgba(0, 229, 255, 0.1);
  color: #E8F4F8;
  text-decoration: none;
}

.cp-lang-switcher a.is-active {
  background: linear-gradient(120deg, rgba(0, 229, 255, 0.22), rgba(255, 107, 74, 0.22));
  color: #E8F4F8;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cp-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cp-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.cp-section {
  padding: 4.5rem 0;
}

.cp-section--tight {
  padding: 3rem 0;
}

.cp-section__title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cp-section__eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #90A4AE;
  margin-bottom: 0.75rem;
}

.cp-section__subtitle {
  color: #90A4AE;
  max-width: 40rem;
}

.cp-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  background: radial-gradient(circle at top left, rgba(0, 229, 255, 0.18), rgba(5, 8, 13, 0.9));
  color: #E8F4F8;
  font-size: 0.78rem;
  margin-bottom: 1.4rem;
}

.cp-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #00E5FF;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.9);
}

/* Hero */

.cp-hero {
  padding: 5.5rem 0 4rem;
}

.cp-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3.25rem;
  align-items: center;
}

.cp-hero__headline {
  font-size: clamp(2.4rem, 3vw + 1.4rem, 3.1rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.cp-hero h1.cp-hero__headline {
  font-size: clamp(4.8rem, 10vw + 1rem, 9rem);
  margin-bottom: 1.35rem;
  line-height: 0.95;
}

.cp-hero h2.cp-hero__headline {
  font-size: clamp(1.9rem, 2.1vw + 1rem, 2.8rem);
  margin-bottom: 1.75rem;
}

.cp-hero__gradient {
  background: linear-gradient(120deg, #00E5FF, #FF6B4A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cp-hero__lead {
  color: #90A4AE;
  max-width: 34rem;
  margin-bottom: 1.8rem;
}

.cp-hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.6rem;
}

.cp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.cp-button--primary {
  background: radial-gradient(circle at top left, #00E5FF, #00B8D4);
  color: #020309;
  box-shadow: 0 16px 40px rgba(0, 229, 255, 0.36);
}

.cp-button--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 60px rgba(0, 229, 255, 0.46);
}

.cp-button--ghost {
  background: rgba(10, 14, 26, 0.65);
  color: #E8F4F8;
  border: 1px solid rgba(144, 164, 174, 0.5);
}

.cp-button--ghost:hover {
  background: rgba(17, 25, 40, 0.9);
}

.cp-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.85rem;
  color: #90A4AE;
}

.cp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cp-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00E5FF;
}

.cp-hero__mockup {
  position: relative;
}

.cp-hero__phone {
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.7);
}

.cp-hero__halo {
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle at 30% 0, rgba(0, 229, 255, 0.2) 0, transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(255, 107, 74, 0.26) 0, transparent 55%);
  opacity: 0.9;
  filter: blur(6px);
  z-index: -1;
}

/* How it works */

.cp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.2rem;
}

.cp-step {
  padding: 1.6rem 1.4rem 1.5rem;
}

.cp-step__number {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.14);
  border: 1px solid rgba(0, 229, 255, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.cp-step__title {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.cp-step__body {
  font-size: 0.9rem;
  color: #90A4AE;
}

/* Features */

.cp-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.2rem;
}

.cp-feature {
  padding: 1.7rem 1.5rem 1.6rem;
}

.cp-feature__icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.26), rgba(0, 184, 212, 0.05));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.cp-feature__title {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.cp-feature__body {
  font-size: 0.9rem;
  color: #90A4AE;
}

/* Gallery */

.cp-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.cp-gallery__item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cp-gallery__label {
  position: absolute;
  left: 0.9rem;
  bottom: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(5, 8, 13, 0.8);
  font-size: 0.75rem;
  color: #E8F4F8;
}

/* FAQ */

.cp-faq {
  margin-top: 2.3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.cp-faq__item {
  padding: 1.5rem 1.4rem 1.4rem;
}

.cp-faq__question {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}

.cp-faq__answer {
  font-size: 0.9rem;
  color: #90A4AE;
}

/* Legal & contact */

.cp-legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.cp-legal-block {
  padding: 1.6rem 1.5rem 1.5rem;
  font-size: 0.9rem;
  color: #90A4AE;
}

.cp-legal-block h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #E8F4F8;
}

.cp-legal-block p + p {
  margin-top: 0.5rem;
}

.cp-contact-form {
  display: grid;
  gap: 0.9rem;
}

.cp-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cp-field label {
  font-size: 0.82rem;
  color: #90A4AE;
}

.cp-field input,
.cp-field textarea {
  border-radius: 10px;
  border: 1px solid #2A3544;
  background: #1A2330;
  padding: 0.65rem 0.75rem;
  color: #E8F4F8;
  font-size: 0.9rem;
}

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

.cp-field input:focus,
.cp-field textarea:focus {
  outline: none;
  border-color: #00E5FF;
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.35);
}

.cp-contact-meta {
  font-size: 0.82rem;
  color: #90A4AE;
  margin-top: 0.5rem;
}

/* Footer */

.cp-footer {
  border-top: 1px solid rgba(42, 53, 68, 0.9);
  padding: 1.6rem 0 2rem;
  font-size: 0.78rem;
  color: #90A4AE;
}

.cp-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cp-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsive */

@media (max-width: 960px) {
  .cp-hero__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .cp-hero {
    padding-top: 4.5rem;
  }

  .cp-hero__mockup {
    order: 2;
    margin-top: 1.5rem;
  }

  .cp-steps,
  .cp-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .cp-faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .cp-legal-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .cp-container {
    padding: 0 1.1rem;
  }

  .cp-lang-switcher-wrap {
    padding-top: 0.8rem;
  }

  .cp-lang-switcher {
    gap: 0.35rem;
    padding: 0.3rem 0.35rem;
  }

  .cp-lang-switcher a {
    font-size: 0.7rem;
    padding: 0.24rem 0.45rem;
  }

  .cp-section {
    padding: 3.2rem 0;
  }

  .cp-hero {
    padding-top: 3.2rem;
  }

  .cp-hero h1.cp-hero__headline {
    font-size: clamp(3rem, 12vw, 4.5rem);
    margin-bottom: 1.2rem;
    line-height: 0.92;
  }

  .cp-chip {
    margin-bottom: 1.4rem;
  }

  .cp-hero h2.cp-hero__headline {
    font-size: clamp(1.75rem, 6.8vw, 2.2rem);
    margin-bottom: 1.5rem;
    line-height: 1.12;
  }

  .cp-hero__lead {
    margin-bottom: 1.8rem;
    line-height: 1.55;
    font-size: 0.95rem;
  }

  .cp-hero__cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    margin-bottom: 1.6rem;
  }

  .cp-button {
    width: 100%;
  }

  .cp-hero__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.82rem;
  }

  .cp-hero__mockup {
    margin-top: 2rem;
  }

  .cp-steps,
  .cp-features,
  .cp-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
}

