*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: #334155;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3 { font-weight: 800; color: #334155; line-height: 1.15; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.02em; }
h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
p { color: #475569; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.65rem 1.5rem; font-weight: 600; font-size: 0.9rem;
  border-radius: 50px; transition: all 0.25s ease; cursor: pointer;
  border: 2px solid transparent; white-space: nowrap;
}
.btn-primary { background: #EA580C; color: #fff; border-color: #EA580C; }
.btn-primary:hover { background: #CC4A0A; border-color: #CC4A0A; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(234, 88, 12, 0.3); }
.btn-full { width: 100%; justify-content: center; }

.section { padding: 3.5rem 0; }
.section-alt { background: #F8F9FA; }
.section-head { text-align: center; max-width: 600px; margin: 0 auto 2.5rem; }
.section-label {
  display: inline-block; font-size: 0.7rem; font-weight: 700; color: #EA580C;
  text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.5rem;
}

/* ----- TOPBAR ----- */
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.4rem 1.5rem; background: #334155; font-size: 0.78rem;
}
.topbar span { color: #94A3B8; font-weight: 500; }
.topbar a { color: #fff; font-weight: 600; transition: color 0.2s; }
.topbar a:hover { color: #EA580C; }

/* ----- HERO ----- */
.hero { padding: 2.5rem 0 3.5rem; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.hero-tag { font-size: 0.78rem; font-weight: 600; color: #EA580C; margin-bottom: 0.75rem; letter-spacing: 0.02em; }
.hero h1 { margin-bottom: 1rem; }
.hero-p { font-size: 1rem; margin-bottom: 1.5rem; max-width: 520px; line-height: 1.6; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.hero-badges span { font-size: 0.8rem; color: #64748B; }
.hero-badges strong { color: #EA580C; font-weight: 800; }

.hero-form-wrap { display: flex; justify-content: flex-end; }
.hero-form-box {
  background: #ffffff; border: 1px solid #E2E8F0; border-radius: 14px;
  padding: 1.75rem; width: 100%; max-width: 380px;
}
.hero-form-box h3 { margin-bottom: 0.3rem; }
.hero-form-box p { font-size: 0.82rem; color: #64748B; margin-bottom: 1rem; }
.hero-form-box input,
.hero-form-box select {
  width: 100%; padding: 0.6rem 0.8rem; margin-bottom: 0.65rem;
  border: 1px solid #E2E8F0; border-radius: 6px; font-family: inherit;
  font-size: 0.88rem; color: #334155; background: #fff; outline: none;
}
.hero-form-box input:focus,
.hero-form-box select:focus { border-color: #EA580C; }
.hero-form-box select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; }
.form-note { font-size: 0.7rem; color: #94A3B8; margin: 0.5rem 0 0; text-align: center; }

/* ----- SERVICIOS ----- */
.servicios { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.servicio-card {
  background: #ffffff; border: 1px solid #E2E8F0; border-radius: 12px;
  padding: 1.5rem; display: flex; flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.servicio-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.04); transform: translateY(-2px); }
.servicio-number { font-size: 0.65rem; font-weight: 800; color: #EA580C; letter-spacing: 2px; margin-bottom: 0.5rem; }
.servicio-card h3 { margin-bottom: 0.4rem; }
.servicio-desc { font-size: 0.82rem; color: #64748B; margin-bottom: 1rem; line-height: 1.5; }
.servicio-card ul { margin-bottom: 0; flex: 1; }
.servicio-card ul li { padding: 0.35rem 0 0.35rem 1rem; position: relative; font-size: 0.82rem; color: #475569; }
.servicio-card ul li::before { content: ""; position: absolute; left: 0; top: 0.65rem; width: 5px; height: 5px; border-radius: 50%; background: #EA580C; opacity: 0.5; }

/* ----- SOBRE MÍ ----- */
.sobre-grid { display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: center; max-width: 750px; margin: 0 auto; }
.sobre-foto { flex-shrink: 0; }
.sobre-foto img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 4px solid #F1F5F9; }
.sobre-content h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.sobre-content p { font-size: 0.95rem; margin-bottom: 1rem; line-height: 1.6; }
.sobre-frase { font-weight: 700; color: #EA580C; font-size: 1.05rem !important; margin-top: 1rem; padding-left: 1rem; border-left: 3px solid #EA580C; }
.lista-razones { margin: 0.75rem 0; }
.lista-razones li { padding: 0.4rem 0 0.4rem 1.25rem; position: relative; font-size: 0.9rem; color: #475569; }
.lista-razones li::before { content: ""; position: absolute; left: 0; top: 0.7rem; width: 6px; height: 6px; border-radius: 50%; background: #EA580C; opacity: 0.6; }
.sobre-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem; }
.sobre-tags span {
  display: inline-block; padding: 0.25rem 0.65rem; background: #F1F5F9;
  border-radius: 50px; font-size: 0.72rem; color: #475569; font-weight: 500;
}

/* ----- FOOTER ----- */
.footer { background: #ffffff; padding: 1.5rem 0; border-top: 1px solid #E2E8F0; }
.footer-inner { text-align: center; }
.footer-name { font-size: 0.9rem; font-weight: 700; color: #334155; margin-bottom: 0.15rem; }
.footer-role { font-size: 0.8rem; color: #64748B; margin-bottom: 0.5rem; }
.footer-contact a { font-size: 0.85rem; color: #EA580C; font-weight: 600; }
.footer-contact a:hover { text-decoration: underline; }
.footer-copy { font-size: 0.7rem; color: #94A3B8; margin-top: 0.5rem; }
.footer-startup { font-size: 0.8rem; color: #64748B; margin-top: 0.5rem; }
.footer-startup a { color: #EA580C; font-weight: 600; transition: color 0.2s; }
.footer-startup a:hover { color: #CC4A0A; text-decoration: underline; }

/* ----- RESPONSIVE ----- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-form-wrap { justify-content: center; }
  .hero-form-box { max-width: 100%; }
  .servicios { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
  .sobre-grid { grid-template-columns: 1fr; text-align: center; }
  .sobre-foto { display: flex; justify-content: center; }
}

@media (max-width: 768px) {
  .topbar { flex-direction: column; gap: 0.25rem; }
  .hero { padding: 1.5rem 0 2.5rem; }
  .section { padding: 2.5rem 0; }
  .hero-badges { gap: 0.3rem 1rem; }
  .hero-badges span { font-size: 0.75rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-form-box { padding: 1.25rem; }
  .servicio-card { padding: 1.25rem; }
}