/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0a1f44;
  --blue: #1a3a6b;
  --accent: #3a7bd5;
  --accent-light: #5b9ae8;
  --white: #ffffff;
  --light-gray: #f4f6fa;
  --gray: #6b7280;
  --text: #1f2937;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--navy);
  z-index: 1000;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo svg { flex-shrink: 0; }

.nav-logo .logo-text {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.nav-logo .logo-text span { color: var(--accent-light); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent-light); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--accent-light) !important; }

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

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, #1e4d8c 100%);
  display: flex;
  align-items: center;
  padding: 100px 2rem 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(58,123,213,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(58,123,213,0.2);
  border: 1px solid rgba(91,154,232,0.4);
  color: var(--accent-light);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.hero h1 span { color: var(--accent-light); }

.hero-bilingual {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 1.2rem;
}

.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.35);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-secondary:hover { border-color: var(--accent-light); color: var(--accent-light); transform: translateY(-2px); }

.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.hero-card h3 {
  color: var(--accent-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.service-pill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.service-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== PILLARS ===== */
.pillars {
  background: var(--navy);
  padding: 55px 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.pillars-grid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.pillar-item { padding: 0 1rem; }

.pillar-item .pillar-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.pillar-item h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.pillar-item p { color: rgba(255,255,255,0.55); font-size: 0.85rem; }

/* ===== SECTION BASE ===== */
section { padding: 90px 2rem; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.section-header .bilingual {
  color: var(--accent);
  font-style: italic;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.75rem;
}

.section-header p { color: var(--gray); font-size: 0.97rem; }

/* ===== SERVICES ===== */
.services { background: var(--light-gray); }

.services-grid {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  border-top-color: var(--accent);
}

.service-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--accent);
}

.service-card ul { list-style: none; }

.service-card ul li {
  color: var(--gray);
  font-size: 0.82rem;
  padding: 0.3rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.4;
}

.service-card ul li::before {
  content: '•';
  color: var(--accent);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.service-card .es-list {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #e5e7eb;
}

.service-card .es-list li {
  color: #a0aec0;
  font-style: italic;
  font-size: 0.78rem;
}

.service-card .es-list li::before { color: #a0aec0; }

/* ===== SIMPLE SECTION ===== */
.simple-section {
  background: var(--navy);
  padding: 75px 2rem;
}

.simple-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.simple-text h2 {
  color: var(--white);
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.simple-text .es-h {
  color: var(--accent-light);
  font-style: italic;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: block;
}

.simple-text .line-en {
  color: rgba(255,255,255,0.8);
  font-size: 0.97rem;
  margin-bottom: 0.2rem;
}

.simple-text .line-es {
  color: rgba(255,255,255,0.45);
  font-style: italic;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.benefits-list { list-style: none; }

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  color: var(--white);
  font-size: 0.93rem;
  font-weight: 500;
}

.benefits-list li .chk {
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: white;
  flex-shrink: 0;
}

/* ===== ABOUT ===== */
.about { background: var(--white); text-align: center; }

.about-centered {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-photo-block {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.person-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.2rem;
  border: 4px solid var(--accent);
  box-shadow: 0 8px 30px rgba(58,123,213,0.25);
  display: block;
}

.about-photo-block h3 { font-size: 1.6rem; font-weight: 800; color: var(--navy); margin-bottom: 0.2rem; }
.about-photo-block .title { color: var(--accent); font-size: 0.9rem; font-weight: 600; }

.about-stats-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.75rem 0;
  flex-wrap: wrap;
}

.stat-box {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 12px;
  padding: 1rem 1.5rem;
  min-width: 110px;
  color: var(--white);
}

.stat-box .s-num { font-size: 1.8rem; font-weight: 800; color: var(--accent-light); }
.stat-box .s-lbl { font-size: 0.72rem; color: rgba(255,255,255,0.6); }

.about-bio {
  color: var(--gray);
  font-size: 0.97rem;
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto 2rem;
  text-align: left;
}

.about-bio p { margin-bottom: 1rem; }
.about-bio p:last-child { margin-bottom: 0; }

.why-centered {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
  max-width: 750px;
  margin: 0 auto;
}

.why-list { list-style: none; }

.about-content .section-header { text-align: left; margin-bottom: 1.5rem; }

.why-list { list-style: none; }

.why-list li {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
  align-items: flex-start;
}

.why-check {
  width: 26px;
  height: 26px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--white);
  flex-shrink: 0;
  margin-top: 2px;
}

.why-list li h4 { font-size: 0.93rem; font-weight: 700; color: var(--navy); margin-bottom: 0.1rem; }
.why-list li p { font-size: 0.86rem; color: var(--gray); }

/* ===== CONTACT ===== */
.contact { background: var(--light-gray); }

.contact-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; }
.contact-info > p { color: var(--gray); margin-bottom: 2rem; font-size: 0.93rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.contact-detail .icon {
  width: 42px;
  height: 42px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail .text strong { display: block; font-size: 0.8rem; color: var(--navy); font-weight: 700; }
.contact-detail .text span { font-size: 0.9rem; color: var(--gray); }

.contact-form {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.93rem;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); background: var(--white); }

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

.form-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  padding: 0.9rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}

.form-submit:hover { background: var(--accent); }

.form-success {
  display: none;
  text-align: center;
  padding: 1rem;
  background: #ecfdf5;
  color: #065f46;
  border-radius: 8px;
  margin-top: 1rem;
  font-weight: 600;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 3rem 2rem 1.5rem;
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand .f-logo { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem; }
.footer-brand .f-logo-text { color: var(--white); font-size: 1rem; font-weight: 700; line-height: 1.2; }
.footer-brand .f-logo-text span { color: var(--accent-light); }
.footer-brand .f-slogan { color: var(--accent-light); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.86rem; line-height: 1.7; }

.footer-col h4 { color: var(--white); font-size: 0.85rem; font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { font-size: 0.86rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom .big-slogan {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.footer-bottom .big-slogan span { color: var(--accent-light); }
.footer-bottom .copy { font-size: 0.8rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1050px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .pillars-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .simple-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-inner { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}

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