/* SEBEMMA — sitio estático listo para Cloudflare Pages */
:root {
  --blue-950: #031d4d;
  --blue-900: #052e73;
  --blue-800: #073f98;
  --blue-700: #0b55c4;
  --blue-600: #0f6cda;
  --blue-100: #eaf3ff;
  --ink: #111827;
  --muted: #5b6473;
  --line: #d8e3f0;
  --white: #ffffff;
  --bg: #f7faff;
  --shadow: 0 20px 60px rgba(3, 40, 97, .12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(15,108,218,.09), transparent 27rem),
    linear-gradient(#fff, var(--bg));
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section { padding: 96px 0; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  background: var(--blue-900);
  color: white;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(7,63,152,.08);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled {
  box-shadow: 0 12px 38px rgba(5,46,115,.1);
  background: rgba(255,255,255,.97);
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand {
  width: 190px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 12px;
}
.brand img {
  width: 100%;
  height: 58px;
  object-fit: cover;
  object-position: center;
}
.main-nav {
  margin-left: auto;
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  position: relative;
  text-decoration: none;
  font-weight: 750;
  color: #273347;
  font-size: .95rem;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--blue-600);
  transition: right .25s ease;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after { right: 0; }

.header-call {
  text-decoration: none;
  border-left: 1px solid var(--line);
  padding-left: 24px;
  display: grid;
}
.header-call-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
.header-call strong {
  color: var(--blue-800);
  font-size: 1rem;
}
.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--blue-900);
  margin: 6px 0;
  transition: transform .25s ease, opacity .25s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: grid;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 68px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid rgba(7,63,152,.14);
  background: rgba(255,255,255,.76);
  border-radius: 999px;
  color: var(--blue-800);
  font-weight: 850;
  font-size: .79rem;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 5px rgba(15,108,218,.12);
}
.hero-kicker {
  margin: 28px 0 0;
  color: var(--muted);
  font-weight: 760;
}
.hero h1 {
  margin: 8px 0 0;
  font-size: clamp(4rem, 10vw, 7.8rem);
  line-height: .86;
  letter-spacing: -.065em;
  font-weight: 950;
  color: transparent;
  background: linear-gradient(180deg, #1772df 0%, #073c94 75%, #052e73 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-tagline {
  margin: 18px 0 26px;
  color: #4d5562;
  font-size: clamp(1.18rem, 2vw, 1.6rem);
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.professional-pill {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  color: #1a2534;
}
.professional-pill span {
  color: var(--blue-800);
  font-weight: 950;
  font-size: 1.15rem;
}
.professional-pill strong {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}
.script-line {
  margin: 14px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--blue-900);
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 850;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  box-shadow: 0 14px 30px rgba(7,63,152,.23);
}
.btn-secondary {
  background: rgba(255,255,255,.9);
  color: var(--blue-900);
  border-color: var(--line);
}
.btn-light {
  background: white;
  color: var(--blue-900);
  min-width: 190px;
}

.hero-meta {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 20px;
}
.hero-meta span {
  display: block;
  font-size: .76rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 800;
  margin-bottom: 5px;
}
.hero-meta a {
  text-decoration: none;
  font-weight: 900;
  color: var(--blue-800);
}
.hero-meta p { margin: 0; font-size: .93rem; color: #3f4c60; }

.hero-visual {
  position: relative;
  z-index: 2;
}
.image-frame {
  padding: 11px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(225,238,255,.72));
  border: 1px solid rgba(7,63,152,.1);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.image-frame img {
  width: 100%;
  border-radius: 24px;
}
.experience-badge {
  position: absolute;
  left: -30px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--blue-950);
  color: white;
  border: 6px solid white;
  border-radius: 22px;
  padding: 14px 18px;
  box-shadow: 0 18px 44px rgba(3,29,77,.25);
}
.experience-badge strong {
  font-size: 2.2rem;
  line-height: 1;
}
.experience-badge span {
  text-transform: uppercase;
  font-size: .7rem;
  letter-spacing: .08em;
  font-weight: 800;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(5px);
  pointer-events: none;
}
.hero-orb-a {
  width: 380px; height: 380px;
  right: -160px; top: 80px;
  background: rgba(15,108,218,.1);
}
.hero-orb-b {
  width: 240px; height: 240px;
  left: -100px; bottom: 20px;
  background: rgba(7,63,152,.06);
}

/* Trust strip */
.trust-strip { padding: 0 0 20px; }
.trust-grid {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-950));
  border-radius: 28px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 20px 46px rgba(3,40,97,.2);
}
.trust-item {
  color: white;
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  position: relative;
}
.trust-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: rgba(255,255,255,.28);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.92);
  flex: 0 0 auto;
}
.service-icon svg { width: 25px; height: 25px; fill: white; }

/* Headings */
.section-heading { max-width: 720px; margin-bottom: 36px; }
.section-heading span,
.section-label {
  color: var(--blue-700);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .77rem;
}
.section-heading h2,
.professional-card h2,
.contact-copy h2,
.experience-copy h2 {
  margin: 8px 0 10px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.section-heading p {
  margin: 0;
  color: var(--muted);
}

/* Service cards */
.services { background: rgba(255,255,255,.58); }
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  min-height: 190px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 110% -10%, rgba(15,108,218,.11), transparent 40%),
    rgba(255,255,255,.88);
  box-shadow: 0 15px 35px rgba(5,46,115,.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(5,46,115,.11);
  border-color: rgba(15,108,218,.28);
}
.card-number {
  font-size: .78rem;
  font-weight: 950;
  color: var(--blue-600);
  letter-spacing: .08em;
}
.service-card h3 {
  margin: 24px 0 0;
  font-size: 1.3rem;
  line-height: 1.15;
}
.service-card-wide {
  grid-column: span 3;
  min-height: 135px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: white;
  border-color: transparent;
}
.service-card-wide .card-number { color: #cfe4ff; }

/* Experience */
.experience {
  background:
    linear-gradient(180deg, rgba(234,243,255,.45), rgba(255,255,255,.94)),
    radial-gradient(circle at center, rgba(15,108,218,.12), transparent 40%);
}
.experience-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 60px;
}
.experience-number {
  display: flex;
  align-items: center;
  gap: 24px;
}
.big-number {
  font-size: clamp(7rem, 18vw, 13rem);
  line-height: .8;
  font-weight: 950;
  letter-spacing: -.08em;
  color: var(--blue-700);
  text-shadow: 0 18px 30px rgba(7,63,152,.12);
}
.experience-number div {
  display: grid;
  color: var(--ink);
}
.experience-number strong {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: .9;
}
.experience-number div span {
  font-weight: 900;
  letter-spacing: .11em;
  color: var(--muted);
}
.quote {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--blue-900);
}
.blue-line {
  width: 100px;
  height: 4px;
  border-radius: 999px;
  background: var(--blue-600);
  margin-top: 24px;
}

/* Professional */
.professional-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
}
.professional-card,
.side-panel {
  border-radius: var(--radius-xl);
  padding: 44px;
}
.professional-card {
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow);
}
.professional-facts {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.professional-facts > div {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  background: var(--bg);
}
.professional-facts strong {
  display: block;
  color: var(--blue-800);
  font-size: 1.6rem;
}
.professional-facts span { color: var(--muted); font-size: .92rem; }

.professional-side { display: grid; }
.side-panel {
  background: linear-gradient(150deg, var(--blue-950), var(--blue-700));
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.side-panel > span {
  opacity: .7;
  font-weight: 900;
  letter-spacing: .13em;
}
.side-panel h3 {
  margin: 6px 0 16px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.03;
}
.side-panel p {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  opacity: .9;
}
.side-panel a {
  margin-top: 22px;
  font-size: 1.65rem;
  font-weight: 900;
  text-decoration: none;
}

/* Gallery */
.gallery { padding-top: 30px; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}
.gallery-card {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: 0 14px 36px rgba(5,46,115,.08);
  overflow: hidden;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform .35s ease;
}
.gallery-card:hover img { transform: scale(1.015); }

/* Contact */
.contact-section { padding-top: 70px; }
.contact-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.13), transparent 34%),
    linear-gradient(135deg, var(--blue-950), var(--blue-700));
  color: white;
  padding: 54px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  box-shadow: 0 26px 65px rgba(3,40,97,.25);
}
.section-label.light { color: #cfe4ff; }
.contact-copy h2 { margin-bottom: 8px; }
.contact-phone {
  display: inline-block;
  text-decoration: none;
  font-size: clamp(2rem, 6vw, 4.2rem);
  font-weight: 950;
  letter-spacing: -.05em;
  color: white;
}
.contact-copy p { margin: 18px 0 0; color: rgba(255,255,255,.82); }

/* Footer */
.site-footer {
  margin-top: 80px;
  background: #021536;
  color: white;
  padding: 44px 0 100px;
}
.footer-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: end;
}
.footer-logo {
  width: 230px;
  height: 78px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  background: white;
}
.footer-grid p { color: rgba(255,255,255,.67); }
.footer-info {
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
}
.footer-info a {
  color: #b9d9ff;
  font-weight: 900;
  text-decoration: none;
}

/* Mobile CTA */
.mobile-call { display: none; }

/* Reveal */
.reveal {
  opacity: 1;
  transform: none;
  transition: transform .3s ease, box-shadow .3s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.delay-1,
.delay-2,
.delay-3 { transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* Tablet */
@media (max-width: 980px) {
  .header-call { display: none; }
  .hero { min-height: auto; }
  .hero-grid,
  .experience-grid,
  .professional-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid { gap: 46px; }
  .hero-visual { max-width: 720px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2)::after { display: none; }
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .service-card-wide { grid-column: span 2; }
  .experience-grid { gap: 30px; }
  .gallery-card img { height: auto; }
}

/* Mobile */
@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 72px 0; }

  .header-inner { min-height: 72px; }
  .brand { width: 160px; }
  .brand img { height: 50px; }

  .menu-toggle { display: block; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .main-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: grid;
    gap: 0;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 20px 50px rgba(5,46,115,.18);
    border: 1px solid var(--line);
    opacity: 0;
    transform: translateY(-8px) scale(.98);
    pointer-events: none;
    transition: .2s ease;
  }
  .main-nav.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .main-nav a {
    padding: 13px 12px;
    border-radius: 10px;
  }
  .main-nav a:hover { background: var(--blue-100); }
  .main-nav a::after { display: none; }

  .hero { padding-top: 54px; }
  .hero h1 { font-size: clamp(3.5rem, 22vw, 6rem); }
  .hero-actions .btn { flex: 1 1 180px; }
  .hero-meta { grid-template-columns: 1fr; }
  .experience-badge {
    left: 12px;
    bottom: -22px;
  }

  .trust-strip { padding-top: 14px; }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    padding: 8px;
    border-radius: 22px;
  }
  .trust-item {
    min-height: 118px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 14px;
  }
  .trust-item::after { display: none !important; }
  .service-icon { width: 42px; height: 42px; }

  .service-cards { grid-template-columns: 1fr; }
  .service-card-wide { grid-column: auto; }

  .experience-number {
    align-items: flex-end;
    gap: 16px;
  }
  .big-number { font-size: min(34vw, 9rem); }
  .experience-number strong { font-size: 2.3rem; }
  .experience-number div span { font-size: .73rem; }

  .professional-card,
  .side-panel { padding: 30px; }
  .professional-facts { grid-template-columns: 1fr; }

  .contact-wrap {
    grid-template-columns: 1fr;
    padding: 34px 26px;
  }
  .contact-action .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-info { justify-items: start; text-align: left; }
  .site-footer { padding-bottom: 120px; }

  .mobile-call {
    position: fixed;
    z-index: 1200;
    left: 12px;
    right: 12px;
    bottom: 12px;
    min-height: 58px;
    border-radius: 17px;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-950));
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    box-shadow: 0 16px 42px rgba(3,40,97,.35);
    border: 1px solid rgba(255,255,255,.18);
  }
  .mobile-call span {
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .09em;
    opacity: .85;
  }
}

@media (max-width: 430px) {
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item {
    min-height: 82px;
    flex-direction: row;
    align-items: center;
  }
  .experience-badge { transform: scale(.88); transform-origin: left bottom; }
  .contact-phone { font-size: 2.25rem; }
  .mobile-call strong { font-size: .92rem; }
}
