/*
Theme Name: Idealist Agency
Author: Vishal Ojha
Description: A lightweight custom WordPress theme built from scratch.
Version: 1.0.2
Text Domain: idealist-agency-theme
*/

/* =========================================================
   CSS RESET
   ========================================================= */


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

  :root {
    --navy: #0f1923;
    --navy-soft: #1a2736;
    --slate: #2e4057;
    --accent: #c8a96e;
    --accent-light: #e8d5b0;
    --accent-pale: #faf6ef;
    --mid: #6b7f94;
    --light: #f4f6f8;
    --white: #ffffff;
    --text: #1a2736;
    --text-soft: #4a5d6e;
    --border: #e2e8ed;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
  }
  




  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 999;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
  }
  .nav-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 2rem; height: 68px;
  }
  .logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem; font-weight: 700;
    color: var(--navy); text-decoration: none;
    letter-spacing: -0.01em;
  }
  .logo span { color: var(--accent); }
  .nav-links {
    display: flex; gap: 2.5rem; list-style: none;
  }
  .nav-links a {
    font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em;
    color: var(--text-soft); text-decoration: none;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--navy); }
  .nav-cta {
    background: var(--navy); color: var(--white);
    padding: 0.6rem 1.4rem; border-radius: 6px;
    font-size: 0.875rem; font-weight: 500; text-decoration: none;
    transition: background var(--transition), transform 0.15s;
  }
  .nav-cta:hover { background: var(--accent); transform: translateY(-1px); }
  .nav-cta-wrap { display: flex; align-items: center; gap: 0.75rem; }
  .nav-phone {
    display: flex; align-items: center; gap: 0.45rem;
    font-size: 0.875rem; font-weight: 600; color: var(--navy);
    text-decoration: none; letter-spacing: 0.01em;
    transition: color 0.2s;
  }
  .nav-phone:hover { color: var(--accent); }
  .nav-phone-icon {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--accent-pale); border: 1px solid var(--accent-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.82rem; flex-shrink: 0;
  }
  .nav-divider { width: 1px; height: 20px; background: var(--border); }
  .hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
  .nav-links > li.nav-mobile-extra { display: none; }


.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links > li {
    position: relative;
    list-style: none;
}

/* Main menu link */

.nav-links > li > a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
/* ========================================
   SUBMENU ARROW
======================================== */

.nav-links .has-submenu {
    display: flex;
    align-items: center;
}

/* Arrow */

.nav-links .submenu-arrow {
    width: 7px;
    height: 7px;

    margin-left: 8px;

    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;

    transform: rotate(45deg);

    transition: transform 0.2s ease;

    cursor: pointer;
}


/* ========================================
   SUBMENU
======================================== */

/* Hide submenu by default */

.nav-links .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 9999;
}


/* Submenu items */

.nav-links .sub-menu li {
    position: relative;

    list-style: none;

    margin: 0;
    padding: 0;
}


/* Submenu links */

.nav-links .sub-menu li a {
    display: block;

    padding: 10px 18px;

    color: #16202a;

    text-decoration: none;

    white-space: nowrap;
}


/* Submenu hover */

.nav-links .sub-menu li a:hover {
    background: #f5f5f5;
}


/* ========================================
   HOVER DROPDOWN
======================================== */

/*
 * When mouse enters Services,
 * automatically show submenu.
 */

.nav-links > li.has-submenu:hover > .sub-menu {
    display: block;
}

/* Invisible bridge between Services and dropdown */

.nav-links > li.has-submenu::after {
    content: "";
    position: absolute;

    left: 0;
    right: 0;

    top: 100%;
    height: 15px;

    background: transparent;

    z-index: 9998;
}

/*
 * Rotate arrow when hovering
 */

.nav-links > li.has-submenu:hover > .submenu-arrow {
    transform: rotate(225deg);
}



  /* ── PHONE INPUT WITH COUNTRY CODE ── */
  .phone-field {
    grid-column: 1 / -1;
    display: flex; gap: 0; border: 1.5px solid var(--border);
    border-radius: 8px; overflow: hidden; background: var(--white);
    transition: border-color 0.2s;
  }
  .phone-field:focus-within { border-color: var(--accent); }
  .phone-field select {
    border: none; outline: none; background: var(--light);
    padding: 0.85rem 0.6rem 0.85rem 0.9rem;
    font-size: 0.88rem; font-family: inherit; color: var(--text);
    cursor: pointer; flex-shrink: 0; width: 120px;
    border-right: 1.5px solid var(--border);
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%234a5d6e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 8px center;
    padding-right: 22px;
  }
  .phone-field input {
    border: none !important; outline: none; flex: 1;
    padding: 0.85rem 1.25rem; font-size: 0.9rem; font-family: inherit;
    color: var(--text); background: var(--white);
  }
  .cta-form textarea {
    grid-column: 1 / -1;
    padding: 0.85rem 1.25rem; border: 1.5px solid var(--border); border-radius: 8px;
    font-size: 0.9rem; font-family: inherit; color: var(--text);
    outline: none; transition: border-color 0.2s; background: var(--white);
    resize: vertical; min-height: 100px; line-height: 1.6;
  }
  .cta-form textarea:focus { border-color: var(--accent); }
  .cta-form textarea::placeholder { color: #9aacb8; }
  .field-req { color: var(--accent); font-size: 0.8rem; margin-left: 2px; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    background: var(--navy);
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding: 9rem 2rem 6rem;
  }
  .hero-bg {
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 60% 60% at 50% 40%, rgba(200,169,110,0.07) 0%, transparent 65%),
      radial-gradient(ellipse 50% 50% at 10% 80%, rgba(46,64,87,0.5) 0%, transparent 60%),
      radial-gradient(ellipse 40% 40% at 90% 20%, rgba(46,64,87,0.4) 0%, transparent 55%);
  }
  .hero-grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
  }
  .hero-inner {
    max-width: 860px; margin: 0 auto;
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    position: relative; z-index: 2;
  }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--accent);
    margin-bottom: 1.8rem;
  }
  .hero-eyebrow::before { content: ''; width: 2rem; height: 1px; background: var(--accent); }
  .hero-eyebrow::after  { content: ''; width: 2rem; height: 1px; background: var(--accent); }
  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6.5vw, 5rem);
    font-weight: 700; line-height: 1.1;
    color: var(--white); margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
  }
  .hero h1 em { font-style: italic; color: var(--accent); }
  .hero-sub {
    font-size: 1.05rem; color: rgba(255,255,255,0.55);
    line-height: 1.75; margin-bottom: 2.5rem;
    /*max-width: 560px;*/
  }
  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .btn-primary {
    background: var(--accent); color: var(--navy);
    padding: 0.9rem 2.4rem; border-radius: 8px;
    font-weight: 600; font-size: 0.95rem; text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex; align-items: center; gap: 0.5rem;
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,169,110,0.38); }
  .btn-ghost {
    border: 1px solid rgba(255,255,255,0.22); color: rgba(255,255,255,0.75);
    padding: 0.9rem 2.4rem; border-radius: 8px;
    font-weight: 500; font-size: 0.95rem; text-decoration: none;
    transition: var(--transition); display: inline-block;
  }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

  /* Stats row with dividers */
  .hero-stats {
    display: flex; align-items: center; gap: 0;
    margin-top: 5rem; padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    width: 100%;
  }
  .stat-item {
    flex: 1; text-align: center; padding: 0 1.5rem;
    position: relative;
  }
  .stat-item:not(:last-child)::after {
    content: ''; position: absolute; right: 0; top: 50%;
    transform: translateY(-50%);
    width: 1px; height: 2.5rem;
    background: rgba(255,255,255,0.12);
  }
  .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem; font-weight: 700; color: var(--white);
    display: block;
  }
  .stat-label {
    font-size: 0.78rem; color: rgba(255,255,255,0.4);
    margin-top: 4px; display: block;
  }

  /* hero right panel — hidden in new layout */
  .hero-visual { display: none; }
  .hero-card { display: none; }
  .hero-card-label, .hero-card-val, .hero-card-sub,
  .hero-card-bar, .hero-card-bar-fill, .hero-card-tags { display: none; }
  .tag {
    font-size: 0.72rem; font-weight: 500; letter-spacing: 0.04em;
    background: rgba(200,169,110,0.15); color: var(--accent);
    padding: 0.25rem 0.65rem; border-radius: 20px;
  }

  /* ── LOGOS / TRUST ── */
  .trust-bar {
    background: var(--light); border-bottom: 1px solid var(--border);
    padding: 1.8rem 2rem;
  }
  .trust-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; gap: 3rem; flex-wrap: wrap;
    justify-content: center;
  }
  .trust-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); white-space: nowrap; }
  .trust-logos { display: flex; gap: 3rem; align-items: center; flex-wrap: wrap; }
  .trust-logo {
    font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 700;
    color: #aab5bf; letter-spacing: -0.01em; white-space: nowrap;
    opacity: 0.7;
  }

  /* ── SECTIONS SHARED ── */
  section { padding: 7rem 2rem; }
  .section-inner { max-width: 1200px; margin: 0 auto; }
  .section-eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 1rem;
  }
  .section-eyebrow::before { content: ''; width: 1.5rem; height: 1px; background: var(--accent); }
  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700;
    line-height: 1.2; color: var(--navy); letter-spacing: -0.02em;
  }
  .section-sub { font-size: 1.05rem; color: var(--text-soft); max-width: 580px; margin-top: 1rem; line-height: 1.7; }
  .section-header { margin-bottom: 4rem; }


    /* ── CHALLENGES (unique section) ── */
  #challenges { background: var(--white); }
  .challenges-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
  .challenge-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
  .challenge-item { display: flex; gap: 1rem; align-items: flex-start; }
  .challenge-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-pale); border: 1px solid var(--accent-light); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
  .challenge-item h4 { font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
  .challenge-item p { font-size: 0.85rem; color: var(--text-soft); line-height: 1.65; }
  .challenge-visual { background: var(--navy); border-radius: var(--radius-lg); padding: 2.5rem; }
  .cv-title { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem; }
  .cv-stat { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .cv-stat:last-child { border-bottom: none; }
  .cv-stat-label { font-size: 0.83rem; color: rgba(255,255,255,0.5); }
  .cv-stat-val { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--white); }
  .cv-stat-val span { color: var(--accent); }

  /* ── SERVICES ── */
  #services { background: var(--white); }
  .services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
  }
  .service-card {
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 2.2rem; background: var(--white);
    transition: var(--transition); position: relative; overflow: hidden;
  }
  .service-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: var(--accent); transform: scaleX(0); transition: transform 0.35s;
  }
  .service-card:hover { border-color: var(--accent-light); box-shadow: 0 12px 40px rgba(15,25,35,0.08); transform: translateY(-4px); }
  .service-card:hover::after { transform: scaleX(1); }
  .service-icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: var(--accent-pale); border: 1px solid var(--accent-light);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
  }
  .service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem; font-weight: 700; color: var(--navy);
    margin-bottom: 0.75rem;
  }
  .service-card p { font-size: 0.9rem; color: var(--text-soft); line-height: 1.7; margin-bottom: 1.2rem; }
  .service-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .pill {
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em;
    padding: 0.25rem 0.6rem; border-radius: 20px;
    background: var(--light); color: var(--slate);
    border: 1px solid var(--border);
  }
  .service-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.85rem; font-weight: 600; color: var(--accent);
    text-decoration: none; margin-top: 1.4rem;
    transition: gap 0.2s;
  }
  .service-link:hover { gap: 0.7rem; }

  /* ── WHY US ── */
  #why { background: var(--navy); }
  #why .section-title { color: var(--white); }
  #why .section-sub { color: rgba(255,255,255,0.5); }
  #why .section-eyebrow { color: var(--accent); }
  .why-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    align-items: center;
  }
  .why-items { display: flex; flex-direction: column; gap: 2rem; }
  .why-item { display: flex; gap: 1.2rem; }
  .why-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem; font-weight: 700; color: rgba(200,169,110,0.25);
    line-height: 1; flex-shrink: 0; width: 2.5rem; text-align: right;
  }
  .why-content h4 {
    font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 0.4rem;
  }
  .why-content p { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.65; }
  .why-visual {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg); padding: 2.5rem; position: relative;
  }
  .metric-row { margin-bottom: 2rem; }
  .metric-row:last-child { margin-bottom: 0; }
  .metric-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.5rem; }
  .metric-name { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
  .metric-val { font-size: 0.9rem; font-weight: 600; color: var(--white); }
  .metric-track { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
  .metric-fill { height: 100%; border-radius: 2px; background: var(--accent); transition: width 1.5s ease; width: 0; }

  /* ── PROCESS ── */
  #process { background: var(--accent-pale); border-top: 1px solid var(--accent-light); border-bottom: 1px solid var(--accent-light); }
  .process-steps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
    margin-top: 4rem;
  }
  .process-step { position: relative; }
  .process-step:not(:last-child)::after {
    content: ''; position: absolute; top: 26px; left: calc(50% + 30px);
    width: calc(100% - 60px); height: 1px;
    background: linear-gradient(90deg, var(--accent-light), transparent);
  }
  .step-num {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--navy); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700;
    margin-bottom: 1.2rem;
  }
  .process-step h4 { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }
  .process-step p { font-size: 0.85rem; color: var(--text-soft); line-height: 1.65; }

  /* ── RESULTS / NUMBERS ── */
  #results { background: var(--white); }
  .results-top {
    display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
    margin-bottom: 5rem;
  }
  .result-numbers {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  }
  .result-num-card {
    background: var(--light); border-radius: var(--radius); padding: 1.8rem;
    border: 1px solid var(--border);
  }
  .result-num-card .num {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem; font-weight: 700; color: var(--navy);
  }
  .result-num-card .num span { color: var(--accent); }
  .result-num-card .lbl { font-size: 0.8rem; color: var(--text-soft); margin-top: 0.3rem; }
  .case-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .case-card {
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 2rem; background: var(--white);
    transition: var(--transition);
  }
  .case-card:hover { box-shadow: 0 10px 36px rgba(15,25,35,0.07); transform: translateY(-3px); }
  .case-industry {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 0.75rem;
  }
  .case-card h4 { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.6rem; }
  .case-card p { font-size: 0.85rem; color: var(--text-soft); margin-bottom: 1.2rem; }
  .case-metric {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem; font-weight: 700; color: var(--navy);
  }
  .case-metric-label { font-size: 0.75rem; color: var(--text-soft); }

  /* ── TOOLS ── */
  #tools { background: var(--light); }
  .tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1rem; margin-top: 3rem; }
  .tool-chip {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.2rem; text-align: center;
    font-size: 0.82rem; font-weight: 600; color: var(--slate);
    transition: var(--transition);
  }
  .tool-chip:hover { border-color: var(--accent); color: var(--navy); transform: translateY(-2px); }
  .tool-chip .t-icon { font-size: 1.5rem; margin-bottom: 0.5rem; display: block; }


    /* ── FAQ ── */
  #faq { background: var(--light); }
  .faq-list { display: flex; flex-direction: column; gap: 0; margin-top: 3rem; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
  .faq-item { border-bottom: 1px solid var(--border); background: var(--white); }
  .faq-item:last-child { border-bottom: none; }
  .faq-question { width: 100%; text-align: left; padding: 1.4rem 1.8rem; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--navy); transition: background 0.2s; }
  .faq-question:hover { background: var(--accent-pale); }
  .faq-chevron { font-size: 1rem; color: var(--accent); transition: transform 0.3s; flex-shrink: 0; }
  .faq-item.open .faq-chevron { transform: rotate(180deg); }
  .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
  .faq-answer-inner { padding: 0 1.8rem 1.4rem; font-size: 0.9rem; color: var(--text-soft); line-height: 1.75; }
  .faq-item.open .faq-answer { max-height: 300px; }

  /* ── TESTIMONIALS ── */
  #testimonials { background: var(--navy); }
  #testimonials .section-title { color: var(--white); }
  #testimonials .section-eyebrow { color: var(--accent); }
  .testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
  .testi-card {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg); padding: 2rem;
  }
  .testi-stars { color: var(--accent); font-size: 0.85rem; margin-bottom: 1rem; letter-spacing: 0.1em; }
  .testi-text { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.7; font-style: italic; margin-bottom: 1.5rem; }
  .testi-author { display: flex; align-items: center; gap: 0.8rem; }
  .testi-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--accent); display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem; color: var(--navy); flex-shrink: 0;
  }
  .testi-name { font-size: 0.85rem; font-weight: 600; color: var(--white); }
  .testi-role { font-size: 0.75rem; color: rgba(255,255,255,0.35); }

  /* ── CTA ── */
  #contact {
    background: linear-gradient(135deg, var(--accent-pale) 0%, #fff 60%);
    border-top: 1px solid var(--accent-light);
  }
  .cta-box {
    max-width: 780px; margin: 0 auto; text-align: center;
  }
  .cta-box .section-title { font-size: clamp(2rem, 4vw, 3rem); }
  .cta-box .section-sub { max-width: 100%; margin: 1rem auto; text-align: center; }
  .cta-form {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1rem; margin-top: 2.5rem;
  }

  .cta-form .cta-form-field input {
    padding: 0.85rem 1.25rem;
    border: 1.5px solid var(--border); border-radius: 8px;
    font-size: 0.9rem; font-family: inherit; color: var(--text);
    outline: none; transition: border-color 0.2s; background: var(--white);
  }

  .cta-form .cta-form-submit input {
    padding: 0.85rem 1.25rem;
    border: 1.5px solid var(--border); border-radius: 8px;
    font-size: 0.9rem; font-family: inherit; color: var(--white);
    outline: none; transition: border-color 0.2s; background: var(--navy);
  }

  .cta-form .cta-form-submit input:hover {
    background: var(--accent);
    color: var(--navy);
    transform: translateY(-2px);
  }

  .cta-form input[type="tel"] { grid-column: 1 / -1; }
  .cta-form input:focus { border-color: var(--accent); }
  .cta-form button {
    grid-column: 1 / -1;
    background: var(--navy); color: var(--white);
    padding: 0.85rem 2rem; border-radius: 8px; border: none;
    font-size: 0.95rem; font-weight: 600; font-family: inherit;
    cursor: pointer; transition: var(--transition); white-space: nowrap;
  }
  /* Contact Form */
.cta-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.cta-form-field {
    width: 100%;
}

.cta-form-field .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.cta-form input[type="text"],
.cta-form input[type="email"],
.cta-form input[type="tel"],
.cta-form select,
.cta-form textarea {
    width: 100%;
    box-sizing: border-box;
}

/* Phone */
.cta-form .phone-field {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 145px 1fr;
    width: 100%;
}

.cta-form .phone-field .wpcf7-form-control-wrap {
    width: 100%;
}

/* Message */
.cta-form-message {
    grid-column: 1 / -1;
    width: 100%;
}

.cta-form-message .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.cta-form-message textarea {
    width: 100%;
    height: 160px;
    min-height: 160px;
    box-sizing: border-box;
}

/* Submit */
.cta-form-submit {
    grid-column: 1 / -1;
    width: 100%;
}

.cta-form-submit .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.cta-form-submit input[type="submit"] {
    width: 100%;
}

/* Remove CF7 default spacing */
.cta-form p {
    margin: 0;
}
  .cta-form button:hover { background: var(--accent); color: var(--navy); transform: translateY(-2px); }
  @media (max-width: 600px) { .cta-form { grid-template-columns: 1fr; } .cta-form input[type="tel"], .cta-form button { grid-column: 1; } }
  .cta-trust { font-size: 0.8rem; color: var(--text-soft); margin-top: 1rem; }

  /* ── FOOTER ── */
footer {
  background: var(--navy); color: rgba(255,255,255,0.4);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1500px;               /* design content is ~1500px wide, yours was 1200px */
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; /* fixed typo */
  gap: 1.5rem;
}
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--white); font-weight: 700; text-decoration: none; }
.footer-logo span { color: var(--accent); }

/* now targets the <ul> that WordPress outputs */
.footer-links {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  list-style: none; margin: 0; padding: 0;
}
.footer-links li { margin: 0; padding: 0; list-style: none; }
.footer-links a { font-size: 0.95rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

.footer-copy { font-size: 0.9rem; margin: 0; }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-d1 { transition-delay: 0.1s; }
.fade-up-d2 { transition-delay: 0.2s; }
.fade-up-d3 { transition-delay: 0.3s; }

/* ── MOBILE ── */
@media (max-width: 900px) {
  .hero-inner, .why-grid, .results-top { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .case-cards, .testi-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-cta-wrap { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed;
    top: 68px; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--border); padding: 1.5rem 2rem; gap: 1.2rem;
  }
  .nav-phone span:not(.nav-phone-icon) { display: none; }

  /* Mobile header: keep the country switcher next to the menu icon */
  .nav-cta-wrap { display: flex; margin-left: auto; margin-right: 1rem; gap: 0; }
  .nav-cta-wrap .nav-phone,
  .nav-cta-wrap .nav-divider,
  .nav-cta-wrap > .nav-cta { display: none; }
  .nav-cta-wrap .csw-switcher .csw-toggle { padding: 7px 10px; }

  /* Mobile menu: phone number + header button at the bottom */
  .nav-links.open > li.nav-mobile-extra {
    display: flex; flex-direction: column; align-items: stretch; gap: 0.9rem;
    margin-top: 0.4rem; padding-top: 1.3rem; border-top: 1px solid var(--border);
  }
  .nav-mobile-extra .nav-phone { justify-content: center; }
  .nav-mobile-extra .nav-phone span:not(.nav-phone-icon) { display: inline; }
  .nav-mobile-extra .nav-phone { color: var(--navy); font-size: 0.95rem; font-weight: 600; }
  .nav-mobile-extra .nav-cta { display: block; text-align: center; padding: 0.9rem 1.4rem; font-size: 0.95rem; color: var(--white); }
  .nav-mobile-extra .nav-cta:hover { color: var(--white); }
  /* Process steps stack on mobile/tablet: hide the connector line, it pushed the page wider than the screen */
  .process-step::after { display: none; }
}

/* Safety net: nothing can make the page scroll sideways on mobile (clip keeps sticky elements working) */
@media (max-width: 900px) {
  html, body { overflow-x: clip; }
}
@media (max-width: 600px) {
  section { padding: 4.5rem 1.25rem; }
  .process-steps { grid-template-columns: 1fr; }
  .result-numbers { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
}