/* LIMSA — Administración de propiedad horizontal (marca azul / teal) */
:root {
  --navy: #0f2744;
  --navy-soft: #1a3a5c;
  --blue: #1e6ba8;
  --teal: #0d8a9a;
  --teal-light: #5ec4cf;
  --sky: #e8f4fc;
  --bg-pattern: #f0f7ff;
  --text: #2c3e50;
  --muted: #5a6c7d;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(15, 39, 68, 0.08);
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, var(--bg-pattern) 0%, var(--white) 45%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.45;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cdefs%3E%3Cpattern id='g' width='80' height='80' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 40 L40 0 L80 40 L40 80 Z' fill='none' stroke='%231e6ba8' stroke-width='0.5' opacity='0.12'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23g)'/%3E%3C/svg%3E");
  pointer-events: none;
}

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

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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 107, 168, 0.12);
  box-shadow: 0 4px 24px rgba(15, 39, 68, 0.06);
}

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

.logo {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.logo img {
  height: 112px;
  width: auto;
  object-fit: contain;
  max-width: min(400px, 78vw);
}

@media (max-width: 768px) {
  .logo img {
    height: 88px;
    max-width: min(92vw, 380px);
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.25rem 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--navy-soft);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--teal);
  background: rgba(13, 138, 154, 0.1);
  text-decoration: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid rgba(30, 107, 168, 0.15);
    display: none;
    gap: 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 0.75rem;
  }
}

/* Main spacing */
.main-content {
  padding-top: 0;
}

/* Hero */
.hero-limsa {
  padding: 3rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--navy-soft);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-text {
  color: var(--muted);
  font-size: 1rem;
}

.hero-text p + p {
  margin-top: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(30, 107, 168, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border: 2px solid rgba(30, 107, 168, 0.35);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  text-decoration: none;
}

.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(30, 107, 168, 0.15);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Section titles */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(30, 107, 168, 0.12);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
}

/* Admin value section */
.section-admin-value {
  padding: 3rem 0;
  background: linear-gradient(180deg, transparent, rgba(232, 244, 252, 0.5) 30%, transparent);
}

.admin-intro-title {
  color: var(--blue);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
}

.admin-intro-text {
  text-align: center;
  color: var(--muted);
  max-width: 820px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.admin-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(30, 107, 168, 0.12);
  border-top: 4px solid var(--blue);
  transition: transform 0.2s;
}

.admin-card:hover {
  transform: translateY(-4px);
}

.admin-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.admin-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.admin-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Clientes */
.section-clientes {
  padding: 3.5rem 0;
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

@media (max-width: 768px) {
  .clientes-grid {
    grid-template-columns: 1fr;
  }
}

.cliente-card-limsa {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(30, 107, 168, 0.2);
  box-shadow: var(--shadow);
}

.cliente-card-limsa .cliente-photo {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.cliente-card-limsa .cliente-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cliente-body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.cliente-body h3 {
  color: var(--teal);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.cliente-loc {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--blue);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.cliente-body > p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Testimonios */
.section-testimonios {
  padding: 3rem 0 4rem;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .testimonios-grid {
    grid-template-columns: 1fr;
  }
}

.testimonio-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(30, 107, 168, 0.1);
  text-align: center;
}

.testimonio-stars {
  color: #e6b422;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonio-card .quote {
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.testimonio-card .author {
  font-weight: 700;
  color: var(--navy);
}

.testimonio-card .conjunto {
  display: block;
  margin-top: 0.35rem;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Contacto */
.section-contacto {
  padding: 3rem 0 4rem;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

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

.contact-box {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 107, 168, 0.12);
  box-shadow: var(--shadow);
}

.contact-box h3 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.contact-details p {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.65rem;
  color: var(--muted);
}

.contact-details i {
  color: var(--teal);
  width: 20px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(30, 107, 168, 0.25);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
}

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

.btn-full {
  width: 100%;
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  padding: 2.5rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  display: inline-block;
  background: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
}

.footer-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
}

.footer a:hover {
  color: var(--teal-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}
