:root {
  --bg: #081326;
  --surface: #10213a;
  --surface-2: #162b4b;
  --text: #eef4ff;
  --muted: #b7c7e6;
  --accent: #ffb02e;
  --accent-2: #ffd782;
  --brand-blue: #46a0ff;
  --line: #2a4267;
  --danger: #cc4b4b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(180deg, #081326 0%, #091a32 45%, #081326 100%);
  color: var(--text);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  background: rgba(8, 19, 38, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand h1 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--accent);
}

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

nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--text);
  font-size: 0.95rem;
  padding: 0.35rem 0.45rem;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

nav a:hover {
  background: rgba(70, 160, 255, 0.16);
  color: #ffffff;
}

.hero {
  padding: 4rem 0 3rem;
  background:
    linear-gradient(135deg, #0f2f57 0%, #123b6a 45%, #1d4c80 100%),
    radial-gradient(circle at top right, rgba(255, 208, 118, 0.25) 0%, rgba(18, 59, 106, 0) 42%);
  border-bottom: 1px solid rgba(170, 205, 255, 0.25);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.tag {
  color: #ffe2a3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
}

h2 {
  margin-top: 0.3rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}

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

.highlight-card {
  background: rgba(8, 24, 46, 0.45);
  border: 1px solid rgba(188, 219, 255, 0.3);
  border-radius: 10px;
  padding: 0.75rem;
  backdrop-filter: blur(2px);
}

.highlight-card h4 {
  margin: 0 0 0.2rem;
  color: #ffe7b1;
  font-size: 0.95rem;
}

.highlight-card p {
  margin: 0;
  color: #d8e7ff;
  font-size: 0.84rem;
}

.hero .lead-card {
  background: rgba(8, 27, 52, 0.88);
  border: 1px solid rgba(186, 218, 255, 0.28);
}

.video-showcase {
  padding-top: 2rem;
}

.video-shell {
  margin-top: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #081a33;
  box-shadow: 0 8px 20px rgba(2, 8, 20, 0.3);
}

.video-shell video {
  width: 100%;
  display: block;
  max-height: 520px;
  object-fit: cover;
}

.lead-card,
.map-placeholder,
.popup-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 10px 26px rgba(2, 8, 20, 0.35);
}

label {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: var(--muted);
}

input,
select {
  width: 100%;
  margin-top: 0.3rem;
  min-height: 44px;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #365281;
  background: var(--surface-2);
  color: var(--text);
}

input::placeholder {
  color: #9db3d9;
}

.btn {
  border: none;
  border-radius: 8px;
  min-height: 44px;
  padding: 0.65rem 1rem;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent) 0%, #ffcb63 100%);
  color: #2d1900;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(255, 176, 46, 0.35);
}

.btn.secondary {
  background: rgba(70, 160, 255, 0.12);
  border: 1px solid #4c73ac;
  color: var(--text);
}

.btn.full {
  width: 100%;
  margin-top: 0.8rem;
}

.form-message {
  min-height: 1.3rem;
  color: var(--accent-2);
  font-size: 0.9rem;
}

.section {
  padding: 3rem 0;
}

.section h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  margin-top: 0;
}

.section.alt {
  background: rgba(10, 24, 46, 0.72);
}

.section-intro {
  color: var(--muted);
  margin-top: -0.4rem;
}

.about-points {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.about-points li {
  margin: 0.35rem 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.process-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}

.process-card h4 {
  margin: 0 0 0.35rem;
  color: #d4e8ff;
}

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

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 18px rgba(2, 8, 20, 0.25);
}

.trust-card h4 {
  margin: 0 0 0.35rem;
  color: var(--accent-2);
}

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

.filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.listing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem;
  box-shadow: 0 8px 20px rgba(2, 8, 20, 0.26);
}

.listing-card h4 {
  margin: 0 0 0.35rem;
}

.chip {
  display: inline-block;
  background: rgba(255, 176, 46, 0.16);
  color: var(--accent-2);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  margin-right: 0.3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.map-iframe {
  width: 100%;
  display: block;
  min-height: 280px;
}

.site-footer {
  padding: 1.4rem 0 2rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.small {
  color: var(--muted);
  font-size: 0.85rem;
}

.admin-shell {
  max-width: 680px;
}

.admin-card {
  margin-top: 1rem;
}

.quote-card {
  border: 1px solid #446897;
  border-radius: 12px;
  padding: 1.1rem;
  background: linear-gradient(135deg, rgba(12, 34, 66, 0.92), rgba(16, 43, 74, 0.92));
}

.quote-card p {
  margin: 0;
  font-size: 1.03rem;
}

.quote-card span {
  display: inline-block;
  margin-top: 0.6rem;
  color: var(--accent-2);
  font-weight: 600;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: #22c55e;
  color: #0e2a15;
  font-weight: 700;
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  z-index: 25;
}

.popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.hidden {
  display: none;
}

@media (max-width: 860px) {
  .site-header {
    position: sticky;
  }

  .container {
    width: min(1100px, 94%);
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 140px;
  }

  .hero-grid,
  .contact-grid,
  .hero-highlights,
  .process-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  body {
    padding-bottom: 5.4rem;
  }

  .nav {
    align-items: flex-start;
  }

  nav {
    gap: 0.35rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
    width: 100%;
  }

  nav a {
    white-space: nowrap;
    background: #122642;
    border: 1px solid #34527f;
  }

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

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .whatsapp-float {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    border-radius: 12px;
    text-align: center;
    padding: 0.9rem 0.95rem;
    font-size: 0.98rem;
  }
}
