  :root {
    --navy: #0F2D6B;
    --orange: #E8720C;
    --bg: #FAFAFA;
    --bg-dark: #111111;
    --text: #1A1A1A;
    --muted: #6B6B6B;
    --line: #EBEBEB;
    --white: #FFFFFF;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }

  h1, h2, h3, .raleway { font-family: 'Raleway', sans-serif; letter-spacing: -0.02em; }

  .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
  }

  /* ---------------- NAVBAR ---------------- */
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid transparent;
    z-index: 100;
    transition: box-shadow .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  }
  .nav.scrolled {
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 16px rgba(15,45,107,0.04);
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.85);
  }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
  }
  .logo {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 19px;
    color: var(--navy);
    letter-spacing: -0.01em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .logo::before {
    content: '';
    width: 10px; height: 10px;
    background: var(--orange);
    border-radius: 2px;
    display: inline-block;
    transform: rotate(45deg);
  }

  .nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
  }
  .nav-links a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14.5px;
    color: var(--text);
    text-decoration: none;
    position: relative;
    padding: 6px 0;
    transition: color .2s;
  }
  .nav-links a:hover { color: var(--navy); }
  .nav-links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--orange);
    transition: width .25s ease;
  }
  .nav-links a:hover::after { width: 100%; }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14.5px;
    padding: 11px 22px;
    border-radius: 22px;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    white-space: nowrap;
  }
  .btn-primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 4px 14px -4px rgba(232,114,12,0.45);
  }
  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -6px rgba(232,114,12,0.55);
    background: #d66607;
  }
  .btn-ghost {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy);
  }
  .btn-ghost:hover {
    background: var(--navy);
    color: #fff;
  }
  .btn-lg {
    font-size: 15.5px;
    padding: 15px 32px;
    border-radius: 24px;
  }

  .hamburger {
    display: none;
    background: none; border: none;
    cursor: pointer;
    width: 44px; height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
  }
  .hamburger span {
    width: 22px; height: 2px;
    background: var(--navy);
    transition: transform .25s, opacity .25s;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 24px 32px 32px;
    flex-direction: column;
    gap: 8px;
    z-index: 99;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .mobile-menu.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .mobile-menu a {
    color: var(--text);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu .btn { margin-top: 16px; align-self: flex-start; }

  /* ---------------- HERO ---------------- */
  .hero {
    position: relative;
    padding: 152px 0 120px;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(var(--line) 1px, transparent 1px),
      linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 44px 44px;
    background-position: -1px -1px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 85%);
    opacity: 0.55;
    pointer-events: none;
  }
  .hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 50fr 50fr;
    gap: 64px;
    align-items: center;
  }
  .hero-left { min-width: 0; }

  .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    background: rgba(232,114,12,0.08);
    border: 1px solid rgba(232,114,12,0.3);
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 28px;
  }
  .badge .dot {
    width: 6px; height: 6px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse 2.4s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
  }

  .hero h1 {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(44px, 5.6vw, 76px);
    line-height: 1.02;
    color: var(--navy);
    letter-spacing: -0.035em;
    margin-bottom: 28px;
    text-wrap: balance;
    position: relative;
    display: block;
  }
  /* Ghost sets the container height to the longest phrase; invisible but occupies space */
  .headline-ghost {
    visibility: hidden;
    display: block;
    pointer-events: none;
  }
  .headline-text {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    transition: opacity 380ms ease;
  }
  .headline-text.is-visible { opacity: 1; }
  .caret { display: none; }
  .hero h1 .hl {
    position: relative;
    display: inline-block;
    white-space: nowrap;
  }
  .hero h1 .hl::after {
    content: '';
    position: absolute;
    left: -2px; right: -2px;
    bottom: 4px;
    height: 14px;
    background: var(--orange);
    opacity: 0.85;
    z-index: -1;
    transform: skewX(-4deg);
  }

  .hero-sub {
    font-size: 18px;
    color: var(--muted);
    max-width: 540px;
    margin-bottom: 36px;
    text-wrap: pretty;
    line-height: 1.6;
  }
  .hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }

  .hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .photo-wrap {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    aspect-ratio: 1 / 1;
  }
  .photo-wrap::before {
    content: '';
    position: absolute;
    inset: 14px -14px -14px 14px;
    border: 2px solid var(--orange);
    border-radius: 50%;
    z-index: 0;
  }
  .photo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--navy);
    border-radius: 50%;
    opacity: 0.06;
    transform: translate(-14px, 14px);
  }
  .photo {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 30%;
    box-shadow: 0 24px 60px -20px rgba(15,45,107,0.25);
  }

  /* ---------------- KEY NUMBERS ---------------- */
  .numbers {
    background: var(--navy);
    color: #fff;
    padding: 84px 0;
    position: relative;
    overflow: hidden;
  }
  .numbers::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: none;
    pointer-events: none;
  }
  .numbers-inner {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .num-cell {
    padding: 12px 40px;
    border-right: 1px solid rgba(255,255,255,0.12);
  }
  .num-cell:last-child { border-right: none; }
  .num-cell:first-child { padding-left: 0; }
  .num-cell:last-child { padding-right: 0; }
  .num-value {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(40px, 5vw, 56px);
    color: var(--orange);
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
  }
  .num-desc {
    font-size: 15px;
    color: #CCCCCC;
    line-height: 1.5;
    max-width: 300px;
  }

  /* ---------------- SOBRE MI ---------------- */
  .section {
    padding: 120px 0;
  }
  .section.alt { background: var(--bg); }
  .section.white { background: #fff; }

  .section-kicker {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .section-kicker::before {
    content: '';
    width: 28px; height: 2px;
    background: var(--orange);
  }

  .about {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }
  .about .section-kicker { justify-content: center; }
  .about h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: clamp(36px, 4.2vw, 48px);
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -0.025em;
  }
  .about p {
    font-size: 18px;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 40px;
    text-align: left;
    text-wrap: pretty;
  }
  .about p .em {
    color: var(--navy);
    font-weight: 500;
  }
  .social-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  .social-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid var(--navy);
    color: var(--navy);
    padding: 10px 20px;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s, border-color .2s, background .2s, transform .2s;
  }
  .social-pill svg { width: 20px; height: 20px; transition: color .2s; }
  .social-pill:hover {
    color: var(--orange);
    border-color: var(--orange);
    transform: translateY(-1px);
  }

  .logos-row {
    margin-bottom: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--line);
    text-align: center;
  }
  .logos-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
  }
  .logos-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: center;
  }
  .logo-slot {
    height: 72px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    transition: border-color .3s;
  }
  .logo-slot img {
    max-height: 40px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: filter .35s ease, opacity .35s ease;
  }
  /* Logos más compactos que necesitan más espacio */
  .logo-slot--lg img {
    max-height: 56px;
  }
  /* MPF: imagen cuadrada con mucho espacio blanco → cover centra y recorta el padding */
  .logo-slot--mpf {
    padding: 0;
    overflow: hidden;
  }
  .logo-slot--mpf img {
    width: 100%;
    height: 100%;
    max-height: none;
    max-width: none;
    object-fit: cover;
    object-position: center;
  }
  .logo-slot:hover { border-color: var(--navy); }
  .logo-slot:hover img {
    filter: grayscale(0%);
    opacity: 1;
  }
  .logos-note {
    margin-top: 16px;
    font-size: 12px;
    color: var(--muted);
    font-style: italic;
    text-align: center;
  }
  @media (max-width: 860px) {
    .logos-track { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 480px) {
    .logos-track { grid-template-columns: repeat(2, 1fr); }
  }

  /* ---------------- SERVICES ---------------- */
  .services-head {
    text-align: center;
    margin-bottom: 64px;
  }
  .services-head .section-kicker { justify-content: center; }
  .services-head h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: clamp(36px, 4.2vw, 52px);
    color: var(--navy);
    line-height: 1.08;
    margin-bottom: 14px;
    letter-spacing: -0.025em;
    text-wrap: balance;
  }
  .services-head p {
    font-size: 17px;
    color: var(--muted);
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
  }
  .card {
    background: #fff;
    border-left: 4px solid var(--orange);
    border-radius: 10px;
    padding: 36px 32px;
    box-shadow: 0 1px 3px rgba(15,45,107,0.04), 0 12px 32px -16px rgba(15,45,107,0.12);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
  }
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 2px 4px rgba(15,45,107,0.05), 0 24px 48px -20px rgba(15,45,107,0.18);
  }
  .card-num {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--orange);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
  }
  .card-icon {
    width: 48px; height: 48px;
    background: rgba(15,45,107,0.06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    margin-bottom: 24px;
  }
  .card-icon svg { width: 24px; height: 24px; }
  .card h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 21px;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.015em;
  }
  .card p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
  }
  .card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }
  .card-tag {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--muted);
    background: #F4F4F4;
    padding: 5px 10px;
    border-radius: 6px;
  }

  .services-cta {
    text-align: center;
  }
  .services-question {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: clamp(22px, 3vw, 30px);
    color: var(--navy);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
  }
  .services-cta .btn { margin-bottom: 14px; }
  .services-cta .note {
    font-size: 14px;
    color: var(--muted);
  }

  /* ---------------- NEWSLETTER ---------------- */
  .newsletter {
    background: var(--navy);
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
  }
  .newsletter::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 360px; height: 360px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 50%;
  }
  .newsletter::after {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 240px; height: 240px;
    border: 1px solid rgba(232,114,12,0.25);
    border-radius: 50%;
  }
  .newsletter-inner {
    position: relative;
    max-width: 720px;
    z-index: 2;
  }
  .newsletter .section-kicker { color: var(--orange); }
  .newsletter h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.02;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
  }
  .newsletter h2 .period { color: var(--orange); }
  .newsletter-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    line-height: 1.6;
    max-width: 560px;
  }
  .form-row {
    display: flex;
    gap: 10px;
    max-width: 540px;
    margin-bottom: 16px;
  }
  .form-row input {
    flex: 1;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.35);
    color: #fff;
    padding: 14px 18px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color .2s;
  }
  .form-row input::placeholder { color: rgba(255,255,255,0.55); }
  .form-row input:focus { border-color: var(--orange); }
  .form-row button {
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s, transform .2s;
    white-space: nowrap;
  }
  .form-row button:hover { background: #d66607; transform: translateY(-1px); }
  .form-note {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
  }
  .form-status {
    font-size: 13.5px;
    margin-top: 14px;
    min-height: 20px;
    color: var(--orange);
  }
  .form-status.success { color: #7ee7a4; }

  /* ---------------- FOOTER ---------------- */
  footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 64px 0 40px;
    text-align: center;
  }
  .footer-line {
    width: 60px; height: 3px;
    background: var(--orange);
    margin: 0 auto 36px;
    border-radius: 2px;
  }
  footer .name {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
  }
  .footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
  }
  .footer-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    width: 40px; height: 40px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color .2s, border-color .2s, background .2s;
  }
  .footer-links a:hover {
    color: var(--orange);
    border-color: var(--orange);
  }
  .footer-links svg { width: 18px; height: 18px; }

  .footer-legal {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 14px;
    flex-wrap: wrap;
  }
  .footer-legal a {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color .2s;
  }
  .footer-legal a:hover { color: var(--orange); }
  .copyright {
    font-size: 13px;
    color: #777777;
  }

  /* ---------------- RESPONSIVE ---------------- */
  @media (max-width: 960px) {
    .nav-links, .nav-inner .btn { display: none; }
    .hamburger { display: flex; }
    .hero { padding: 120px 0 80px; }
    .hero-inner {
      grid-template-columns: 1fr;
      gap: 48px;
    }
    .hero-left { order: 2; text-align: center; }
    .hero-right { order: 1; }
    .photo-wrap { max-width: 240px; }
    .badge { margin-bottom: 20px; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }

    .numbers-inner {
      grid-template-columns: repeat(2, 1fr);
      gap: 32px 24px;
    }
    .num-cell {
      padding: 0;
      border-right: none;
    }
    .num-cell:last-child { grid-column: 1 / -1; }

    .services-grid { grid-template-columns: 1fr; }
    .section { padding: 80px 0; }

    .form-row { flex-direction: column; }
    .form-row button { width: 100%; }
  }

  @media (max-width: 480px) {
    .container, .nav-inner { padding: 0 18px; }
    .hero { padding: 100px 0 56px; }
    .hero h1 { font-size: clamp(34px, 9vw, 44px); }
    .hero-sub { font-size: 16px; }
    .photo-wrap { max-width: 180px; }
    .badge { font-size: 10.5px; padding: 6px 12px; }

    .section { padding: 60px 0; }
    .card { padding: 24px 20px; }
    .card h3 { font-size: 18px; }

    .numbers { padding: 60px 0; }
    .numbers-inner {
      grid-template-columns: 1fr;
      gap: 32px;
    }
    .num-cell:last-child { grid-column: auto; }
    .num-value { font-size: clamp(36px, 10vw, 48px); }

    .services-head { margin-bottom: 40px; }

    .newsletter { padding: 80px 0; }
    .newsletter h2 { font-size: clamp(30px, 9vw, 44px); }
    .newsletter-sub { font-size: 16px; }
    .form-row input, .form-row button { padding: 14px 16px; font-size: 15px; min-height: 50px; }

    .social-row { gap: 10px; }
    .social-pill { padding: 9px 14px; font-size: 13px; }

    .btn-lg { font-size: 14.5px; padding: 13px 24px; }

    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta .btn { width: 100%; max-width: 320px; justify-content: center; }
  }

  /* reveal on scroll */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1);
  }
  .reveal.in {
    opacity: 1;
    transform: none;
  }
