:root {
  --primary: #234da3;
  --primary-dark: #18367a;
  --primary-light: #edf3ff;
  --accent: #26c34a;
  --text: #2d2d2d;
  --muted: #666;
  --bg: #f5f6f8;
  --white: #fff;
  --shadow: 0 10px 30px rgba(18, 34, 68, 0.08);
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.topbar {
  background: #f1f4fa;
  font-size: 14px;
  border-bottom: 1px solid #dde4f2;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}
.topbar-left, .topbar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.top-item { display: inline-flex; align-items: center; gap: 8px; color: #495b7b; }
.top-item strong { color: #203b7d; }
.lang-switch { display: inline-flex; align-items: center; gap: 10px; }
.lang-switch a {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px;
  border-radius: 999px; background: rgba(35,77,163,.08); color: #203b7d; font-weight: 700;
}
.lang-switch a.active { background: var(--primary); color: white; }
.lang-switch img { width: 22px; height: auto; border: 1px solid rgba(0,0,0,0.12); }
.social-links { display: inline-flex; gap: 10px; }
.social-links a {
  width: 34px; height: 34px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; background: #fff; color: var(--primary); box-shadow: var(--shadow); font-weight: bold;
}
.header-main { background: white; }
.header-grid {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
}
.logo img { width: min(100%, 250px); }
.info-card-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 14px;
}
.info-card {
  background: var(--white);
  border: 1px solid #e8eef8;
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.info-card .label {
  font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #6b7da3; font-weight: 700; margin-bottom: 6px;
}
.info-card .value { font-weight: 700; color: #263b70; }
.info-card .small { color: var(--muted); font-size: 14px; }
.cta-box {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.phone-btn, .wa-btn-inline {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 18px; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow);
}
.phone-btn { background: var(--primary); color: white; }
.wa-btn-inline { background: var(--accent); color: white; }
.hero {
  position: relative;
  min-height: 520px;
  background: linear-gradient(rgba(17,39,93,.28), rgba(17,39,93,.30)), url('../images/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,19,52,.18) 0%, rgba(10,19,52,.10) 35%, rgba(10,19,52,.05) 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-content {
  max-width: 760px;
  color: white;
  padding: 80px 0;
  margin: 0 auto;
  text-align: center;
}
.kicker {
  display: inline-block;
  padding: 8px 14px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
}
.hero p {
  font-size: 20px;
  margin: 0 0 26px;
  color: rgba(255,255,255,.92);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 190px; padding: 14px 22px; border-radius: 999px; font-weight: 700;
}
.btn-primary { background: white; color: var(--primary); }
.btn-secondary { background: var(--accent); color: white; }
.specialties {
  background: linear-gradient(90deg, var(--primary) 0%, #2a56b5 100%);
}
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.specialty-card {
  color: white;
  padding: 34px 26px;
  border-right: 1px solid rgba(255,255,255,.18);
}
.specialty-card:last-child { border-right: 0; }
.specialty-card h3 { margin: 0 0 10px; font-size: 26px; }
.specialty-card p { margin: 0; color: rgba(255,255,255,.84); }
.section { padding: 72px 0; }
.section.alt { background: var(--bg); }
.section-header {
  text-align: center; max-width: 850px; margin: 0 auto 42px;
}
.section-header h2 {
  margin: 0 0 10px; font-size: clamp(34px, 4vw, 52px); line-height: 1.1;
}
.section-header p { margin: 0; color: var(--muted); font-size: 18px; }
.about-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 34px;
}
.about-card {
  background: white; padding: 34px; border-radius: 24px; box-shadow: var(--shadow);
}
.about-card h3 { margin-top: 0; font-size: 32px; color: #1d2f5d; }
.about-card p { color: #5e6575; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  background: white; border: 1px solid #e7ebf2; border-radius: 18px;
  padding: 24px 22px; box-shadow: var(--shadow); min-height: 200px;
}
.service-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.service-icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}
.service-card h3 { margin: 0 0 10px; color: #214b9b; font-size: 24px; line-height: 1.15; }
.service-card p { margin: 0; color: var(--muted); }
.credentials-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.credentials-grid img {
  width: 100%; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid #e3e8f3;
}
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.why-card {
  background: white; border-radius: 18px; padding: 24px; box-shadow: var(--shadow);
}
.why-card h3 { margin: 12px 0 8px; font-size: 24px; color: #1e3f86; }
.why-card p { margin: 0; color: var(--muted); }
.footer {
  background: #121821; color: #d7dce6; padding: 58px 0 22px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.15fr .85fr .85fr .85fr; gap: 28px;
}
.footer h4 { margin: 0 0 14px; color: white; font-size: 18px; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin: 0 0 8px; color: #b8c0cf; }
.footer .logo-footer img { max-width: 200px; filter: brightness(0) invert(1); opacity: .95; }
.footer .social-footer a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin-right: 10px; margin-bottom: 10px; padding: 10px 14px; border-radius: 999px;
  background: rgba(255,255,255,.09); color: white;
}
.copyright {
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 28px; padding-top: 20px; font-size: 14px; color: #aeb7c7;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  background: var(--accent); color: white; border-radius: 999px; box-shadow: 0 12px 28px rgba(0,0,0,.18);
  padding: 14px 18px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px;
}
.badge-icon {
  width: 46px; height: 46px; border-radius: 14px; background: var(--primary-light);
  display:flex; align-items:center; justify-content:center; font-size: 24px; color: var(--primary);
}
@media (max-width: 1080px) {
  .header-grid { grid-template-columns: 220px 1fr; }
  .cta-box { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; align-items: center; flex-wrap: wrap; }
  .specialties-grid, .services-grid, .why-grid, .credentials-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .topbar-inner, .topbar-left, .topbar-right { flex-direction: column; align-items: flex-start; }
  .header-grid, .info-card-wrap { grid-template-columns: 1fr; }
  .cta-box { align-items: stretch; }
  .hero { min-height: 440px; background-position: 28% center; }
  .hero h1 { font-size: clamp(32px, 9vw, 48px); }
  .hero p { font-size: 18px; }
  .specialties-grid, .services-grid, .why-grid, .credentials-grid { grid-template-columns: 1fr; }
  .specialty-card { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .specialty-card:last-child { border-bottom: 0; }
  .section { padding: 56px 0; }
  .about-card { padding: 26px; }
  .btn, .phone-btn, .wa-btn-inline { width: 100%; }
  .whatsapp-float span:last-child { display: none; }
}
