/**
 * MOVIXIT Easy-Mobility - Enterprise Styles
 * 
 * @package Movixit
 * @version 10.0.0
 */

/* ============================================
   BASE
   ============================================ */
.movixit-easy-mobility-page,
.em-content {
    width: min(1120px, 92%);
    margin-inline: auto;
}

/* ============================================
   HERO
   ============================================ */
.em-hero {
    padding: clamp(4rem, 8vw, 8rem) 0;
    background: linear-gradient(135deg, #0b1f3a 0%, #1a365d 100%);
    color: #ffffff;
    border-radius: 16px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.em-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4wNSI+PHBhdGggZD0iTTM2IDM0di00aC0ydjRoLTR2Mmg0djRoMnYtNGg0di0yaC00em0wLTMwVjBoLTJ2NGgtNHYyaDR2NGgyVjZoNFY0aC00ek02IDM0di00SDR2NEgwdjJoNHY0aDJ2LTRoNHYtMkg2ek02IDRWMEE0djRIMHYyaDR2NGgyVjZoNFY0SDZ6Ii8+PC9nPjwvZz48L3N2Zz4=');
    opacity: 0.1;
    pointer-events: none;
}

.em-hero .container {
    position: relative;
    z-index: 1;
    padding: 20px 40px;
}

.em-eyebrow {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #FFD700;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.em-hero h1 {
    max-width: 850px;
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    line-height: 1.02;
    margin: 0 0 20px;
}

.em-hero p {
    max-width: 600px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* ============================================
   BUTTONS
   ============================================ */
.em-button {
    display: inline-block;
    padding: 0.85rem 1.3rem;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    background: #40B5AD;
    color: #ffffff;
    border: 2px solid #40B5AD;
}

.em-button:hover {
    background: #2D8F88;
    border-color: #2D8F88;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(64, 181, 173, 0.25);
}

.em-button--outline {
    background: transparent;
    color: #40B5AD;
}

.em-button--outline:hover {
    background: #40B5AD;
    color: #ffffff;
}

.em-button--gold {
    background: #FFD700;
    color: #0b1f3a;
    border-color: #FFD700;
}

.em-button--gold:hover {
    background: #e6c200;
    border-color: #e6c200;
}

/* ============================================
   SECTIONS
   ============================================ */
.em-section {
    padding: 4rem 0;
}

.em-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.em-grid > * {
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0.5rem;
    background: #ffffff;
    transition: all 0.3s ease;
}

.em-grid > *:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: #40B5AD;
}

.em-grid h3 {
    color: #0b1f3a;
    margin: 0 0 12px;
}

.em-grid p {
    color: #475569;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   CONTENT
   ============================================ */
.em-content {
    padding: 4rem 0;
}

.em-content h1 {
    color: #0b1f3a;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 1.5rem;
}

.em-content p {
    color: #475569;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ============================================
   FORM
   ============================================ */
.em-form {
    max-width: 720px;
    display: grid;
    gap: 1.25rem;
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.em-form label {
    display: grid;
    gap: 0.4rem;
    font-weight: 600;
    color: #0b1f3a;
}

.em-form input,
.em-form select,
.em-form textarea {
    padding: 0.75rem;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.em-form input:focus,
.em-form select:focus,
.em-form textarea:focus {
    outline: none;
    border-color: #40B5AD;
    box-shadow: 0 0 0 3px rgba(64, 181, 173, 0.1);
}

.em-form button {
    padding: 0.85rem 1.3rem;
    border-radius: 8px;
    background: #40B5AD;
    color: #ffffff;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.em-form button:hover {
    background: #2D8F88;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(64, 181, 173, 0.2);
}

.em-check {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
}

.em-check input {
    width: auto !important;
    margin-top: 4px;
    flex-shrink: 0;
}

.em-check label {
    font-weight: 400;
    font-size: 0.9rem;
    color: #475569;
}

/* ============================================
   CARDS
   ============================================ */
.em-case-card,
.em-calculator-card {
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 0.5rem;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.em-case-card h2 {
    color: #40B5AD;
    margin-top: 0;
}

.em-case-card p {
    margin: 8px 0;
    color: #475569;
}

.em-case-card p strong {
    color: #0b1f3a;
}

/* ============================================
   STEPS
   ============================================ */
.em-steps {
    padding-left: 0;
    list-style: none;
    counter-reset: step;
}

.em-steps li {
    counter-increment: step;
    padding: 1rem 1rem 1rem 4rem;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
    line-height: 1.6;
    color: #475569;
}

.em-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: #40B5AD10;
    color: #40B5AD;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.em-steps li:last-child {
    border-bottom: none;
}

.em-steps li strong {
    color: #0b1f3a;
    display: block;
}

/* ============================================
   DISCLAIMER
   ============================================ */
.em-disclaimer {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    color: #dc2626;
    font-size: 0.95rem;
    line-height: 1.6;
}

.em-disclaimer strong {
    display: block;
    margin-bottom: 8px;
}

/* ============================================
   BENEFITS / ADVANTAGES
   ============================================ */
.em-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.em-benefits-grid section {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.em-benefits-grid h2 {
    color: #0b1f3a;
    font-size: 1.2rem;
    margin-top: 0;
    border-bottom: 3px solid #40B5AD;
    padding-bottom: 12px;
}

.em-benefits-grid ul {
    padding-left: 20px;
    color: #475569;
    line-height: 2;
}

/* ============================================
   FAQ
   ============================================ */
.em-faq details {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.em-faq summary {
    font-weight: 600;
    color: #0b1f3a;
    cursor: pointer;
    font-size: 1.05rem;
}

.em-faq summary:hover {
    color: #40B5AD;
}

.em-faq details p {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    color: #475569;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .em-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .em-benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .em-grid {
        grid-template-columns: 1fr;
    }
    
    .em-benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .em-hero h1 {
        font-size: 2.2rem;
    }
    
    .em-hero .container {
        padding: 20px;
    }
    
    .em-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .em-hero {
        border-radius: 12px;
        margin: 20px 0;
    }
    
    .em-hero h1 {
        font-size: 1.8rem;
    }
    
    .em-hero p {
        font-size: 1rem;
    }
    
    .em-section {
        padding: 2.5rem 0;
    }
}

/* ============================================================
   MOVIXIT EASY-MOBILITY 1.1.0 — RESPONSIVE / ACCESSIBILITY LAYER
   Mobile-first overrides for all public plugin templates.
   ============================================================ */
.em-content,
.movixit-easy-mobility-page {
  box-sizing:border-box;
  width:min(1120px, 100%);
  margin-inline:auto;
  padding-inline:clamp(16px,4vw,28px);
}
.em-content *, .movixit-easy-mobility-page * { box-sizing:border-box; }
.em-content img, .movixit-easy-mobility-page img { max-width:100%; height:auto; }
.em-content h1, .movixit-easy-mobility-page h1 {
  overflow-wrap:anywhere;
  font-size:clamp(2rem,5vw,3.15rem) !important;
  line-height:1.08 !important;
}
.em-content h2, .movixit-easy-mobility-page h2 {
  font-size:clamp(1.35rem,3vw,2rem) !important;
  line-height:1.2 !important;
}
.em-content h3, .movixit-easy-mobility-page h3 {
  font-size:clamp(1.08rem,2.3vw,1.35rem) !important;
}
.em-content p, .em-content li,
.movixit-easy-mobility-page p, .movixit-easy-mobility-page li {
  overflow-wrap:anywhere;
}
.em-content a, .movixit-easy-mobility-page a { word-break:normal; }
.em-content button, .em-content .button, .em-content input[type=submit],
.em-content input[type=button], .em-content select, .em-content input,
.em-content textarea {
  max-width:100%;
  min-height:44px;
}
.em-content input, .em-content select, .em-content textarea {
  width:100%;
  font:inherit;
}
.em-content textarea { min-height:120px; resize:vertical; }
.em-content label { display:block; margin-bottom:7px; font-weight:700; }
.em-content table {
  width:100%;
  border-collapse:collapse;
}
.em-content .table-responsive, .em-content .em-table-wrap {
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.em-content .em-grid,
.em-content .em-benefits-grid {
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}
.em-content .em-steps { margin-inline:0; }
.em-content :focus-visible {
  outline:3px solid #40B5AD;
  outline-offset:3px;
}
.em-content .em-card, .em-content section,
.em-content [style*="border-radius"] {
  max-width:100%;
}
.em-content [style*="display: flex"],
.em-content [style*="display:flex"] {
  min-width:0;
}
@media (max-width: 900px) {
  .em-content .em-benefits-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .em-content .em-grid { grid-template-columns:1fr 1fr !important; }
  .em-content [style*="grid-template-columns: repeat(3"],
  .em-content [style*="grid-template-columns:repeat(3"] {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media (max-width: 680px) {
  .em-content, .movixit-easy-mobility-page {
    width:100%;
    padding-inline:16px;
  }
  .em-content > div, .movixit-easy-mobility-page > div {
    max-width:100% !important;
  }
  .em-content .em-grid,
  .em-content .em-benefits-grid,
  .em-content [style*="grid-template-columns"],
  .em-content [style*="display: grid"],
  .em-content [style*="display:grid"] {
    grid-template-columns:1fr !important;
  }
  .em-content [style*="padding: 40px"],
  .em-content [style*="padding:40px"],
  .em-content [style*="padding: 32px"],
  .em-content [style*="padding:32px"] {
    padding:22px !important;
  }
  .em-content [style*="gap: 30px"],
  .em-content [style*="gap:30px"] { gap:18px !important; }
  .em-content [style*="gap: 24px"],
  .em-content [style*="gap:24px"] { gap:16px !important; }
  .em-content [style*="display: flex"],
  .em-content [style*="display:flex"] {
    flex-wrap:wrap !important;
    align-items:stretch !important;
  }
  .em-content [style*="justify-content: space-between"] > *,
  .em-content [style*="justify-content:space-between"] > * {
    flex:1 1 100%;
  }
  .em-content button, .em-content .button, .em-content input[type=submit] {
    width:100%;
  }
  .em-content table {
    display:block;
    overflow-x:auto;
    white-space:nowrap;
  }
  .em-content th, .em-content td { padding:10px 12px !important; }
  .em-content .em-faq details { padding:16px !important; }
  .em-content .em-faq summary { line-height:1.45; }
  .em-content [style*="font-size: 1.1rem"],
  .em-content [style*="font-size:1.1rem"] { font-size:1rem !important; }
}
@media (max-width: 420px) {
  .em-content { padding-inline:12px; }
  .em-content h1 { font-size:1.9rem !important; }
  .em-content h2 { font-size:1.35rem !important; }
  .em-content [style*="padding: 24px"],
  .em-content [style*="padding:24px"] { padding:17px !important; }
}
@media (prefers-reduced-motion:reduce) {
  .em-content *, .movixit-easy-mobility-page * {
    scroll-behavior:auto !important;
    animation-duration:.001ms !important;
    transition-duration:.001ms !important;
  }
}
