/* File: maia-juridica/css/home.css */

/* ===== HERO ===== */
.hero {
  padding: 9rem 2.5rem 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, var(--accent-wash) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(58, 168, 190, 0.10) 0%, transparent 60%),
    var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(27,122,140,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,122,140,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  max-width: 980px; margin: 0 auto; position: relative; z-index: 1;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .85rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: 999px;
  font-family: var(--mono); font-size: .68rem; font-weight: 500;
  color: var(--accent); letter-spacing: .08em; text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.hero-tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 400;
  color: var(--ink); line-height: 1.1; letter-spacing: -0.025em;
  margin-bottom: 1.4rem; max-width: 880px;
}
.hero-title em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: 1.1rem; color: var(--ink-3); line-height: 1.7;
  max-width: 620px; margin-bottom: 2rem; font-weight: 400;
}

.hero-ctas {
  display: flex; gap: .85rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.hero-ctas .btn-primary { padding: 1rem 1.9rem; font-size: .95rem; }
.hero-ctas .btn-ghost { padding: 1rem 1.9rem; font-size: .95rem; }

.hero-credentials {
  display: flex; flex-wrap: wrap; gap: .65rem;
}
.cred-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .9rem; background: var(--surface);
  border: 1px solid var(--border-fine); border-radius: 999px;
  font-size: .8rem; font-weight: 500; color: var(--ink-2);
}
.cred-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent-soft);
  flex-shrink: 0;
}

/* ===== SERVICIOS ===== */
.services { background: var(--surface); border-top: 1px solid var(--border-fine); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
}
.service-card {
  background: var(--surface); padding: 1.75rem;
  border: 1px solid var(--border-fine); border-radius: var(--radius-lg);
  transition: all .25s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; gap: .85rem;
}
.service-card:hover {
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-wash); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.service-card h3 {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 500;
  color: var(--ink); line-height: 1.3; letter-spacing: -0.01em;
}
.service-card p {
  font-size: .92rem; line-height: 1.65; color: var(--ink-3);
}

.services-disclaimer {
  margin-top: 2.5rem; padding: 1rem 1.25rem;
  background: var(--surface-2); border-left: 3px solid var(--accent-soft);
  border-radius: 4px;
  font-size: .85rem; color: var(--ink-3); font-style: italic;
}

/* ===== MÉTODO ===== */
.method {
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--accent-wash) 100%);
}
.method-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.method-step {
  background: var(--surface); padding: 1.85rem 1.6rem;
  border: 1px solid var(--border-fine); border-radius: var(--radius-lg);
  position: relative;
  transition: all .25s cubic-bezier(.4,0,.2,1);
}
.method-step:hover {
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.method-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent); color: #fff;
  font-family: var(--mono); font-size: .85rem; font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
.method-step h3 {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 500;
  color: var(--ink); margin-bottom: .55rem; letter-spacing: -0.01em;
}
.method-step p { font-size: .92rem; line-height: 1.65; color: var(--ink-3); }

/* ===== EQUIPO ===== */
.team { background: var(--surface); border-top: 1px solid var(--border-fine); }
.team-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: start;
  background: var(--surface);
  padding: 2.5rem;
  border: 1px solid var(--border-fine);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.team-photo {
  width: 240px; height: 240px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--accent-wash);
  border: 4px solid var(--surface);
  box-shadow: 0 8px 24px rgba(13,92,109,0.12), 0 0 0 1px var(--border-fine);
}
.team-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.team-info h3 {
  font-family: var(--serif); font-size: 1.85rem; font-weight: 500;
  color: var(--ink); letter-spacing: -0.02em; margin-bottom: .35rem;
}
.team-role {
  font-family: var(--mono); font-size: .75rem; font-weight: 600;
  color: var(--accent); letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.team-bio {
  font-size: .98rem; color: var(--ink-3); line-height: 1.75; margin-bottom: 1.25rem;
}
.team-creds {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.25rem;
}
.team-creds li {
  font-size: .88rem; color: var(--ink-2); line-height: 1.5;
  position: relative; padding-left: 1.1rem;
}
.team-creds li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-soft);
}

/* ===== PAQUETES ===== */
.pricing {
  background:
    linear-gradient(180deg, var(--accent-wash) 0%, var(--bg) 100%);
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border-fine);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column;
  position: relative;
  transition: all .25s cubic-bezier(.4,0,.2,1);
}
.price-card:hover {
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(27,122,140,0.14);
}
.price-badge {
  position: absolute; top: -12px; left: 1.75rem;
  background: var(--accent); color: #fff;
  padding: .3rem .75rem; border-radius: 999px;
  font-family: var(--mono); font-size: .65rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(27,122,140,0.25);
}
.price-card header { margin-bottom: 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--border-fine); }
.price-card h3 {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 500;
  color: var(--ink); margin-bottom: .65rem; letter-spacing: -0.01em;
}
.price-amount {
  font-family: var(--serif); font-size: 1.85rem; font-weight: 500;
  color: var(--accent); line-height: 1.1; letter-spacing: -0.02em;
}
.price-amount span {
  font-family: var(--sans); font-size: .85rem; font-weight: 500;
  color: var(--ink-3); margin-left: .35rem;
}
.price-note {
  font-family: var(--mono); font-size: .72rem; color: var(--muted);
  margin-top: .35rem; letter-spacing: 0.02em;
}
.price-card ul {
  list-style: none; display: flex; flex-direction: column; gap: .6rem;
  margin-bottom: 1.6rem; flex: 1;
}
.price-card ul li {
  font-size: .9rem; color: var(--ink-3); line-height: 1.55;
  padding-left: 1.6rem; position: relative;
}
.price-card ul li::before {
  content: ''; position: absolute; left: 0; top: 0.45em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.price-cta {
  width: 100%; justify-content: center;
}

.pricing-disclaimer {
  margin-top: 2.5rem; padding: 1rem 1.25rem;
  background: var(--surface); border: 1px dashed var(--border);
  border-radius: 8px;
  font-size: .82rem; color: var(--muted); line-height: 1.6;
}

/* ===== CONTACTO ===== */
.contact { background: var(--surface); border-top: 1px solid var(--border-fine); }
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem; margin-bottom: 3rem;
}
.contact-card {
  background: var(--surface); padding: 1.6rem;
  border: 1px solid var(--border-fine); border-radius: var(--radius-lg);
  transition: all .25s cubic-bezier(.4,0,.2,1);
}
.contact-card:hover {
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.contact-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-wash); color: var(--accent);
  margin-bottom: .9rem;
}
.contact-card h3 {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 500;
  color: var(--ink); margin-bottom: .35rem;
}
.contact-card p {
  font-size: .92rem; color: var(--ink-2); line-height: 1.55; margin-bottom: .35rem;
}
.contact-card p a { font-weight: 600; color: var(--accent); text-decoration: none; }
.contact-card p a:hover { color: var(--accent-deep); text-decoration: underline; }
.contact-card small {
  display: block; font-family: var(--mono); font-size: .68rem;
  color: var(--muted); letter-spacing: .04em; margin-top: .35rem;
}

.contact-cta {
  display: flex; justify-content: center; padding-top: 1rem;
}
.contact-cta .btn-primary {
  padding: 1.05rem 2rem; font-size: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 820px) {
  .hero { padding: 7rem 1.25rem 4rem; }
  .team-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.75rem;
  }
  .team-photo {
    width: 180px; height: 180px;
    margin: 0 auto;
  }
  .team-info { text-align: center; }
  .team-creds { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 640px) {
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .hero-sub { font-size: 1rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn-primary, .hero-ctas .btn-ghost { justify-content: center; }
  .price-card { padding: 1.75rem 1.4rem; }
}
