:root {
  --red: #d90000;
  --red-dark: #a80000;
  --yellow: #f5a900;
  --blue: #071f3f;
  --green: #1f9d55;
  --text: #172033;
  --muted: #647084;
  --white: #ffffff;
  --gray: #f4f6fa;
  --border: #e2e8f0;
  --shadow: 0 18px 45px rgba(7, 31, 63, 0.12);
  --radius: 24px;
  --transition: all 0.3s ease;
}

/* ================= RESET ================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
}

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

/* ================= HEADER ================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  width: 190px;
  max-height: 62px;
  object-fit: contain;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 24px;
}

.navbar a {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--blue);
  position: relative;
  transition: var(--transition);
}

.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  border-radius: 10px;
  transition: var(--transition);
}

.navbar a:hover {
  color: var(--red);
}

.navbar a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: var(--blue);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
  padding: 4px;
}

.lang-btn.active {
  color: var(--red);
}

.menu-toggle {
  display: none;
  background: var(--blue);
  color: var(--white);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ================= BOTONES ================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  box-shadow: 0 12px 24px rgba(217, 0, 0, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(217, 0, 0, 0.28);
}

.btn-whatsapp {
  background: #10b848;
  color: var(--white);
  box-shadow: 0 12px 24px rgba(16, 184, 72, 0.22);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  background: #0ca13e;
}

.btn-outline {
  background: var(--white);
  color: var(--blue);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.full {
  width: 100%;
}

/* ================= HERO ================= */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 14%, rgba(245, 169, 0, 0.12), transparent 28%),
    radial-gradient(circle at 88% 42%, rgba(217, 0, 0, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero::before {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -210px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(217, 0, 0, 0.10), rgba(245, 169, 0, 0.14));
  filter: blur(4px);
}

.hero-grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: center;
  position: relative;
  padding: 34px 0 26px;
}

.eyebrow,
.section-heading span,
.section-kicker {
  display: inline-block;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.86rem;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.2rem, 3.9vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  color: var(--blue);
  margin-bottom: 18px;
}

.hero h1 strong {
  display: block;
  color: var(--red);
}

.hero p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 22px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 640px;
}

.hero-features div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.84rem;
}

.hero-features i {
  color: var(--red);
  width: 34px;
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(217, 0, 0, 0.08);
}

/* ================= HERO VISUAL ================= */

.hero-visual {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-service-collage {
  position: relative;
  width: min(100%, 560px);
  height: 430px;
  border-radius: 56px 0 56px 56px;
  overflow: visible;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-service-collage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 56px 0 56px 56px;
  background: linear-gradient(135deg, rgba(7, 31, 63, 0.95), rgba(217, 0, 0, 0.82));
  overflow: hidden;
}

.hero-bg-panel {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero-bg-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 31, 63, 0.50), rgba(217, 0, 0, 0.34));
}

.hero-bg-social {
  left: 0;
  top: 0;
  width: 50%;
  height: 58%;
  border-radius: 56px 0 28px 0;
  background-image: url("https://images.unsplash.com/photo-1584515933487-779824d29309?auto=format&fit=crop&w=900&q=80");
}

.hero-bg-visa {
  right: 0;
  top: 0;
  width: 50%;
  height: 58%;
  background-image: url("https://images.unsplash.com/photo-1542296332-2e4473faf563?auto=format&fit=crop&w=900&q=80");
}

.hero-bg-accounting {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 42%;
  border-radius: 0 0 56px 56px;
  background-image: url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1000&q=80");
}

.hero-bg-accounting::after {
  background: linear-gradient(135deg, rgba(7, 31, 63, 0.62), rgba(217, 0, 0, 0.24));
}

.hero-center-card {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 305px;
  min-height: 210px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 46px rgba(7, 31, 63, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.78);
  text-align: left;
}

.hero-center-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1.55rem;
  background: linear-gradient(135deg, var(--red), var(--yellow));
  box-shadow: 0 14px 26px rgba(217, 0, 0, 0.22);
}

.hero-center-card h3 {
  color: var(--blue);
  font-size: 1.22rem;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 9px;
}

.hero-center-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.48;
  margin: 0;
}

.floating-service-chip {
  position: absolute;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--blue);
  font-weight: 900;
  font-size: 0.88rem;
  white-space: nowrap;
  box-shadow: 0 18px 36px rgba(7, 31, 63, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.floating-service-chip i {
  width: 28px;
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(217, 0, 0, 0.10);
  color: var(--red);
  font-size: 0.95rem;
}

.chip-visa {
  top: 28px;
  left: -30px;
  animation: chipFloatVisa 4s ease-in-out infinite;
}

.chip-eps {
  top: 28px;
  right: -30px;
  animation: chipFloatEps 4.4s ease-in-out infinite;
}

.chip-accounting {
  left: -26px;
  bottom: 36px;
  animation: chipFloatAccounting 4.8s ease-in-out infinite;
}

@keyframes chipFloatVisa {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, -14px); }
}

@keyframes chipFloatEps {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10px, -14px); }
}

@keyframes chipFloatAccounting {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(12px, 14px); }
}

.collage-ring {
  position: absolute;
  z-index: 3;
  border-radius: 50%;
  pointer-events: none;
}

.ring-one {
  right: 52px;
  top: 34px;
  width: 128px;
  height: 128px;
  border: 20px solid rgba(245, 169, 0, 0.82);
  animation: rotateSoft 10s linear infinite;
}

.ring-two {
  right: -88px;
  bottom: -92px;
  width: 220px;
  height: 220px;
  border: 34px solid rgba(255, 255, 255, 0.10);
}

@keyframes rotateSoft {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ================= SECCIONES ================= */

.section {
  padding: 96px 0;
}

.section-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.section-heading h2,
.about-content h2,
.contact-info h2 {
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.section-heading p,
.about-content p,
.contact-info p {
  color: var(--muted);
  font-size: 1rem;
}

/* ================= SERVICIOS ================= */

.services-section {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--white);
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(7, 31, 63, 0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 24px;
}

.service-icon.red {
  background: linear-gradient(135deg, var(--red), #ff5353);
}

.service-icon.yellow {
  background: linear-gradient(135deg, var(--yellow), #ff8a00);
}

.service-icon.green {
  background: linear-gradient(135deg, var(--green), #56c271);
}

.service-card h3 {
  color: var(--blue);
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 14px;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 900;
  font-size: 0.92rem;
}

.service-link i {
  transition: var(--transition);
}

.service-link:hover i {
  transform: translateX(4px);
}

/* ================= SOLUCIONES DETALLADAS ================= */

.detail-services-section {
  background:
    radial-gradient(circle at 8% 10%, rgba(245, 169, 0, 0.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.detail-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.detail-service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 14px 34px rgba(7, 31, 63, 0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.detail-service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
}

.detail-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.detail-card-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.detail-icon {
  width: 64px;
  min-width: 64px;
  height: 64px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.6rem;
}

.detail-icon.red {
  background: linear-gradient(135deg, var(--red), #ff5353);
}

.detail-icon.yellow {
  background: linear-gradient(135deg, var(--yellow), #ff8a00);
}

.detail-icon.green {
  background: linear-gradient(135deg, var(--green), #56c271);
}

.detail-card-header h3 {
  color: var(--blue);
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.detail-card-header p {
  color: var(--muted);
  font-size: 0.92rem;
}

.detail-list {
  display: grid;
  gap: 13px;
}

.detail-list div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.92rem;
}

.detail-list i {
  width: 24px;
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(217, 0, 0, 0.08);
  color: var(--red);
  font-size: 0.78rem;
  margin-top: 1px;
}

/* ================= NOSOTROS ================= */

.about-section {
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 60px;
}

.about-image {
  min-height: 470px;
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(7, 31, 63, .55), rgba(217, 0, 0, .35)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
  position: relative;
  box-shadow: var(--shadow);
}

.about-badge {
  position: absolute;
  right: -20px;
  bottom: 40px;
  background: var(--white);
  border-radius: 24px;
  padding: 22px 28px;
  box-shadow: var(--shadow);
  text-align: center;
}

.about-badge strong {
  display: block;
  color: var(--red);
  font-size: 2.5rem;
  line-height: 1;
}

.about-badge span {
  color: var(--blue);
  font-weight: 900;
}

.about-content p + p {
  margin-top: 16px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.stats-grid div {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(7, 31, 63, 0.08);
}

.stats-grid strong {
  display: block;
  color: var(--red);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
}

.stats-grid span {
  color: var(--blue);
  font-weight: 800;
  font-size: 0.9rem;
}

/* ================= BENEFICIOS ================= */

.benefits-section {
  background: var(--white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.benefit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.benefit-card i {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 22px;
  background: rgba(217, 0, 0, 0.08);
  color: var(--red);
  font-size: 1.7rem;
}

.benefit-card h3 {
  color: var(--blue);
  margin-bottom: 10px;
}

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

/* ================= PROCESO ================= */

.process-section {
  background: #f7f9fc;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(7, 31, 63, 0.07);
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.process-step span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  margin: 0 auto 16px;
}

.process-step i {
  font-size: 2rem;
  color: var(--yellow);
  margin-bottom: 16px;
}

.process-step h3 {
  color: var(--blue);
  margin-bottom: 8px;
}

.process-step p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ================= FAQ ================= */

.faq-section {
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(7, 31, 63, 0.06);
  transition: var(--transition);
}

.faq-item.active {
  border-color: rgba(217, 0, 0, 0.22);
  box-shadow: 0 16px 34px rgba(7, 31, 63, 0.10);
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--blue);
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  text-align: left;
  cursor: pointer;
  font-weight: 900;
  font-size: 1rem;
}

.faq-question i {
  color: var(--red);
  transition: var(--transition);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 240px;
}

.faq-answer p {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-highlight {
  position: sticky;
  top: 110px;
  background:
    radial-gradient(circle at 85% 10%, rgba(245, 169, 0, 0.18), transparent 30%),
    linear-gradient(135deg, var(--blue), #031326);
  color: var(--white);
  border-radius: 32px;
  padding: 36px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-highlight::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 35px solid rgba(255, 255, 255, 0.08);
}

.faq-highlight-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--red), var(--yellow));
  color: var(--white);
  font-size: 1.9rem;
  margin-bottom: 22px;
}

.faq-highlight h3 {
  font-size: 1.65rem;
  line-height: 1.15;
  margin-bottom: 14px;
}

.faq-highlight p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 24px;
}

/* ================= CONTACTO ================= */

.contact-section {
  background:
    radial-gradient(circle at 10% 15%, rgba(245, 169, 0, .16), transparent 30%),
    linear-gradient(135deg, var(--blue), #031326);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.contact-info h2,
.contact-info p {
  color: var(--white);
}

.contact-info p {
  opacity: 0.85;
}

.contact-list {
  margin-top: 30px;
  display: grid;
  gap: 16px;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-weight: 800;
}

.contact-list i {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: var(--yellow);
}

.contact-form {
  background: var(--white);
  color: var(--text);
  padding: 34px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.form-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.form-header-icon {
  width: 58px;
  min-width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--red), var(--yellow));
  color: var(--white);
  font-size: 1.35rem;
  box-shadow: 0 14px 26px rgba(217, 0, 0, 0.18);
}

.form-header h3 {
  color: var(--blue);
  font-size: 1.35rem;
  line-height: 1.15;
  margin-bottom: 6px;
}

.form-header p {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-group label {
  font-weight: 800;
  color: var(--blue);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font-family: inherit;
  outline: none;
  color: var(--text);
  background: #fbfdff;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(217, 0, 0, 0.08);
}

.service-advice-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(7, 31, 63, 0.04);
  border: 1px solid var(--border);
  margin: 0 0 18px;
  transition: var(--transition);
}

.service-advice-box i {
  color: var(--red);
  margin-top: 3px;
}

.service-advice-box p {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0;
}

.service-advice-box.active {
  background: rgba(217, 0, 0, 0.06);
  border-color: rgba(217, 0, 0, 0.18);
}

.contact-form small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  text-align: center;
}

/* ================= FOOTER ================= */

.footer {
  background: #031326;
  color: var(--white);
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 44px;
}

.footer-logo {
  width: 210px;
  background: var(--white);
  padding: 8px;
  border-radius: 14px;
  margin-bottom: 16px;
}

.footer p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 330px;
}

.footer h4 {
  margin-bottom: 18px;
  color: var(--white);
}

.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
  transition: var(--transition);
}

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

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.1);
  border-radius: 12px;
  margin: 0;
}

/* ================= WHATSAPP FLOAT ================= */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  background: #10b848;
  color: white;
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: 0 16px 28px rgba(16, 184, 72, 0.32);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 50px;
  padding: 22px;
  text-align: center;
  color: rgba(255,255,255,.7);
  font-size: 0.9rem;
}

/* ================= ANIMACIONES ================= */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {
  .brand-logo {
    width: 170px;
  }

  .navbar {
    gap: 18px;
  }

  .btn-desktop {
    display: none;
  }

  .floating-service-chip {
    font-size: 0.78rem;
    padding: 10px 14px;
  }

  .chip-visa {
    left: -12px;
  }

  .chip-eps {
    right: -12px;
  }

  .chip-accounting {
    left: -10px;
  }
}

@media (max-width: 1024px) {
  .navbar {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 6%;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .navbar.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 54px 0;
  }

  .hero-visual {
    min-height: 460px;
  }

  .hero-service-collage {
    width: min(100%, 620px);
  }

  .services-grid,
  .benefits-grid,
  .process-line,
  .detail-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-highlight {
    position: relative;
    top: auto;
  }

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

@media (max-width: 720px) {
  html {
    scroll-padding-top: 80px;
  }

  .nav-container {
    min-height: 76px;
  }

  .brand-logo {
    width: 145px;
  }

  .navbar {
    top: 76px;
  }

  .language-switch {
    font-size: 0.88rem;
  }

  .hero-grid {
    padding: 44px 0 54px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero p {
    font-size: 0.98rem;
  }

  .hero-buttons {
    gap: 12px;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-service-collage {
    width: 100%;
    height: 470px;
    border-radius: 34px;
    overflow: visible;
  }

  .hero-service-collage::before {
    border-radius: 34px;
  }

  .hero-bg-social {
    border-radius: 34px 0 20px 0;
  }

  .hero-bg-accounting {
    border-radius: 0 0 34px 34px;
  }

  .hero-center-card {
    width: calc(100% - 58px);
    min-height: auto;
    top: 52%;
    padding: 22px;
  }

  .hero-center-card h3 {
    font-size: 1.12rem;
  }

  .hero-center-card p {
    font-size: 0.88rem;
  }

  .floating-service-chip {
    font-size: 0.74rem;
    padding: 9px 11px;
    min-height: 42px;
    border-radius: 14px;
  }

  .floating-service-chip i {
    width: 24px;
    min-width: 24px;
    height: 24px;
    font-size: 0.8rem;
  }

  .chip-visa {
    top: 16px;
    left: 10px;
  }

  .chip-eps {
    top: 16px;
    right: 10px;
  }

  .chip-accounting {
    left: 10px;
    bottom: 18px;
  }

  .ring-one {
    width: 105px;
    height: 105px;
    border-width: 16px;
    right: 30px;
    top: 28px;
  }

  .services-grid,
  .benefits-grid,
  .process-line,
  .stats-grid,
  .form-row,
  .footer-grid,
  .detail-services-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .about-badge {
    right: 20px;
  }

  .detail-service-card,
  .faq-highlight {
    padding: 24px;
  }

  .detail-card-header,
  .form-header {
    flex-direction: column;
  }

  .form-header-icon {
    width: 54px;
    height: 54px;
  }

  .faq-question {
    padding: 20px;
    font-size: 0.95rem;
  }

  .faq-answer p {
    padding: 0 20px 20px;
  }

  .contact-form {
    padding: 24px;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    font-size: 1.7rem;
  }
}

/* ================= FOOTER INFERIOR MEJORADO ================= */

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 38px;
  padding: 18px 22px;
  color: rgba(255,255,255,.78);
  font-size: 0.88rem;
  text-align: initial;
}

.footer-bottom-inner {
  width: min(1180px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  gap: 18px;
}

.footer-copy {
  text-align: left;
}

.footer-copy p,
.footer-dev-info p {
  margin: 0;
  max-width: none;
  color: rgba(255,255,255,.9);
  line-height: 1.35;
}

.footer-copy span,
.footer-dev-info span {
  display: block;
  color: rgba(255,255,255,.68);
  font-size: 0.82rem;
  line-height: 1.35;
}

.footer-dev-info {
  text-align: center;
}

.footer-dev-info strong {
  color: var(--yellow);
  font-weight: 900;
}

.footer-dev-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-dev-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1;
  transition: var(--transition);
}

.footer-dev-actions a i {
  color: var(--yellow);
  font-size: 0.88rem;
}

.footer-dev-actions a:hover {
  color: var(--yellow);
  transform: translateY(-1px);
}

/* ================= PROTECCIÓN VISUAL BÁSICA ================= */

body.protected-content {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body.protected-content img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
}

body.protected-content input,
body.protected-content textarea,
body.protected-content select,
body.protected-content button {
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
}

/* ================= RESPONSIVE FOOTER INFERIOR ================= */

@media (max-width: 1024px) {
  .footer-bottom-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-copy,
  .footer-dev-info {
    text-align: center;
  }

  .footer-dev-actions {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .footer-bottom {
    margin-top: 30px;
    padding: 18px 16px 76px;
  }

  .footer-bottom-inner {
    gap: 12px;
  }

  .footer-dev-actions {
    gap: 10px;
  }

  .footer-dev-actions a {
    font-size: 0.8rem;
  }

  .whatsapp-float {
    right: 18px;
    bottom: 18px;
  }
}