/* ── CUSTOM PROPERTIES ── */
    :root {
      --bg: #f8f7f4;
      --ink: #1a2744;
      --ink-muted: #5f6b82;
      --accent: #c9a84c;
      --white: #ffffff;
      --rule: #d9deea;

      --font-display: 'Playfair Display', serif;
      --font-body: 'Inter', sans-serif;
      --font-mono: 'Inter', sans-serif;
    }

    /* ── BASE RESET ── */
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      background-color: var(--bg);
      color: var(--ink);
      font-family: var(--font-body);
      font-weight: 300;
      line-height: 1.7;
      overscroll-behavior: none;
      -webkit-font-smoothing: antialiased;
    }

    img {
      display: block;
      max-width: 100%;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    /* ── NAVBAR ── */
    #navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      padding: 1.5rem 2.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
      border-bottom: 1px solid transparent;
    }

    #navbar.scrolled {
      background: rgba(248, 247, 244, 0.96);
      backdrop-filter: blur(8px);
      padding: 1rem 2.5rem;
      border-bottom-color: var(--rule);
    }

    #navbar.scrolled .nav-link {
      color: var(--ink);
    }

    #navbar.scrolled .nav-link:hover {
      color: var(--ink-muted);
    }

    #navbar.scrolled .nav-link.active {
      color: var(--ink);
    }

    #navbar.scrolled .logo-sub {
      color: var(--ink-muted);
    }

    .logo-mark {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 18px;
      color: var(--ink);
    }

    .logo-dot {
      color: var(--accent);
    }

    .logo-sub {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: white;
      transition: color 0.4s ease;
    }

    .nav-link {
      position: relative;
      font-weight: 600;
      font-size: 13px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: white;
      padding-bottom: 3px;
      transition: color 0.2s ease;
      display: inline-flex;
      align-items: center;
    }

    .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width 0.25s ease;
    }

    .nav-link:hover {
      color: white;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
      width: 100%;
    }

    .btn-nav {
      font-weight: 600;
      font-size: 13px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--bg);
      background: var(--ink);
      padding: 10px 20px;
      border: none;
      cursor: pointer;
      transition: background 0.25s ease;
      display: inline-flex;
      align-items: center;
      margin-left: -1.5rem;
    }

    .btn-nav:hover {
      background: var(--accent);
      color: white;
    }

    .btn-nav-gold {
      font-weight: 600;
      font-size: 13px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--ink);
      background: var(--accent);
      padding: 10px 20px;
      border: none;
      cursor: pointer;
      transition: background 0.25s ease, color 0.25s ease;
      display: inline-flex;
      align-items: center;
      text-decoration: none;
      animation: nudge 2.5s ease-in-out infinite;
    }

    @keyframes nudge {

      0%,
      100% {
        transform: translateX(0);
      }

      20% {
        transform: translateX(5px);
      }

      40% {
        transform: translateX(-3px);
      }

      60% {
        transform: translateX(4px);
      }

      80% {
        transform: translateX(-2px);
      }
    }

    .btn-nav-gold:hover {
      background: var(--accent-light, #e0b84a);
      color: var(--ink);
      animation-play-state: paused;
    }

    /* Hamburger */
    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 44px;
      height: 44px;
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 8px;
      cursor: pointer;
      padding: 10px;
      transition: all 0.3s ease;
      align-items: center;
    }

    .hamburger:hover {
      background: rgba(255, 255, 255, 0.25);
      border-color: rgba(255, 255, 255, 0.5);
      transform: scale(1.05);
    }

    #navbar.scrolled .hamburger {
      background: rgba(26, 39, 68, 0.1);
      border-color: rgba(26, 39, 68, 0.2);
    }

    #navbar.scrolled .hamburger:hover {
      background: rgba(26, 39, 68, 0.15);
      border-color: rgba(26, 39, 68, 0.3);
    }

    .hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      background: white;
      border-radius: 2px;
      transition: all 0.3s cubic-bezier(0.76, 0, 0.24, 1);
      transform-origin: center;
    }

    #navbar.scrolled .hamburger span {
      background: var(--ink);
    }

    .hamburger.open span {
      background: white;
    }

    .hamburger.open span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .hamburger.open span:nth-child(2) {
      opacity: 0;
      transform: scale(0);
    }

    .hamburger.open span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    /* Mobile Menu */
    .mobile-menu {
      position: fixed;
      inset: 0;
      background: linear-gradient(135deg, rgba(26, 39, 68, 0.98) 0%, rgba(10, 18, 40, 0.98) 100%);
      backdrop-filter: blur(30px);
      -webkit-backdrop-filter: blur(30px);
      z-index: 200;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 4rem 2rem;
      gap: 0.5rem;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    .mobile-menu.open {
      opacity: 1;
      visibility: visible;
    }

    .mobile-menu::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
      opacity: 0.3;
    }

    .mobile-menu a {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 1.5rem;
      letter-spacing: 0.02em;
      color: var(--bg);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      min-height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1rem 2rem;
      width: 100%;
      max-width: 400px;
      position: relative;
      border-radius: 12px;
      opacity: 0;
      transform: translateY(20px);
    }

    .mobile-menu.open a {
      opacity: 1;
      transform: translateY(0);
    }

    .mobile-menu.open a:nth-child(1) {
      transition-delay: 0.1s;
    }

    .mobile-menu.open a:nth-child(2) {
      transition-delay: 0.15s;
    }

    .mobile-menu.open a:nth-child(3) {
      transition-delay: 0.2s;
    }

    .mobile-menu.open a:nth-child(4) {
      transition-delay: 0.25s;
    }

    .mobile-menu.open a:nth-child(5) {
      transition-delay: 0.3s;
    }

    .mobile-menu.open a:nth-child(6) {
      transition-delay: 0.35s;
    }

    .mobile-menu a::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(201, 168, 76, 0.1);
      border-radius: 12px;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .mobile-menu a:hover {
      color: var(--accent);
      transform: scale(1.05);
    }

    .mobile-menu a:hover::before {
      opacity: 1;
    }

    .mobile-menu a:active {
      transform: scale(0.98);
    }

    /* ── BUTTONS ── */
    .btn-primary {
      background: var(--accent);
      color: white;
      padding: 14px 28px;
      font-weight: 600;
      font-size: 13px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      border: none;
      cursor: pointer;
      display: inline-block;
      transition: background 0.25s ease, transform 0.1s ease;
      min-height: 44px;
    }

    .btn-primary:hover {
      background: var(--ink);
    }

    .btn-primary:active {
      transform: scale(0.97);
    }

    .btn-secondary {
      font-weight: 500;
      font-size: 14px;
      color: var(--ink);
      background: none;
      border: none;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: color 0.2s ease;
      min-height: 44px;
    }

    .btn-secondary:hover {
      color: var(--accent);
    }

    /* ── HERO ── */
    #inicio {
      min-height: 100dvh;
      position: relative;
      overflow: hidden;
    }

    .hero-grid {
      position: relative;
      min-height: 100dvh;
      display: flex;
      align-items: flex-end;
      padding: 8rem 2.5rem 5rem 2.5rem;
      max-width: 1920px;
      margin: 0 auto;
    }

    .hero-text-col {
      position: relative;
      z-index: 2;
      max-width: 580px;
      width: 100%;
    }

    .hero-meta {
      font-size: 11px;
      font-weight: 400;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--ink-muted);
      margin-bottom: 2rem;
      opacity: 0;
      animation: fadeIn 0.8s ease forwards 0.2s;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(8px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .hero-name {
      font-family: var(--font-display);
      font-weight: 900;
      font-size: clamp(5rem, 10vw, 9rem);
      letter-spacing: -0.04em;
      line-height: 0.88;
      color: var(--ink);
      margin-bottom: 2rem;
    }

    @keyframes letterReveal {
      0% {
        opacity: 0;
        transform: translateY(24px);
        filter: blur(4px);
      }

      100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
      }
    }

    .hero-letter {
      display: inline-block;
      opacity: 0;
      animation: letterReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    .hero-tagline {
      font-family: var(--font-display);
      font-weight: 700;
      font-style: italic;
      font-size: clamp(1.1rem, 2vw, 1.375rem);
      line-height: 1.4;
      color: var(--ink);
      margin-bottom: 3rem;
      opacity: 0;
      animation: fadeIn 0.6s ease forwards 0.9s;
    }

    .hero-cta-block {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      flex-wrap: wrap;
    }

    .hero-subtag {
      margin-top: 1.5rem;
      font-size: 11px;
      letter-spacing: 0.12em;
      color: var(--ink-muted);
      opacity: 0;
      animation: fadeIn 0.6s ease forwards 1.1s;
    }

    /* ── HERO LAWYER NAME ── */
    .hero-lawyer-name {
      font-family: var(--font-display);
      font-size: clamp(0.8rem, 1.3vw, 1.1rem);
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 0.75rem;
      opacity: 0;
      animation: fadeIn 0.8s ease forwards 0.1s;
    }

    /* ── HERO GLASS CARD ── */
    .hero-glass-card {
      background: rgba(10, 18, 40, 0.48);
      backdrop-filter: blur(22px) saturate(1.6);
      -webkit-backdrop-filter: blur(22px) saturate(1.6);
      border: 1px solid rgba(201, 168, 76, 0.40);
      border-top: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 20px;
      padding: 2.5rem;
      box-shadow: 0 16px 56px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.10);
      transform: translateY(-80px);
      max-width: 580px;
      width: 100%;
    }

    .hero-glass-card .hero-name {
      color: var(--white);
      font-size: 3.65rem;
      margin-bottom: 1.25rem;
      line-height: 1.1;
    }

    .hero-glass-card .hero-name>span {
      white-space: nowrap;
    }

    .hero-glass-card .hero-tagline {
      color: rgba(255, 255, 255, 0.88);
      margin-bottom: 1.75rem;
      font-size: 1.375rem;
      line-height: 1.5;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(201, 168, 76, 0.18);
      border: 1px solid rgba(201, 168, 76, 0.45);
      border-radius: 50px;
      padding: 6px 14px;
      margin-bottom: 1.25rem;
    }

    .hero-badge i {
      color: var(--accent);
      font-size: 13px;
    }

    .hero-badge span {
      color: var(--accent);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.05em;
    }

    .hero-subtitle-row {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin-bottom: 1.75rem;
    }

    .hero-subtitle-row i {
      color: var(--accent);
      font-size: 16px;
      margin-top: 3px;
      flex-shrink: 0;
    }

    .hero-subtitle-text {
      font-size: 14px;
      color: rgba(255, 255, 255, 0.72);
      line-height: 1.6;
      font-weight: 400;
    }

    .hero-features {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-bottom: 2rem;
    }

    .hero-feature-item {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .hero-feature-icon {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: rgba(201, 168, 76, 0.18);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .hero-feature-icon i {
      color: var(--accent);
      font-size: 13px;
    }

    .hero-feature-label {
      font-size: 12px;
      color: rgba(255, 255, 255, 0.65);
      font-weight: 400;
    }

    .hero-glass-btns {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .btn-glass-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--accent);
      color: var(--white);
      font-weight: 600;
      font-size: 13px;
      padding: 12px 24px;
      border-radius: 8px;
      transition: background 0.25s ease, transform 0.1s ease, box-shadow 0.25s ease;
      box-shadow: 0 4px 16px rgba(201, 168, 76, 0.35);
      min-height: 44px;
    }

    .btn-glass-primary:hover {
      background: var(--ink);
      box-shadow: 0 6px 20px rgba(26, 39, 68, 0.35);
      transform: scale(1.03);
    }

    .btn-glass-secondary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.1);
      color: var(--white);
      font-weight: 600;
      font-size: 13px;
      padding: 12px 24px;
      border-radius: 8px;
      border: 1px solid rgba(201, 168, 76, 0.4);
      transition: background 0.25s ease, border-color 0.25s ease, transform 0.1s ease;
      min-height: 44px;
    }

    .btn-glass-secondary:hover {
      background: rgba(255, 255, 255, 0.18);
      border-color: rgba(201, 168, 76, 0.7);
      transform: scale(1.03);
    }

    /* Hero legend */
    .hero-legend {
      margin-top: 2rem;
      padding-top: 1.5rem;
      border-top: 1px solid rgba(201, 168, 76, 0.2);
      text-align: center;
      opacity: 0;
      animation: fadeIn 0.8s ease forwards 1.3s;
    }

    .hero-legend-text {
      font-family: var(--font-display);
      font-weight: 500;
      font-style: italic;
      font-size: 16px;
      color: rgba(255, 255, 255, 0.92);
      letter-spacing: 0.05em;
    }

    /* Scroll indicator */
    .scroll-indicator {
      position: absolute;
      bottom: 2rem;
      left: 2.5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      z-index: 3;
    }

    .scroll-text {
      font-size: 10px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--ink-muted);
      writing-mode: vertical-rl;
      transform: rotate(180deg);
    }

    .scroll-line {
      width: 1px;
      height: 40px;
      background: linear-gradient(to bottom, transparent 0%, var(--ink-muted) 50%, transparent 100%);
      position: relative;
      overflow: hidden;
    }

    .scroll-line::after {
      content: '';
      position: absolute;
      top: -100%;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to bottom, transparent, var(--ink) 50%, transparent);
      animation: scrollDown 2s ease-in-out infinite;
    }

    @keyframes scrollDown {
      0% {
        top: -100%;
      }

      100% {
        top: 100%;
      }
    }

    /* Hero photo — full background */
    .hero-photo-col {
      position: absolute;
      inset: 0;
      z-index: 0;
    }

    .hero-photo-col img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
    }

    .hero-photo-col::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to top,
          rgba(10, 18, 40, 0.70) 0%,
          rgba(10, 18, 40, 0.30) 50%,
          rgba(10, 18, 40, 0.15) 100%);
      z-index: 1;
      pointer-events: none;
    }

    .hero-photo-caption {
      position: absolute;
      bottom: 1.5rem;
      right: 1rem;
      font-size: 11px;
      color: rgba(255, 255, 255, 0.35);
      z-index: 2;
    }

    .hero-motto-mobile {
      display: none;
    }

    .hero-motto {
      position: absolute;
      bottom: 5rem;
      right: clamp(8rem, 15vw, 13rem);
      font-family: 'Dancing Script', cursive;
      font-style: normal;
      font-size: clamp(1.35rem, 2vw, 2rem);
      color: var(--accent);
      z-index: 3;
      text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
      pointer-events: none;
      white-space: nowrap;
    }

    .hero-motto .motto-letter {
      display: inline-block;
      opacity: 0;
      animation: letterReveal 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    /* ── SERVICIOS ── */
    #servicios {
      background: var(--bg);
      padding: 6rem 2.5rem;
    }

    .section-header {
      display: grid;
      grid-template-columns: auto 1fr;
      align-items: end;
      gap: 2rem;
      margin-bottom: 1.5rem;
    }

    .section-header-hr {
      border: none;
      border-top: 1px solid var(--rule);
      margin-bottom: 0.5rem;
    }

    .section-title {
      font-family: var(--font-display);
      font-weight: 900;
      font-size: clamp(2.5rem, 5vw, 4.5rem);
      letter-spacing: -0.04em;
      line-height: 0.9;
      color: var(--ink);
    }

    .section-subtitle {
      font-weight: 300;
      font-size: 16px;
      color: var(--ink-muted);
      line-height: 1.6;
      margin-top: 1rem;
      max-width: 480px;
    }

    /* Services grid */
    .services-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      max-width: 1100px;
      margin: 0 auto;
    }

    .service-card {
      background: transparent;
      padding: 2.5rem 2rem;
      border-bottom: 1px solid var(--rule);
      border-right: 1px solid var(--rule);
      cursor: pointer;
      transition: background 0.35s ease;
    }

    .service-card:nth-child(even) {
      border-right: none;
    }

    .service-card.last-row {
      grid-column: 1 / -1;
      border-right: none;
      max-width: 50%;
    }

    .service-card * {
      transition: color 0.35s ease, border-color 0.35s ease;
    }

    .service-number {
      font-size: 13px;
      color: var(--accent);
      letter-spacing: 0.05em;
      margin-bottom: 0.5rem;
    }

    .service-rule {
      border-top: 1px solid var(--rule);
      margin: 0.5rem 0 1rem;
    }

    .service-title {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 22px;
      letter-spacing: -0.02em;
      color: var(--ink);
      margin-bottom: 0.5rem;
    }

    .service-rule-2 {
      border-top: 1px solid var(--rule);
      margin: 0.75rem 0;
    }

    .service-desc {
      font-weight: 300;
      font-size: 15px;
      color: var(--ink-muted);
      line-height: 1.6;
      margin-bottom: 1.25rem;
    }

    .service-cta {
      font-weight: 500;
      font-size: 13px;
      color: var(--ink);
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    /* ── SOBRE MÍ ── */
    #sobre-mi {
      background: var(--white);
      padding: 6rem 2.5rem;
    }

    .about-container {
      max-width: 1100px;
      margin: 0 auto;
    }

    .about-header {
      margin-bottom: 3rem;
    }

    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: start;
    }

    .about-col-left {}

    .about-col-right {}

    .about-education {
      margin-bottom: 2rem;
    }

    .about-section-title {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 18px;
      color: var(--ink);
      margin-bottom: 1rem;
    }

    .about-credential {
      font-size: 17px;
      color: var(--ink);
      line-height: 1.75;
      margin-bottom: 0.75rem;
    }

    .about-features {}

    .about-photo {
      width: 100%;
      aspect-ratio: 4/5;
      object-fit: cover;
      object-position: center top;
      outline: 1px solid var(--rule);
      outline-offset: -8px;
    }

    .about-photo-meta {
      margin-top: 1rem;
      font-size: 11px;
      color: var(--ink-muted);
      letter-spacing: 0.08em;
    }

    .about-label {
      font-weight: 500;
      font-size: 11px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 1rem;
    }

    .about-title {
      font-family: var(--font-display);
      font-weight: 900;
      font-size: clamp(3rem, 5vw, 5rem);
      letter-spacing: -0.04em;
      line-height: 0.9;
      color: var(--ink);
    }

    .about-divider {
      width: 60px;
      height: 2px;
      background: var(--ink);
      margin: 2rem 0;
    }

    .about-text {
      font-weight: 300;
      font-size: 17px;
      line-height: 1.75;
      color: var(--ink);
      margin-bottom: 1.5rem;
    }

    .diff-list {
      list-style: none;
      margin-top: 1rem;
    }

    .diff-list li {
      font-weight: 300;
      font-size: 17px;
      color: var(--ink);
      padding: 0.15rem 0;
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
    }

    .diff-dash {
      color: var(--accent);
      flex-shrink: 0;
    }

    /* ── PRINCIPIOS ── */
    #principios {
      background: var(--ink);
      padding: 6rem 2.5rem;
    }

    .manifesto-container {
      max-width: 1100px;
      margin: 0 auto;
    }

    .manifesto-label {
      font-size: 11px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: rgba(248, 247, 244, 0.3);
      margin-bottom: 3rem;
    }

    .manifesto-block {
      padding: 3rem 0;
      border-top: 1px solid rgba(248, 247, 244, 0.1);
      position: relative;
      padding-left: 0;
      transition: padding-left 0.3s ease;
    }

    .manifesto-block::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 0;
      background: var(--accent);
      transition: width 0.3s ease;
    }

    .manifesto-block:hover {
      padding-left: 1.5rem;
    }

    .manifesto-block:hover::before {
      width: 3px;
    }

    .manifesto-inner {
      display: flex;
      align-items: flex-start;
      gap: 2rem;
    }

    .manifesto-num {
      font-size: 13px;
      letter-spacing: 0.1em;
      color: var(--accent);
      flex-shrink: 0;
      padding-top: 0.2em;
    }

    .manifesto-line-sep {
      width: 40px;
      height: 1px;
      background: rgba(248, 247, 244, 0.2);
      flex-shrink: 0;
      margin-top: 0.65em;
    }

    .manifesto-quote {
      font-family: var(--font-display);
      font-weight: 700;
      font-style: italic;
      font-size: clamp(1.25rem, 2.5vw, 1.75rem);
      color: var(--bg);
      line-height: 1.3;
    }

    .manifesto-cta-block {
      text-align: center;
      padding-top: 4rem;
      border-top: 1px solid rgba(248, 247, 244, 0.1);
    }

    .manifesto-cta-question {
      font-weight: 300;
      font-size: 16px;
      color: rgba(248, 247, 244, 0.5);
      margin-bottom: 1.5rem;
    }

    .btn-manifesto {
      font-family: var(--font-display);
      font-weight: 700;
      font-style: italic;
      font-size: 18px;
      color: var(--bg);
      border: 1px solid rgba(248, 247, 244, 0.3);
      padding: 16px 40px;
      background: transparent;
      cursor: pointer;
      display: inline-block;
      transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    }

    .btn-manifesto:hover {
      background: var(--accent);
      border-color: var(--accent);
      color: white;
    }

    /* ── CONTACTO ── */
    #contacto {
      background: var(--bg);
      padding: 6rem 2.5rem;
    }

    .contact-header {
      max-width: 1100px;
      margin: 0 auto 4rem;
    }

    .contact-title {
      font-family: var(--font-display);
      font-weight: 900;
      font-size: clamp(3.5rem, 8vw, 7rem);
      letter-spacing: -0.04em;
      line-height: 0.88;
      color: var(--ink);
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      max-width: 1100px;
      margin: 0 auto;
      align-items: start;
    }

    .contact-info-label {
      font-weight: 500;
      font-size: 11px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--ink-muted);
      margin-bottom: 2rem;
    }

    .contact-info-list {
      list-style: none;
      margin-bottom: 3rem;
    }

    .contact-info-list li {
      display: flex;
      flex-direction: column;
      gap: 2px;
      margin-bottom: 1.5rem;
    }

    .contact-info-key {
      font-size: 12px;
      color: var(--ink-muted);
      letter-spacing: 0.05em;
    }

    .contact-info-val {
      font-weight: 500;
      font-size: 16px;
      color: var(--ink);
    }

    .contact-info-val a {
      color: var(--ink);
      transition: color 0.2s ease;
    }

    .contact-info-val a:hover {
      color: var(--accent);
    }

    .contact-blockquote {
      border-left: 3px solid var(--accent);
      padding-left: 1.5rem;
      margin-top: 2rem;
    }

    .contact-blockquote p {
      font-family: var(--font-display);
      font-weight: 700;
      font-style: italic;
      font-size: 20px;
      color: var(--ink);
      line-height: 1.4;
    }

    /* Form */
    .field-wrapper {
      position: relative;
      margin-bottom: 2.5rem;
    }

    .field-wrapper label {
      position: absolute;
      top: 12px;
      left: 0;
      font-size: 15px;
      font-weight: 300;
      color: var(--ink-muted);
      pointer-events: none;
      transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease, font-weight 0.2s ease, letter-spacing 0.2s ease;
    }

    .field-wrapper input:focus+label,
    .field-wrapper input:not(:placeholder-shown)+label,
    .field-wrapper textarea:focus+label,
    .field-wrapper textarea:not(:placeholder-shown)+label,
    .field-wrapper select:focus+label,
    .field-wrapper select.has-value+label {
      top: -18px;
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--ink);
    }

    .form-field {
      background: transparent;
      border: none;
      border-bottom: 1.5px solid var(--rule);
      padding: 12px 0;
      font-family: var(--font-body);
      font-size: 15px;
      font-weight: 300;
      color: var(--ink);
      width: 100%;
      transition: border-color 0.2s ease;
      display: block;
    }

    .form-field:focus {
      outline: none;
      border-bottom-color: var(--ink);
    }

    .form-field::placeholder {
      color: transparent;
    }

    select.form-field {
      appearance: none;
      -webkit-appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6860' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 4px center;
      padding-right: 24px;
      cursor: pointer;
    }

    select.form-field option {
      background: var(--white);
      color: var(--ink);
    }

    textarea.form-field {
      resize: vertical;
      min-height: 100px;
    }

    .btn-submit {
      width: 100%;
      background: var(--ink);
      color: var(--bg);
      padding: 16px;
      font-weight: 600;
      font-size: 13px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      border: none;
      cursor: pointer;
      transition: background 0.25s ease;
      margin-top: 0.5rem;
    }

    .btn-submit:hover {
      background: var(--accent);
    }

    /* ── FOOTER ── */
    footer {
      background: var(--ink);
      padding: 5rem 2.5rem 0;
    }

    .footer-main {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 4rem;
      max-width: 1100px;
      margin: 0 auto;
      padding-bottom: 4rem;
    }

    .footer-brand .logo-mark {
      color: var(--bg);
      display: inline-block;
      margin-bottom: 0.5rem;
    }

    .footer-brand .logo-sub {
      display: block;
      color: rgba(248, 247, 244, 0.4);
      margin-bottom: 1.5rem;
    }

    .footer-year {
      font-size: 11px;
      color: rgba(248, 247, 244, 0.3);
      letter-spacing: 0.08em;
    }

    .footer-nav-title {
      font-weight: 500;
      font-size: 11px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: rgba(248, 247, 244, 0.3);
      margin-bottom: 1.5rem;
    }

    .footer-nav-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .footer-nav-list a {
      font-weight: 300;
      font-size: 14px;
      color: rgba(248, 247, 244, 0.5);
      transition: color 0.2s ease;
    }

    .footer-nav-list a:hover {
      color: var(--bg);
    }

    .footer-contact-title {
      font-weight: 500;
      font-size: 11px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: rgba(248, 247, 244, 0.3);
      margin-bottom: 1.5rem;
    }

    .footer-contact-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .footer-contact-list li {
      font-weight: 300;
      font-size: 14px;
      color: rgba(248, 247, 244, 0.5);
    }

    .footer-contact-list a {
      color: rgba(248, 247, 244, 0.5);
      transition: color 0.2s ease;
    }

    .footer-contact-list a:hover {
      color: var(--bg);
    }

    .footer-bottom {
      border-top: 1px solid rgba(248, 247, 244, 0.1);
      padding: 1.5rem 0;
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .footer-legal {
      font-size: 10px;
      color: rgba(248, 247, 244, 0.3);
      letter-spacing: 0.05em;
    }

    .footer-location {
      font-size: 10px;
      color: rgba(248, 247, 244, 0.3);
      letter-spacing: 0.05em;
      text-align: right;
    }

    /* ── WHATSAPP FAB ── */
    .whatsapp-fab {
      position: fixed;
      bottom: 1.75rem;
      right: 1.75rem;
      z-index: 999;
      width: 56px;
      height: 56px;
      background: #25d366;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
      transition: transform 0.2s ease;
    }

    .whatsapp-fab:hover {
      transform: scale(1.1);
    }

    .whatsapp-fab::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 50%;
      background: rgba(37, 211, 102, 0.4);
      animation: waPulse 2.5s ease-out infinite;
    }

    @keyframes waPulse {
      0% {
        transform: scale(1);
        opacity: 0.6;
      }

      70% {
        transform: scale(1.7);
        opacity: 0;
      }

      100% {
        transform: scale(1.7);
        opacity: 0;
      }
    }

    .whatsapp-fab svg {
      position: relative;
      z-index: 1;
    }

    /* ── REVEAL ── */
    .reveal {
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ── RESPONSIVE ── */
    
    /* Tablets en orientación vertical (portrait) */
    @media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
      .hero-name {
        font-size: clamp(4rem, 8vw, 6rem);
      }

      .hero-text-col {
        margin-left: 0 !important;
        max-width: 90%;
      }

      .hero-grid {
        padding: 5rem 3rem 4rem 3rem;
        align-items: center;
        justify-content: center;
      }

      .hero-glass-card {
        padding: 2rem 2.2rem;
        transform: translateY(0);
        max-width: 100%;
        border-radius: 18px;
      }

      .hero-glass-card .hero-name {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        line-height: 1.1;
      }

      .hero-glass-card .hero-tagline {
        font-size: 1.05rem;
        margin-bottom: 1.4rem;
        line-height: 1.5;
      }

      .hero-lawyer-name {
        font-size: 0.85rem;
        margin-bottom: 0.65rem;
      }

      .hero-badge {
        padding: 5px 12px;
        margin-bottom: 1rem;
      }

      .hero-badge i {
        font-size: 12px;
      }

      .hero-badge span {
        font-size: 10px;
      }

      .hero-features {
        gap: 10px;
        margin-bottom: 1.4rem;
        grid-template-columns: 1fr 1fr;
      }

      .hero-feature-icon {
        width: 32px;
        height: 32px;
      }

      .hero-feature-icon i {
        font-size: 12px;
      }

      .hero-feature-label {
        font-size: 11px;
      }

      .hero-glass-btns {
        gap: 10px;
        flex-direction: row;
      }

      .btn-glass-primary,
      .btn-glass-secondary {
        padding: 11px 20px;
        font-size: 12px;
        flex: 1;
      }

      .hero-motto {
        display: none;
      }

      .hero-motto-mobile {
        display: block;
        font-family: 'Dancing Script', cursive;
        font-size: 1.4rem;
        color: var(--accent);
        text-align: center;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
        opacity: 1;
        position: absolute;
        bottom: 2rem;
        left: 0;
        right: 0;
        z-index: 3;
      }

      .hero-motto-mobile .motto-letter {
        display: inline-block;
        opacity: 0;
        animation: letterReveal 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
      }

      .scroll-indicator {
        display: none;
      }

      .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
      }

      #servicios {
        padding: 5rem 3rem;
      }

      .section-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }

      .services-grid {
        grid-template-columns: 1fr;
      }

      .service-card {
        border-right: none;
        padding: 2rem 0;
      }

      .service-card.last-row {
        max-width: 100%;
        grid-column: auto;
      }

      #sobre-mi {
        padding: 5rem 3rem;
      }

      #principios {
        padding: 4rem 3rem;
      }

      #contacto {
        padding: 5rem 3rem;
      }

      .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
      }

      footer {
        padding: 5rem 3rem 0;
      }

      .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
      }
    }

    /* Tablets en orientación horizontal (landscape) - Laptops pequeños */
    @media (min-width: 768px) and (max-width: 1023px) and (orientation: landscape) {
      .hero-name {
        font-size: clamp(4rem, 8vw, 6rem);
      }

      .hero-text-col {
        margin-left: 0 !important;
        max-width: 420px;
      }

      .hero-grid {
        padding: 4rem 2rem 3rem 2rem;
        align-items: center;
      }

      .hero-glass-card {
        padding: 1.2rem 1.4rem;
        transform: translateY(0);
        max-width: 420px;
        border-radius: 16px;
      }

      .hero-glass-card .hero-name {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
        line-height: 1.05;
      }

      .hero-glass-card .hero-tagline {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        line-height: 1.4;
      }

      .hero-lawyer-name {
        font-size: 0.65rem;
        margin-bottom: 0.4rem;
      }

      .hero-badge {
        padding: 3px 8px;
        margin-bottom: 0.7rem;
      }

      .hero-badge i {
        font-size: 10px;
      }

      .hero-badge span {
        font-size: 8px;
      }

      .hero-features {
        gap: 6px;
        margin-bottom: 1rem;
        grid-template-columns: 1fr 1fr;
      }

      .hero-feature-icon {
        width: 26px;
        height: 26px;
      }

      .hero-feature-icon i {
        font-size: 10px;
      }

      .hero-feature-label {
        font-size: 9px;
      }

      .hero-glass-btns {
        gap: 6px;
        flex-direction: row;
      }

      .btn-glass-primary,
      .btn-glass-secondary {
        padding: 8px 14px;
        font-size: 10px;
        flex: 1;
      }

      .hero-motto {
        bottom: 2.5rem;
        right: 4rem;
        font-size: 1rem;
      }

      .scroll-indicator {
        display: none;
      }

      .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
      }

      #servicios {
        padding: 4rem 2rem;
      }

      .section-header {
        grid-template-columns: auto 1fr;
        gap: 2rem;
      }

      .services-grid {
        grid-template-columns: 1fr 1fr;
      }

      .service-card {
        padding: 2rem 1.5rem;
      }

      #sobre-mi {
        padding: 4rem 2rem;
      }

      #principios {
        padding: 3.5rem 2rem;
      }

      #contacto {
        padding: 4rem 2rem;
      }

      .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
      }

      footer {
        padding: 4rem 2rem 0;
      }

      .footer-main {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2.5rem;
      }
    }

    /* Laptops medianos */
    @media (min-width: 1024px) and (max-width: 1366px) {
      .hero-text-col {
        margin-left: 30px !important;
        max-width: 460px;
      }

      .hero-grid {
        padding: 5rem 2.5rem 4rem 2.5rem;
        align-items: center;
      }

      .hero-glass-card {
        padding: 1.4rem 1.6rem;
        transform: translateY(0);
        max-width: 460px;
        border-radius: 18px;
      }

      .hero-glass-card .hero-name {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
        line-height: 1.08;
      }

      .hero-glass-card .hero-tagline {
        font-size: 0.9rem;
        margin-bottom: 1.15rem;
        line-height: 1.42;
      }

      .hero-lawyer-name {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
      }

      .hero-badge {
        padding: 4px 10px;
        margin-bottom: 0.8rem;
      }

      .hero-badge i {
        font-size: 11px;
      }

      .hero-badge span {
        font-size: 9px;
      }

      .hero-features {
        gap: 8px;
        margin-bottom: 1.2rem;
      }

      .hero-feature-icon {
        width: 28px;
        height: 28px;
      }

      .hero-feature-icon i {
        font-size: 11px;
      }

      .hero-feature-label {
        font-size: 10px;
      }

      .hero-glass-btns {
        gap: 8px;
      }

      .btn-glass-primary,
      .btn-glass-secondary {
        padding: 9px 16px;
        font-size: 11px;
      }

      .hero-motto {
        bottom: 3rem;
        right: 6rem;
        font-size: 1.2rem;
      }
    }

    /* Laptops grandes */
    @media (min-width: 1367px) and (max-width: 1599px) {
      .hero-text-col {
        margin-left: 60px !important;
        max-width: 520px;
      }

      .hero-grid {
        padding: 6rem 2.5rem 4.5rem 2.5rem;
      }

      .hero-glass-card {
        padding: 1.8rem 2rem;
        transform: translateY(-30px);
        max-width: 520px;
      }

      .hero-glass-card .hero-name {
        font-size: 2.2rem;
        margin-bottom: 0.9rem;
      }

      .hero-glass-card .hero-tagline {
        font-size: 1.05rem;
        margin-bottom: 1.35rem;
      }

      .hero-motto {
        bottom: 4rem;
        right: 9rem;
        font-size: 1.5rem;
      }
    }

    /* Móviles */
    @media (max-width: 767px) {
      #navbar {
        padding: 0 1.5rem;
        height: 60px;
      }

      #navbar.scrolled {
        padding: 0 1.5rem;
      }

      .logo-mark {
        font-size: 16px;
      }

      .nav-links-desktop,
      .btn-nav {
        display: none;
      }

      .hamburger {
        display: flex;
      }

      .hero-grid {
        min-height: 100dvh;
        padding: 1.5rem 1.25rem 4.5rem;
        align-items: flex-end;
        justify-content: center;
      }

      .hero-text-col {
        max-width: 100%;
        margin-left: 0 !important;
      }

      .hero-motto {
        display: none;
      }

      .hero-motto-mobile {
        display: block;
        font-family: 'Dancing Script', cursive;
        font-size: clamp(1.2rem, 5vw, 1.6rem);
        color: var(--accent);
        text-align: center;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
        opacity: 1;
        position: absolute;
        bottom: 1.5rem;
        left: 0;
        right: 0;
        z-index: 3;
      }

      .hero-motto-mobile .motto-letter {
        display: inline-block;
        opacity: 0;
        animation: letterReveal 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
      }

      .hero-glass-card {
        padding: 1.5rem;
        background: rgba(10, 18, 40, 0.15);
        backdrop-filter: blur(8px) saturate(1.2);
        -webkit-backdrop-filter: blur(8px) saturate(1.2);
        margin-top: 0;
        transform: none;
      }

      .hero-glass-card .hero-name {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
        margin-bottom: 1rem;
      }

      .hero-badge {
        padding: 5px 12px;
        margin-bottom: 0.75rem;
      }

      .hero-badge i {
        font-size: 11px;
      }

      .hero-badge span {
        font-size: 10px;
      }

      .hero-glass-card .hero-tagline {
        font-size: 14px;
        margin-bottom: 1.25rem;
      }

      .hero-features {
        gap: 10px;
        margin-bottom: 1.5rem;
      }

      .hero-feature-icon {
        width: 28px;
        height: 28px;
      }

      .hero-feature-icon i {
        font-size: 11px;
      }

      .hero-feature-label {
        font-size: 11px;
      }

      .hero-glass-btns {
        flex-direction: column;
        gap: 10px;
      }

      .btn-glass-primary,
      .btn-glass-secondary {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
        font-size: 12px;
      }

      .hero-legend {
        margin-top: 1.5rem;
        padding-top: 1rem;
      }

      .hero-legend-text {
        font-size: 13px;
      }

      .btn-primary {
        text-align: center;
        display: block;
        width: 100%;
      }

      .scroll-indicator {
        display: none;
      }

      .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
      }

      #servicios {
        padding: 4rem 1.5rem;
      }

      .section-header {
        grid-template-columns: 1fr;
        gap: 1rem;
      }

      .services-grid {
        grid-template-columns: 1fr;
      }

      .service-card {
        border-right: none;
        padding: 1.75rem 0;
      }

      .service-card.last-row {
        max-width: 100%;
        grid-column: auto;
      }

      #sobre-mi {
        padding: 4rem 1.5rem;
      }

      .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
      }

      .about-title {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
      }

      #principios {
        padding: 3rem 1.25rem;
      }

      .manifesto-container {
        padding: 0;
      }

      .manifesto-label {
        font-size: 10px;
        margin-bottom: 2rem;
      }

      .manifesto-block {
        padding: 2rem 0;
      }

      .manifesto-block:hover {
        padding-left: 0;
      }

      .manifesto-block::before {
        display: none;
      }

      .manifesto-inner {
        flex-direction: column;
        gap: 1rem;
      }

      .manifesto-num {
        font-size: 11px;
      }

      .manifesto-line-sep {
        display: none;
      }

      .manifesto-quote {
        font-size: 1.15rem;
        line-height: 1.4;
      }

      .manifesto-cta-block {
        padding-top: 2.5rem;
      }

      .manifesto-cta-question {
        font-size: 14px;
        margin-bottom: 1.25rem;
      }

      .btn-manifesto {
        font-size: 16px;
        padding: 14px 32px;
        width: 100%;
        max-width: 300px;
      }

      #contacto {
        padding: 4rem 1.5rem;
      }

      .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
      }

      footer {
        padding: 4rem 1.5rem 0;
      }

      .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
      }

      .footer-nav-list,
      .footer-contact-list {
        align-items: center;
      }

      .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      .footer-location {
        text-align: center;
      }
    }

    @media (min-width: 768px) {
      .hamburger {
        display: none;
      }

      .nav-links-desktop {
        display: flex;
        align-items: center;
        gap: 2.5rem;
      }
    }

    @media (hover: none) {
      .service-card:focus-within {
        background: var(--ink);
      }

      .service-card:focus-within .service-title {
        color: var(--bg);
      }

      .service-card:focus-within .service-desc {
        color: rgba(248, 247, 244, 0.55);
      }

      .service-card:focus-within .service-rule {
        border-color: rgba(248, 247, 244, 0.15);
      }
    }

    button,
    a,
    input,
    select,
    textarea {
      min-height: 44px;
    }

    input.form-field,
    select.form-field {
      min-height: 44px;
    }
