:root {
      --bg-dark: #0A0A0B;
      --bg-card: rgba(255, 255, 255, 0.03);
      --bg-card-hover: rgba(255, 255, 255, 0.06);
      --accent-orange: #FF8A3D;
      /* More vibrant orange */
      --accent-coffee: #D4A373;
      --accent-coffee-dark: #8B5E3C;
      --accent-tech: #60A5FA;
      --text-primary: #F8FAFC;
      --text-secondary: #94A3B8;
      --glass-border: rgba(255, 255, 255, 0.1);
      --nav-bg: rgba(10, 10, 11, 0.95);
      --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }


    body.light-mode {
      --bg-dark: #F3F6FB;
      --bg-card: rgba(15, 23, 42, 0.04);
      --bg-card-hover: rgba(15, 23, 42, 0.08);
      --text-primary: #0F172A;
      --text-secondary: #475569;
      --glass-border: rgba(15, 23, 42, 0.14);
      --nav-bg: rgba(243, 246, 251, 0.92);
    }

    body.light-mode footer {
      --text-secondary: #CBD5E1;
      --text-primary: #F8FAFC;
      --glass-border: rgba(255, 255, 255, 0.24);
    }

    /* --- PRELOADER --- */
    #preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--bg-dark);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      transition: opacity 0.35s ease, visibility 0.35s;
    }

    #preloader.loaded {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

.loader-coffee {
      position: relative;
      width: 132px;
      height: 132px;
      margin-bottom: 2rem;
      display: grid;
      place-items: center;
      border-radius: 999px;
      border: 1px solid rgba(255, 138, 61, 0.22);
      background: radial-gradient(circle at 50% 30%, rgba(255, 138, 61, 0.14), rgba(255, 138, 61, 0.04) 55%, transparent 75%);
      box-shadow: 0 0 0 14px rgba(255, 138, 61, 0.05), 0 30px 80px -30px rgba(255, 138, 61, 0.45);
    }

.loader-coffee i {
      width: 64%;
      height: 64%;
      color: var(--accent-orange);
      animation: steam 2.1s ease-in-out infinite;
      filter: drop-shadow(0 8px 22px rgba(255, 138, 61, 0.45));
    }

    @keyframes steam {

      0%,
      100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
      }

      50% {
        transform: translateY(-10px) scale(1.1);
        opacity: 1;
      }
    }

    .loader-bar {
      width: 320px;
      height: 5px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 999px;
      overflow: hidden;
      box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.45);
    }

    .loader-progress {
      width: 0%;
      height: 100%;
      background: linear-gradient(90deg, #fb923c, #f97316, #60a5fa);
      animation: progress 2.5s ease-in-out forwards;
      border-radius: 999px;
      box-shadow: 0 0 20px rgba(249, 115, 22, 0.6);
    }

    @keyframes progress {
      0% {
        width: 0%;
      }

      100% {
        width: 100%;
      }
    }

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

    html,
    body {
      overflow-x: hidden;
      max-width: 100vw;
    }

    body {
      font-family: 'Inter', sans-serif;
      background-color: var(--bg-dark);
      color: var(--text-primary);
      line-height: 1.6;
    }

    h1,
    h2,
    h3,
    h4 {
      font-family: 'Outfit', sans-serif;
      font-weight: 700;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    /* --- GRADIENTS --- */
    .text-gradient {
      background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-coffee) 50%, var(--accent-tech) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-weight: 800;
    }

    .bg-gradient {
      background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-coffee) 100%);
    }

    /* --- NAVBAR --- */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: var(--nav-bg);
      backdrop-filter: blur(15px);
      border-bottom: 1px solid var(--glass-border);
      padding: 1.2rem 0;
    }

    nav .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 0.8rem;
      min-width: 0;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      min-width: 0;
      flex-shrink: 0;
    }

    .logo {
      font-size: 1.6rem;
      font-weight: 800;
      font-family: 'Outfit', sans-serif;
      text-decoration: none;
      color: var(--text-primary);
      display: flex;
      align-items: center;
      gap: 0.8rem;
    }

    .logo .brand-logo {
      height: 38px;
      filter: drop-shadow(0 0 8px rgba(255, 138, 61, 0.3));
    }

    .logo .brand-logo-on-light {
      display: none;
    }

    body.light-mode .logo .brand-logo-on-dark {
      display: none;
    }

    body.light-mode .logo .brand-logo-on-light {
      display: block;
    }

    .nav-links {
      display: flex;
      gap: 2.5rem;
      list-style: none;
    }

    .nav-links a {
      text-decoration: none;
      color: var(--text-secondary);
      font-weight: 600;
      transition: var(--transition);
      font-size: 0.95rem;
      letter-spacing: 0.02em;
    }

    .nav-links a:hover {
      color: var(--accent-orange);
    }

    .btn-app {
      background: linear-gradient(135deg, var(--accent-orange), var(--accent-coffee));
      border: none;
      color: var(--bg-dark);
      padding: 0.7rem 1.5rem;
      border-radius: 10px;
      text-decoration: none;
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      flex-shrink: 0;
      transition: var(--transition);
      box-shadow: 0 4px 15px rgba(255, 138, 61, 0.2);
    }

    .btn-app:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(255, 138, 61, 0.4);
      filter: brightness(1.1);
    }


    .top-controls {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      margin-right: 0.4rem;
    }

    .control-btn,
    .lang-select {
      border: 1px solid var(--glass-border);
      background: var(--bg-card);
      color: var(--text-primary);
      border-radius: 10px;
      height: 38px;
      padding: 0 0.75rem;
      font-weight: 600;
      font-size: 0.85rem;
      backdrop-filter: blur(8px);
    }

    .control-btn {
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
    }

    .control-btn:hover,
    .lang-select:hover {
      border-color: rgba(255, 138, 61, 0.55);
      background: var(--bg-card-hover);
    }

    .lang-select {
      min-width: 96px;
    }

    /* --- MOBILE MENU TOGGLE --- */
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      color: var(--text-primary);
      cursor: pointer;
      z-index: 1001;
    }

    /* --- HERO --- */
    #hero {
      padding: 220px 0 120px;
      position: relative;
      overflow: hidden;
      text-align: center;
    }

    #hero::before {
      content: '';
      position: absolute;
      top: -15%;
      right: -10%;
      width: 50%;
      height: 50%;
      background: radial-gradient(circle, rgba(255, 138, 61, 0.15) 0%, transparent 70%);
      z-index: -1;
    }

    #hero::after {
      content: '';
      position: absolute;
      bottom: -15%;
      left: -10%;
      width: 50%;
      height: 50%;
      background: radial-gradient(circle, rgba(96, 165, 250, 0.1) 0%, transparent 70%);
      z-index: -1;
    }

    .hero-content {
      max-width: 900px;
      margin: 0 auto;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.6rem 1.2rem;
      background: rgba(255, 138, 61, 0.1);
      border: 1px solid rgba(255, 138, 61, 0.2);
      border-radius: 99px;
      font-size: 0.85rem;
      font-weight: 700;
      margin-bottom: 2rem;
      color: var(--accent-orange);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .hero-title {
      font-size: clamp(2.8rem, 9vw, 5rem);
      line-height: 1.05;
      margin-bottom: 1.8rem;
      letter-spacing: -0.03em;
    }

    .hero-subtitle {
      font-size: 1.25rem;
      color: var(--text-secondary);
      margin-bottom: 3rem;
      max-width: 650px;
      margin-inline: auto;
      font-weight: 400;
    }

    .hero-btns {
      display: flex;
      gap: 1.2rem;
      justify-content: center;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--accent-orange), var(--accent-coffee));
      color: var(--bg-dark);
      padding: 1.1rem 2.5rem;
      border-radius: 14px;
      text-decoration: none;
      font-weight: 800;
      transition: var(--transition);
      box-shadow: 0 10px 30px -10px rgba(255, 138, 61, 0.4);
      font-size: 1.05rem;
    }

    .btn-primary:hover {
      transform: scale(1.05);
      box-shadow: 0 15px 40px -10px rgba(255, 138, 61, 0.5);
    }

    .btn-secondary {
      background: var(--bg-card);
      border: 1px solid var(--glass-border);
      color: var(--text-primary);
      padding: 1.1rem 2.5rem;
      border-radius: 14px;
      text-decoration: none;
      font-weight: 700;
      transition: var(--transition);
      font-size: 1.05rem;
    }

    .btn-secondary:hover {
      background: var(--bg-card-hover);
      border-color: var(--accent-orange);
      transform: translateY(-2px);
    }

    /* --- SECTIONS --- */
    section {
      padding: 120px 0;
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    main section {
      content-visibility: auto;
      contain-intrinsic-size: 1px 900px;
    }

    section.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .section-header {
      text-align: center;
      margin-bottom: 5rem;
    }

    .section-tag {
      text-transform: uppercase;
      font-size: 0.85rem;
      font-weight: 800;
      letter-spacing: 0.15em;
      color: var(--accent-orange);
      margin-bottom: 0.8rem;
      display: block;
    }

    .section-title {
      font-size: clamp(2rem, 5vw, 3rem);
      margin-bottom: 1.2rem;
      letter-spacing: -0.02em;
    }

    /* --- ABOUT --- */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 5rem;
      align-items: center;
    }

    .about-image {
      position: relative;
      background: linear-gradient(135deg, rgba(255, 138, 61, 0.05), rgba(96, 165, 250, 0.05));
      border-radius: 30px;
      padding: 1.5rem;
      border: 1px solid var(--glass-border);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
      overflow: hidden;
    }

    .about-image::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
      background-size: 28px 28px;
      mask-image: radial-gradient(circle at center, black 24%, transparent 86%);
      pointer-events: none;
    }

    .about-image::after {
      content: "";
      position: absolute;
      right: -90px;
      top: -90px;
      width: 220px;
      height: 220px;
      border-radius: 999px;
      background: radial-gradient(circle, rgba(255, 138, 61, 0.24) 0%, rgba(255, 138, 61, 0) 70%);
      pointer-events: none;
    }

    .about-image img {
      width: 100%;
      height: auto;
      border-radius: 20px;
      display: block;
      border: 1px solid rgba(148, 163, 184, 0.2);
      box-shadow: 0 16px 36px rgba(2, 6, 23, 0.36);
      position: relative;
      z-index: 1;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      margin-top: 3rem;
    }

    .stat-card {
      background: var(--bg-card);
      border: 1px solid var(--glass-border);
      padding: 2rem;
      border-radius: 20px;
      transition: var(--transition);
    }

    .stat-card:hover {
      border-color: var(--accent-orange);
      background: rgba(255, 138, 61, 0.05);
    }

    .stat-num {
      font-size: 2rem;
      font-weight: 800;
      color: var(--accent-orange);
      margin-bottom: 0.5rem;
    }

    .stat-label {
      font-size: 0.95rem;
      color: var(--text-secondary);
      font-weight: 500;
    }

    /* --- SERVICES --- */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2rem;
    }

    .service-card {
      background: var(--bg-card);
      border: 1px solid var(--glass-border);
      padding: 3rem;
      border-radius: 28px;
      transition: var(--transition);
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .service-card:hover {
      background: var(--bg-card-hover);
      transform: translateY(-12px);
      border-color: var(--accent-orange);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }

    .service-icon {
      width: 64px;
      height: 64px;
      background: rgba(255, 138, 61, 0.1);
      border-radius: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent-orange);
      margin-bottom: 2rem;
      transition: var(--transition);
    }

    .service-card:hover .service-icon {
      background: var(--accent-orange);
      color: var(--bg-dark);
      transform: rotate(-5deg) scale(1.1);
    }

    .service-card h3 {
      font-size: 1.4rem;
      margin-bottom: 1.2rem;
    }

    .service-card p {
      font-size: 1rem;
      color: var(--text-secondary);
    }

    /* --- PRICING --- */
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 2.5rem;
    }

    .price-card {
      background: var(--bg-card);
      border: 1px solid var(--glass-border);
      padding: 4rem 3rem;
      border-radius: 32px;
      position: relative;
      display: flex;
      flex-direction: column;
      transition: var(--transition);
    }

    .price-card.featured {
      border-color: var(--accent-orange);
      transform: scale(1.05);
      background: linear-gradient(135deg, rgba(255, 138, 61, 0.08), rgba(139, 94, 60, 0.05));
      box-shadow: 0 25px 60px -20px rgba(255, 138, 61, 0.2);
    }

    .price-card.featured::before {
      content: 'Más Popular';
      position: absolute;
      top: 2rem;
      right: 2rem;
      background: var(--accent-orange);
      color: var(--bg-dark);
      padding: 0.4rem 1rem;
      border-radius: 99px;
      font-size: 0.75rem;
      font-weight: 800;
      text-transform: uppercase;
    }

    .price-header h3 {
      font-size: 1.7rem;
      margin-bottom: 1.2rem;
    }

    .price-amount {
      font-size: 3rem;
      font-weight: 800;
      margin-bottom: 2rem;
      display: flex;
      align-items: baseline;
      gap: 0.5rem;
    }

    .price-amount span {
      font-size: 1.1rem;
      color: var(--text-secondary);
      font-weight: 400;
    }

    .price-features {
      list-style: none;
      margin-bottom: 3rem;
      flex-grow: 1;
    }

    .price-features li {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1.2rem;
      font-size: 1.05rem;
      color: var(--text-secondary);
    }

    .price-features i {
      color: var(--accent-orange);
      flex-shrink: 0;
    }

    /* --- CONTACT --- */
    .contact-content {
      display: grid;
      grid-template-columns: 1fr 1.5fr;
      gap: 5rem;
    }

    .info-card {
      background: var(--bg-card);
      border: 1px solid var(--glass-border);
      padding: 3rem;
      border-radius: 30px;
    }

    .info-item {
      display: flex;
      gap: 1.8rem;
      margin-bottom: 2.5rem;
    }

    .info-icon {
      color: var(--accent-orange);
      background: rgba(255, 138, 61, 0.1);
      width: 48px;
      height: 48px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .info-text h4 {
      margin-bottom: 0.4rem;
      font-size: 1.1rem;
    }

    .info-text p {
      color: var(--text-secondary);
    }

    .info-text p a {
      color: inherit;
      text-decoration: none;
      font-weight: 600;
    }

    .info-text p a:hover {
      color: var(--accent-orange);
    }

    .contact-form {
      background: var(--bg-card);
      border: 1px solid var(--glass-border);
      padding: 4rem;
      border-radius: 30px;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    }

    .form-group {
      margin-bottom: 2rem;
    }

    .form-group label {
      display: block;
      margin-bottom: 0.8rem;
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--text-secondary);
    }

    .form-control {
      width: 100%;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--glass-border);
      padding: 1.1rem 1.4rem;
      border-radius: 15px;
      color: var(--text-primary);
      transition: var(--transition);
      font-size: 1rem;
    }

    .form-control:focus {
      outline: none;
      border-color: var(--accent-orange);
      background: rgba(255, 255, 255, 0.07);
      box-shadow: 0 0 20px rgba(255, 138, 61, 0.1);
    }

    /* --- FOOTER --- */
    footer {
      padding: 80px 0 40px;
      border-top: 1px solid var(--glass-border);
      background: #050505;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 6rem;
      margin-bottom: 5rem;
    }

    .footer-brand p {
      color: var(--text-secondary);
      margin-top: 1.5rem;
      max-width: 350px;
      font-size: 1.05rem;
    }

    .footer-links h4 {
      margin-bottom: 2rem;
      font-size: 1.2rem;
    }

    .footer-links ul {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 1rem;
    }

    .footer-links a {
      text-decoration: none;
      color: var(--text-secondary);
      transition: var(--transition);
      font-size: 1rem;
    }

    .footer-links a:hover {
      color: var(--accent-orange);
      padding-left: 5px;
    }

    .social-links {
      display: flex;
      gap: 1.2rem;
      margin-top: 2rem;
    }

    .social-link {
      width: 46px;
      height: 46px;
      background: var(--bg-card);
      border: 1px solid var(--glass-border);
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-primary);
      text-decoration: none;
      transition: var(--transition);
    }

    .social-link:hover {
      background: var(--accent-orange);
      color: var(--bg-dark);
      transform: translateY(-5px);
      border-color: var(--accent-orange);
    }

    .copyright {
      text-align: center;
      color: var(--text-secondary);
      font-size: 0.9rem;
      padding-top: 40px;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* --- FLOATING WHATSAPP --- */
    .whatsapp-float {
      position: fixed;
      bottom: 40px;
      right: 40px;
      background: #25D366;
      width: 65px;
      height: 65px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
      z-index: 999;
      transition: var(--transition);
    }

    .whatsapp-float svg {
      width: 34px;
      height: 34px;
      display: block;
    }

    .whatsapp-float:hover {
      transform: scale(1.15) rotate(10deg);
      box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
    }

    /* --- RESPONSIVE --- */
    @media (max-width: 1024px) {
      .container {
        padding: 0 1.2rem;
      }

      .about-grid,
      .contact-content,
      .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem;
      }

      .menu-toggle {
        display: block;
      }

      .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #0A0A0B;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: var(--transition);
        z-index: 2000;
      }

      .nav-links.active {
        right: 0;
      }

      .nav-links a {
        font-size: 1.4rem;
      }

      .hero-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
      }

      .contact-form {
        padding: 2rem;
      }

      .hero-badge {
        font-size: 0.7rem;
        padding: 0.5rem 0.8rem;
      }

      .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin-inline: auto;
      }

      .service-card,
      .price-card,
      .info-card {
        padding: 2rem 1.5rem !important;
        border-radius: 20px;
      }

      .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1.5rem;
      }

      .about-image {
        min-height: auto !important;
        padding: 2rem 1rem;
      }

      .about-image i[data-lucide="coffee"] {
        width: 100px !important;
        height: 100px !important;
      }

      .about-image i[data-lucide="code"] {
        width: 50px !important;
        height: 50px !important;
        bottom: -10px !important;
        right: -10px !important;
      }
    }

    @media (max-width: 768px) {
      nav .container {
        gap: 0.55rem;
      }

      .nav-actions {
        gap: 0.5rem;
      }

      .hero-title {
        font-size: 2.5rem;
      }

      .hero-subtitle {
        font-size: 1.1rem;
      }

      .hero-btns {
        flex-direction: column;
        padding: 0 1rem;
        width: 100%;
      }

      .btn-primary,
      .btn-secondary {
        width: 100%;
        text-align: center;
      }

      .section-header {
        margin-bottom: 3rem;
      }

      .services-grid {
        grid-template-columns: 1fr;
      }

      .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
      }

      .footer-grid {
        text-align: center;
      }

      .footer-brand p {
        margin-inline: auto;
      }

      .social-links {
        justify-content: center;
      }

      .btn-app {
        min-height: 34px;
        padding: 0.58rem 0.9rem;
        font-size: 0.82rem;
      }
    }

    @media (max-width: 480px) {
      .logo span {
        font-size: 1.1rem;
      }

      .logo .brand-logo {
        height: 28px;
      }

      .hero-title {
        font-size: 2rem;
      }

      .section-title {
        font-size: 1.8rem;
      }

      .btn-app {
        min-height: 32px;
        padding: 0.5rem 0.75rem;
        font-size: 0.78rem;
        max-width: 42vw;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .hero-btns {
        padding: 0;
      }

      .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
      }

      .service-card {
        padding: 1.5rem !important;
      }
    }
  
    @media (max-width: 768px) {
      .top-controls {
        margin-right: 0;
        gap: 0.4rem;
      }

      .lang-select,
      .control-btn {
        height: 34px;
        font-size: 0.75rem;
        padding: 0 0.5rem;
      }

      .lang-select {
        min-width: 78px;
      }
    }

    @media (max-width: 560px) {
      .nav-actions {
        gap: 0.35rem;
      }

      .top-controls {
        display: flex;
        margin-right: 0;
        gap: 0.35rem;
      }

      .lang-select,
      .control-btn {
        height: 32px;
        font-size: 0.7rem;
      }

      .lang-select {
        min-width: 64px;
        padding: 0 0.4rem;
      }

      .control-btn {
        width: 32px;
        min-width: 32px;
        padding: 0;
        gap: 0;
        justify-content: center;
      }

      .control-btn span {
        display: none;
      }
    }

    /* --- UX PASS: micro-polish without changing brand palette --- */

    a:focus-visible,
    button:focus-visible,
    .btn-app:focus-visible,
    .btn-primary:focus-visible,
    .btn-secondary:focus-visible,
    .control-btn:focus-visible,
    .lang-select:focus-visible,
    .form-control:focus-visible {
      outline: 2px solid var(--accent-orange);
      outline-offset: 2px;
    }

    .form-control::placeholder {
      color: var(--text-secondary);
      opacity: 0.95;
    }

    body.light-mode .contact-form {
      background: rgba(255, 255, 255, 0.86);
      border-color: rgba(15, 23, 42, 0.16);
      box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    }

    body.light-mode .form-control {
      background: #ffffff;
      border-color: rgba(15, 23, 42, 0.16);
      color: #0f172a;
    }

    body.light-mode .form-control::placeholder {
      color: #64748b;
      opacity: 1;
    }

    body.light-mode .form-control:focus {
      background: #ffffff;
      border-color: var(--accent-orange);
      box-shadow: 0 0 0 3px rgba(255, 138, 61, 0.16);
    }

    body.light-mode .lang-select,
    body.light-mode .control-btn {
      background: rgba(255, 255, 255, 0.9);
      border-color: rgba(15, 23, 42, 0.18);
      color: #0f172a;
    }

    body:not(.light-mode) .form-control {
      color: #f8fafc;
    }

    body:not(.light-mode) .form-control::placeholder {
      color: #94a3b8;
      opacity: 1;
    }

    @media (max-width: 768px) {
      .nav-actions {
        min-width: 0;
        flex-shrink: 0;
      }

      .btn-app {
        min-height: 38px;
        padding: 0.58rem 0.95rem;
        font-size: 0.82rem;
        max-width: none;
        overflow: visible;
        text-overflow: initial;
      }

      .lang-select,
      .control-btn {
        min-height: 36px;
      }
    }

    @media (max-width: 480px) {
      .btn-app {
        min-height: 36px;
        padding: 0.5rem 0.7rem;
        font-size: 0.76rem;
        max-width: none;
      }

      .lang-select,
      .control-btn {
        height: 34px;
      }
    }
