/*
	Theme Name: FW16 Spain
	Theme URI: https://www.fw16.es
	Description: 
	Author: FW16
	Author URI: https://www.fw16.es
	Version: 3.4.6
	Stable tag: 3.4.6
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/
 *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --red: #D90700;
      --red-dark: #a80500;
      --red-glow: rgba(217,7,0,0.18);
      --black: #0a0a0a;
      --off-black: #111111;
      --dark: #161616;
      --dark-2: #1e1e1e;
      --border: rgba(255,255,255,0.07);
      --text: #e8e8e8;
      --text-muted: #888;
      --text-dim: #555;
      --white: #ffffff;
      --font: 'Exo', sans-serif;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font);
      background: var(--black);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* ─── SCROLLBAR ─── */
    ::-webkit-scrollbar { width: 4px; }
    ::-webkit-scrollbar-track { background: var(--black); }
    ::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }

    /* ─── NOISE OVERLAY ─── */
    body::before {
      content: '';
      position: fixed; inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
      opacity: 0.025;
      pointer-events: none;
      z-index: 9999;
    }

    /* ─── HEADER / NAV ─── */
    header {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 48px;
      height: 72px;
      background: rgba(10,10,10,0.85);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
    }

    .logo {
      display: flex; align-items: center; gap: 10px;
      text-decoration: none;
    }
    .logo-mark {
      width: 36px; height: 36px;
      background: var(--red);
      clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
      display: flex; align-items: center; justify-content: center;
      font-size: 13px; font-weight: 900; color: white; letter-spacing: -0.5px;
    }
    .logo-text {
      font-size: 20px; font-weight: 800; color: var(--white);
      letter-spacing: 1px;
    }
    .logo-text span { color: var(--red); }

    nav { display: flex; align-items: center; gap: 32px; }
    nav a {
      font-size: 13px; font-weight: 500; color: var(--text-muted);
      text-decoration: none; letter-spacing: 0.5px; text-transform: uppercase;
      transition: color 0.2s;
    }
    nav a:hover { color: var(--white); }

    .nav-cta {
      padding: 10px 22px;
      background: var(--red);
      color: white !important;
      font-size: 12px !important; font-weight: 700 !important;
      text-transform: uppercase; letter-spacing: 1px;
      border: none; cursor: pointer; text-decoration: none;
      clip-path: polygon(0 0, 100% 0, 100% 70%, 92% 100%, 0 100%);
      transition: background 0.2s, transform 0.15s !important;
    }
    .nav-cta:hover { background: var(--red-dark) !important; transform: translateY(-1px); }

    /* ─── HERO ─── */
    .hero {
      min-height: 100vh;
      display: flex; flex-direction: column; justify-content: center;
      padding: 120px 48px 80px;
      position: relative; overflow: hidden;
    }

    .hero-bg {
      position: absolute; inset: 0;
      background:
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(217,7,0,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 15% 80%, rgba(217,7,0,0.04) 0%, transparent 50%);
    }

    .hero-grid {
      position: absolute; inset: 0;
      background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
      background-size: 80px 80px;
      mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    }

    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 6px 14px 6px 6px;
      background: rgba(217,7,0,0.08);
      border: 1px solid rgba(217,7,0,0.25);
      border-radius: 2px;
      font-size: 11px; font-weight: 700; color: var(--red);
      text-transform: uppercase; letter-spacing: 1.5px;
      margin-bottom: 36px;
      width: fit-content;
      animation: fadeUp 0.6s ease both;
    }
    .hero-badge-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--red);
      animation: pulse-dot 2s ease infinite;
    }
    @keyframes pulse-dot {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(1.4); }
    }

    .hero-title {
      font-size: clamp(48px, 7vw, 96px);
      font-weight: 900; line-height: 0.95;
      letter-spacing: -2px; color: var(--white);
      max-width: 900px;
      margin-bottom: 28px;
      animation: fadeUp 0.6s 0.1s ease both;
    }
    .hero-title .accent { color: var(--red); }
    .hero-title .outline {
      -webkit-text-stroke: 1px rgba(255,255,255,0.25);
      color: transparent;
    }

    .hero-subtitle {
      font-size: 18px; font-weight: 400; color: var(--text-muted);
      max-width: 560px; line-height: 1.7;
      margin-bottom: 48px;
      animation: fadeUp 0.6s 0.2s ease both;
    }

    .hero-actions {
      display: flex; gap: 16px; flex-wrap: wrap;
      animation: fadeUp 0.6s 0.3s ease both;
    }

    .btn-primary {
      display: inline-flex; align-items: center; gap: 10px;
      padding: 16px 32px;
      background: var(--red);
      color: white; font-family: var(--font);
      font-size: 14px; font-weight: 700; letter-spacing: 0.5px;
      text-decoration: none; border: none; cursor: pointer;
      clip-path: polygon(0 0, 100% 0, 100% 65%, 95% 100%, 0 100%);
      transition: background 0.2s, transform 0.15s;
    }
    .btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }

    .btn-secondary {
      display: inline-flex; align-items: center; gap: 10px;
      padding: 15px 32px;
      background: transparent;
      color: var(--text); font-family: var(--font);
      font-size: 14px; font-weight: 600;
      text-decoration: none; border: 1px solid var(--border);
      transition: border-color 0.2s, color 0.2s, transform 0.15s;
    }
    .btn-secondary:hover { border-color: rgba(255,255,255,0.3); color: var(--white); transform: translateY(-2px); }

    .arrow-icon { font-size: 18px; transition: transform 0.2s; }
    .btn-primary:hover .arrow-icon, .btn-secondary:hover .arrow-icon { transform: translateX(4px); }

    .hero-stats {
      display: flex; gap: 48px; margin-top: 80px; flex-wrap: wrap;
      animation: fadeUp 0.6s 0.4s ease both;
    }
    .hero-stat {}
    .hero-stat-num {
      font-size: 36px; font-weight: 900; color: var(--white);
      line-height: 1;
    }
    .hero-stat-num span { color: var(--red); }
    .hero-stat-label {
      font-size: 12px; font-weight: 500; color: var(--text-muted);
      text-transform: uppercase; letter-spacing: 1px; margin-top: 4px;
    }

    .hero-divider {
      width: 1px; height: 40px; background: var(--border);
      align-self: center;
    }

    /* ─── PARTNER LOGOS ─── */
    .partners {
      padding: 32px 48px;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      background: var(--off-black);
      display: flex; align-items: center; gap: 40px; overflow: hidden;
    }
    .partners-label {
      font-size: 11px; font-weight: 700; color: var(--text-dim);
      text-transform: uppercase; letter-spacing: 2px; white-space: nowrap;
    }
    .partners-logos {
      display: flex; gap: 48px; align-items: center;
      animation: scroll-x 20s linear infinite;
      white-space: nowrap;
    }
    @keyframes scroll-x {
      from { transform: translateX(0); }
      to { transform: translateX(-50%); }
    }
    .partner-logo {
      font-size: 13px; font-weight: 700; color: var(--text-dim);
      letter-spacing: 1px; text-transform: uppercase;
      opacity: 0.5; transition: opacity 0.2s;
    }

    /* ─── SECTIONS ─── */
    section { padding: 120px 48px; }

    .section-tag {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 11px; font-weight: 700; color: var(--red);
      text-transform: uppercase; letter-spacing: 2px;
      margin-bottom: 20px;
    }
    .section-tag::before {
      content: ''; width: 24px; height: 1px; background: var(--red);
    }

    .section-title {
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 900; color: var(--white);
      line-height: 1.1; letter-spacing: -1px;
      margin-bottom: 20px;
    }

    .section-sub {
      font-size: 17px; color: var(--text-muted); line-height: 1.7;
      max-width: 540px; font-weight: 400;
    }

    /* ─── PROBLEM ─── */
    .problem { background: var(--off-black); }

    .problem-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1px;
      margin-top: 64px;
      border: 1px solid var(--border);
    }

    .problem-card {
      background: var(--dark);
      padding: 40px 36px;
      position: relative;
      overflow: hidden;
      transition: background 0.3s;
    }
    .problem-card::after {
      content: '';
      position: absolute; bottom: 0; left: 0; right: 0;
      height: 2px; background: var(--red);
      transform: scaleX(0); transform-origin: left;
      transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    }
    .problem-card:hover { background: var(--dark-2); }
    .problem-card:hover::after { transform: scaleX(1); }

    .problem-icon {
      font-size: 28px; margin-bottom: 20px;
      display: block;
    }
    .problem-card h3 {
      font-size: 18px; font-weight: 800; color: var(--white);
      margin-bottom: 12px; line-height: 1.2;
    }
    .problem-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

    .problem-cta-row {
      margin-top: 48px;
      padding: 32px 36px;
      background: rgba(217,7,0,0.06);
      border: 1px solid rgba(217,7,0,0.2);
      display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
    }
    .problem-cta-row p {
      font-size: 16px; font-weight: 600; color: var(--white);
    }
    .problem-cta-row span { color: var(--red); }

    /* ─── SERVICES ─── */
    .services-header {
      display: flex; justify-content: space-between; align-items: flex-end;
      margin-bottom: 64px; flex-wrap: wrap; gap: 24px;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1px;
      background: var(--border);
    }

    .service-card {
      background: var(--black);
      padding: 44px 40px;
      position: relative; overflow: hidden;
      transition: background 0.3s;
    }
    .service-card:hover { background: var(--dark); }

    .service-num {
      font-size: 11px; font-weight: 700; color: var(--red);
      letter-spacing: 2px; margin-bottom: 24px;
      display: block;
    }
    .service-icon-wrap {
      width: 52px; height: 52px;
      background: rgba(217,7,0,0.08);
      border: 1px solid rgba(217,7,0,0.15);
      display: flex; align-items: center; justify-content: center;
      font-size: 22px; margin-bottom: 24px;
      transition: background 0.3s, border-color 0.3s;
    }
    .service-card:hover .service-icon-wrap {
      background: rgba(217,7,0,0.15);
      border-color: rgba(217,7,0,0.35);
    }
    .service-card h3 {
      font-size: 20px; font-weight: 800; color: var(--white);
      margin-bottom: 14px; line-height: 1.2;
    }
    .service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
    .service-link {
      font-size: 12px; font-weight: 700; color: var(--red);
      text-decoration: none; text-transform: uppercase; letter-spacing: 1px;
      display: inline-flex; align-items: center; gap: 6px;
      transition: gap 0.2s;
    }
    .service-card:hover .service-link { gap: 10px; }

    /* ─── PROCESS ─── */
    .process { background: var(--off-black); }

    .process-steps {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 0;
      margin-top: 64px;
      position: relative;
    }
    .process-steps::before {
      content: '';
      position: absolute;
      top: 40px; left: 80px; right: 80px; height: 1px;
      background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
    }

    .process-step {
      padding: 0 32px 40px;
      text-align: center; position: relative;
    }
    .step-num {
      width: 80px; height: 80px; margin: 0 auto 28px;
      background: var(--dark);
      border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      font-size: 28px; font-weight: 900; color: var(--red);
      position: relative; z-index: 1;
      clip-path: polygon(0 0, 100% 0, 100% 80%, 80% 100%, 0 100%);
    }
    .process-step h3 {
      font-size: 16px; font-weight: 800; color: var(--white);
      margin-bottom: 10px;
    }
    .process-step p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

    /* ─── RESULTS ─── */
    .results-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 24px;
      margin-top: 64px;
    }

    .result-card {
      background: var(--dark);
      border: 1px solid var(--border);
      padding: 40px;
      position: relative; overflow: hidden;
    }
    .result-card::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0; height: 3px;
      background: linear-gradient(90deg, var(--red), transparent);
    }

    .result-meta {
      display: flex; gap: 12px; align-items: center;
      margin-bottom: 24px;
    }
    .result-sector {
      font-size: 22px;
    }
    .result-info {}
    .result-type { font-size: 13px; font-weight: 700; color: var(--white); }
    .result-location { font-size: 11px; color: var(--text-dim); margin-top: 2px; }

    .result-kpi {
      font-size: 42px; font-weight: 900; color: var(--red);
      line-height: 1; margin-bottom: 8px;
    }
    .result-kpi-label {
      font-size: 12px; font-weight: 600; color: var(--text-muted);
      text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
    }
    .result-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

    /* ─── PRICING ─── */
    .pricing { background: var(--off-black); }

    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1px;
      background: var(--border);
      margin-top: 64px;
    }

    .pricing-card {
      background: var(--dark);
      padding: 48px 40px;
      position: relative; overflow: hidden;
      transition: background 0.2s;
    }
    .pricing-card.featured {
      background: var(--dark-2);
    }
    .pricing-card.featured::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0; height: 3px;
      background: var(--red);
    }

    .pricing-popular {
      display: inline-block;
      font-size: 10px; font-weight: 800; color: var(--red);
      text-transform: uppercase; letter-spacing: 2px;
      background: rgba(217,7,0,0.1);
      border: 1px solid rgba(217,7,0,0.25);
      padding: 4px 10px;
      margin-bottom: 20px;
    }

    .pricing-tier { font-size: 11px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
    .pricing-name { font-size: 24px; font-weight: 900; color: var(--white); margin-bottom: 24px; }
    .pricing-price {
      margin-bottom: 8px;
    }
    .pricing-price-num { font-size: 48px; font-weight: 900; color: var(--white); line-height: 1; }
    .pricing-price-curr { font-size: 24px; font-weight: 700; color: var(--red); vertical-align: super; }
    .pricing-price-period { font-size: 14px; color: var(--text-muted); margin-left: 4px; }
    .pricing-alt { font-size: 12px; color: var(--text-dim); margin-bottom: 32px; }
    .pricing-features { list-style: none; margin-bottom: 40px; }
    .pricing-features li {
      font-size: 14px; color: var(--text-muted);
      padding: 10px 0; border-bottom: 1px solid var(--border);
      display: flex; gap: 10px; align-items: flex-start;
    }
    .pricing-features li::before {
      content: '✓'; color: var(--red); font-weight: 900; flex-shrink: 0;
    }

    /* ─── TESTIMONIALS ─── */
    .testi-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 24px;
      margin-top: 64px;
    }

    .testi-card {
      background: var(--dark);
      border: 1px solid var(--border);
      padding: 36px;
      position: relative;
    }
    .testi-quote {
      font-size: 28px; color: var(--red); font-weight: 900;
      line-height: 1; margin-bottom: 16px;
    }
    .stars { color: var(--red); font-size: 14px; margin-bottom: 16px; letter-spacing: 2px; }
    .testi-text { font-size: 15px; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 24px; }
    .testi-author { display: flex; align-items: center; gap: 14px; }
    .testi-avatar {
      width: 42px; height: 42px;
      background: var(--red);
      clip-path: polygon(0 0, 100% 0, 100% 80%, 80% 100%, 0 100%);
      display: flex; align-items: center; justify-content: center;
      font-size: 16px; font-weight: 900; color: white;
      flex-shrink: 0;
    }
    .testi-name { font-size: 14px; font-weight: 700; color: var(--white); }
    .testi-role { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

    /* ─── GLOBAL PRESENCE ─── */
    .global { background: var(--black); }
    .countries-grid {
      display: flex; flex-wrap: wrap; gap: 12px;
      margin-top: 48px;
    }
    .country-tag {
      padding: 10px 20px;
      background: var(--dark);
      border: 1px solid var(--border);
      font-size: 13px; font-weight: 600; color: var(--text-muted);
      display: flex; align-items: center; gap: 8px;
      transition: border-color 0.2s, color 0.2s;
    }
    .country-tag:hover { border-color: rgba(217,7,0,0.4); color: var(--white); }
    .country-tag.active {
      border-color: var(--red);
      background: rgba(217,7,0,0.06);
      color: var(--white);
    }
    .country-tag.active .dot { background: var(--red); }
    .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-dim); }

    /* ─── AWARDS ─── */
    .awards { background: var(--off-black); }
    .awards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 1px;
      background: var(--border);
      margin-top: 64px;
    }
    .award-card {
      background: var(--dark);
      padding: 32px;
    }
    .award-year {
      font-size: 11px; font-weight: 700; color: var(--red);
      letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px;
    }
    .award-title {
      font-size: 14px; font-weight: 700; color: var(--white); line-height: 1.4; margin-bottom: 8px;
    }
    .award-scope { font-size: 12px; color: var(--text-dim); }

    /* ─── CTA ─── */
    .cta-section {
      background: var(--black);
      padding: 120px 48px;
      text-align: center;
      position: relative; overflow: hidden;
    }
    .cta-section::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(217,7,0,0.08) 0%, transparent 70%);
    }

    .cta-title {
      font-size: clamp(36px, 5vw, 64px);
      font-weight: 900; color: var(--white);
      letter-spacing: -1.5px; line-height: 1.05;
      margin-bottom: 24px; position: relative;
    }
    .cta-title .accent { color: var(--red); }
    .cta-sub {
      font-size: 18px; color: var(--text-muted); max-width: 500px;
      margin: 0 auto 48px; line-height: 1.7;
    }
    .cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

    .cta-note {
      margin-top: 24px; font-size: 13px; color: var(--text-dim);
    }

    /* ─── FOOTER ─── */
    footer {
      background: var(--off-black);
      border-top: 1px solid var(--border);
      padding: 64px 48px 40px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 48px; margin-bottom: 48px;
    }
    .footer-brand p {
      font-size: 14px; color: var(--text-muted); line-height: 1.7;
      margin: 16px 0 24px;
    }
    .footer-social { display: flex; gap: 12px; }
    .social-btn {
      width: 36px; height: 36px;
      background: var(--dark);
      border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      color: var(--text-muted); font-size: 14px;
      text-decoration: none; transition: background 0.2s, color 0.2s, border-color 0.2s;
    }
    .social-btn:hover {
      background: rgba(217,7,0,0.1);
      border-color: rgba(217,7,0,0.3);
      color: var(--red);
    }

    .footer-col h4 {
      font-size: 11px; font-weight: 800; color: var(--white);
      text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px;
    }
    .footer-col ul { list-style: none; }
    .footer-col li { margin-bottom: 10px; }
    .footer-col a {
      font-size: 14px; color: var(--text-muted);
      text-decoration: none; transition: color 0.2s;
    }
    .footer-col a:hover { color: var(--red); }

    .footer-bottom {
      padding-top: 32px;
      border-top: 1px solid var(--border);
      display: flex; justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 16px;
    }
    .footer-bottom p { font-size: 12px; color: var(--text-dim); }
    .footer-bottom a { color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
    .footer-bottom a:hover { color: var(--red); }

    /* ─── ANIMATIONS ─── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .reveal {
      opacity: 0; transform: translateY(32px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }

    /* ─── MOBILE ─── */
    @media (max-width: 768px) {
      header { padding: 0 20px; }
      nav { display: none; }
      .hero { padding: 100px 20px 60px; }
      section { padding: 80px 20px; }
      .hero-stats { gap: 28px; }
      .hero-divider { display: none; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .partners { padding: 24px 20px; }
      .cta-section { padding: 80px 20px; }
      footer { padding: 48px 20px 32px; }
    }