/*
Theme Name:  IP Service & Dépannage
Theme URI:   https://ipservice.fr
Author:      IP Service & Dépannage
Author URI:  https://ipservice.fr
Description: Thème WordPress professionnel pour IP Service & Dépannage — dépannage informatique à Desvres (62). Design moderne style SaaS, fond blanc, accent indigo.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ipservice
Tags:        informatique, depannage, services, one-page, responsive
*/

/* ============================================================
   RESET & ROOT VARIABLES
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #ffffff;
  --bg2:      #f5f7ff;
  --bg3:      #eef1fb;
  --text:     #111827;
  --sub:      #6b7280;
  --border:   #e5e7eb;
  --accent:   #4f46e5;
  --accent-l: #ede9fe;
  --accent-h: #4338ca;
  --green:    #10b981;
  --green-l:  #d1fae5;
  --red:      #ef4444;
  --red-l:    #fef2f2;
  --yellow:   #f59e0b;
  --yellow-l: #fef3c7;
  --radius:   14px;
  --shadow:   0 2px 14px rgba(0,0,0,.07);
  --shadow-lg:0 8px 40px rgba(0,0,0,.11);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.1rem; font-weight: 800; }
p  { line-height: 1.7; }

.entry-content h1,
.entry-content h2,
.entry-content h3 { margin-bottom: .85rem; margin-top: 1.5rem; }
.entry-content p   { margin-bottom: 1rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 7%; }
.label-tag {
  display: inline-block;
  background: var(--accent-l); color: var(--accent);
  font-size: .75rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .85rem; border-radius: 50px;
  margin-bottom: .9rem;
}
.section-sub { color: var(--sub); max-width: 520px; font-size: 1.02rem; }
.text-accent { color: var(--accent); }

.btn-primary {
  background: var(--accent); color: #fff;
  padding: .85rem 2.1rem; border-radius: 11px;
  font-weight: 700; font-size: 1rem;
  display: inline-block;
  box-shadow: 0 4px 18px rgba(79,70,229,.3);
  transition: background .15s, transform .15s, box-shadow .15s;
  border: none; cursor: pointer; font-family: 'Manrope', sans-serif;
}
.btn-primary:hover { background: var(--accent-h); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(79,70,229,.38); color: #fff; }

.btn-ghost {
  border: 1.5px solid var(--border); color: var(--text);
  padding: .85rem 2.1rem; border-radius: 11px;
  font-weight: 600; font-size: 1rem;
  display: inline-block;
  transition: all .15s;
}
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-l); transform: translateY(-2px); color: var(--accent); }

.btn-devis {
  background: #fff; color: var(--accent);
  border: 2px solid var(--accent);
  padding: 1rem 2.5rem; border-radius: 12px;
  font-weight: 800; font-size: 1.05rem;
  display: inline-block;
  box-shadow: 0 4px 20px rgba(79,70,229,.15);
  transition: background .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn-devis:hover { background: var(--accent); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(79,70,229,.3); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#site-header {
  position: sticky; top: 0; z-index: 100;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 7%;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-branding {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.1rem; font-weight: 900;
  color: var(--text); text-decoration: none;
}
.site-branding .brand-icon {
  width: 32px; height: 32px; flex-shrink: 0;
}

/* Main navigation */
#primary-navigation ul {
  display: flex; gap: 2rem; list-style: none;
}
#primary-navigation ul a {
  color: var(--sub); font-size: .9rem; font-weight: 600;
  transition: color .15s; text-decoration: none;
}
#primary-navigation ul a:hover,
#primary-navigation ul .current-menu-item > a { color: var(--text); }

.header-cta-wrap { display: flex; align-items: center; gap: .75rem; }
.header-phone { color: var(--sub); font-size: .875rem; font-weight: 700; }
.header-cta {
  background: var(--accent); color: #fff;
  padding: .55rem 1.3rem; border-radius: 9px;
  font-size: .875rem; font-weight: 700;
  transition: background .15s, transform .15s;
}
.header-cta:hover { background: var(--accent-h); transform: translateY(-1px); color: #fff; }

/* Mobile menu toggle */
.menu-toggle {
  display: none; background: none; border: none;
  font-size: 1.4rem; cursor: pointer; padding: .25rem;
  color: var(--text);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  padding: 90px 7% 80px;
  background: var(--bg2);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,.13) 0%, transparent 70%);
  top: -200px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent-l); color: var(--accent);
  font-size: .8rem; font-weight: 700;
  padding: .35rem 1rem; border-radius: 50px;
  margin-bottom: 1.75rem;
  animation: fadeUp .55s ease both;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: blink 1.8s ease-in-out infinite;
}
.hero-title { animation: fadeUp .6s .08s ease both; }
.hero-title span { color: var(--accent); }
.hero-subtitle {
  margin: 1.25rem auto 0; max-width: 540px;
  color: var(--sub); font-size: 1.04rem;
  animation: fadeUp .6s .16s ease both;
}
.hero-actions {
  margin-top: 2.25rem;
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeUp .6s .24s ease both;
}
.hero-devis {
  margin-top: 3.5rem;
  display: flex; flex-direction: column;
  align-items: center; gap: .85rem;
  animation: fadeUp .6s .32s ease both;
}
.devis-sub { font-size: .82rem; color: var(--sub); font-weight: 600; letter-spacing: .02em; }

@keyframes fadeUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
@keyframes blink  { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section { padding: 90px 7%; background: var(--bg); }
.services-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card .s-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--accent-l);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 1rem;
}
.service-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: .45rem; }
.service-card p  { font-size: .875rem; color: var(--sub); line-height: 1.6; }
.service-card ul { padding-left: 1rem; margin-top: .6rem; }
.service-card ul li { font-size: .85rem; color: var(--sub); margin-bottom: .3rem; list-style: disc; }

/* ============================================================
   ABOUT / ENGAGEMENTS SECTION
   ============================================================ */
.about-section { padding: 90px 7%; background: var(--bg2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.engagement-list { display: flex; flex-direction: column; gap: .85rem; margin-top: 1.5rem; }
.eng-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  transition: border-color .2s, box-shadow .2s;
}
.eng-item:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.eng-check {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--green-l); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: .8rem; font-weight: 900;
  margin-top: 1px;
}
.eng-item p    { font-size: .9rem; font-weight: 700; color: var(--text); }
.eng-item small { display: block; font-size: .8rem; color: var(--sub); font-weight: 500; margin-top: 2px; }

.info-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 2.25rem;
  box-shadow: var(--shadow);
}
.info-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 1.5rem; }
.info-row {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: .85rem 0; border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: none; }
.info-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--bg2); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.info-row strong { display: block; font-size: .85rem; font-weight: 800; margin-bottom: 2px; }
.info-row span, .info-row a { font-size: .85rem; color: var(--sub); text-decoration: none; }
.info-row a:hover { color: var(--accent); }

/* ============================================================
   PRICING / TARIFS SECTION
   ============================================================ */
.pricing-section { padding: 90px 7%; background: var(--bg); }
.tab-bar { display: flex; gap: .6rem; margin: 2rem 0 2.5rem; flex-wrap: wrap; }
.tab-btn {
  padding: .55rem 1.3rem; border-radius: 9px;
  border: 1.5px solid var(--border); background: transparent;
  color: var(--sub);
  font-family: 'Manrope', sans-serif;
  font-size: .875rem; font-weight: 700;
  cursor: pointer; transition: all .15s;
}
.tab-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 3px 12px rgba(79,70,229,.25); }
.tab-btn:hover:not(.active) { border-color: var(--accent); color: var(--accent); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.price-card {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.price-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); }
.price-card .serv { font-size: .82rem; font-weight: 700; color: var(--sub); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; }
.price-card .amount { font-size: 1.75rem; font-weight: 900; color: var(--text); }
.price-card .amount em { font-style: normal; font-size: .85rem; color: var(--sub); font-weight: 500; }
.price-card .note { font-size: .78rem; color: var(--sub); margin-top: .35rem; }

.plans-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.plan-card {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 2rem; position: relative;
  transition: transform .2s, box-shadow .2s;
}
.plan-card.star { border-color: var(--accent); background: var(--bg2); box-shadow: 0 0 0 4px var(--accent-l); }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-pill {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 800;
  padding: .28rem .9rem; border-radius: 50px;
}
.plan-name { font-size: .78rem; font-weight: 800; color: var(--sub); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .65rem; }
.plan-price { font-size: 2rem; font-weight: 900; margin-bottom: .5rem; }
.plan-price em { font-style: normal; font-size: .85rem; color: var(--sub); font-weight: 500; }
.plan-desc { font-size: .85rem; color: var(--sub); margin-bottom: 1.5rem; line-height: 1.5; }
.plan-features { list-style: none; margin-bottom: 1.75rem; }
.plan-features li { display: flex; gap: .65rem; padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .875rem; color: var(--sub); }
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before { content: '✓'; color: var(--green); font-weight: 900; flex-shrink: 0; }
.plan-cta {
  display: block; text-align: center;
  background: var(--accent); color: #fff;
  padding: .8rem; border-radius: 10px;
  font-weight: 700; font-size: .9rem;
  transition: background .15s;
}
.plan-cta:hover { background: var(--accent-h); color: #fff; }

/* ============================================================
   TESTIMONIALS / AVIS SECTION
   ============================================================ */
.testimonials-section { padding: 90px 7%; background: var(--bg2); }
.testimonials-grid {
  margin-top: 3rem;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.testi-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: box-shadow .2s, transform .2s;
}
.testi-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.stars { color: #f59e0b; font-size: .95rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testi-card blockquote { font-size: .9rem; color: var(--sub); font-style: italic; line-height: 1.65; margin-bottom: 1.25rem; }
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent-l);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: .85rem; color: var(--accent); flex-shrink: 0;
}
.testi-author strong { display: block; font-size: .875rem; font-weight: 800; }
.testi-author span   { font-size: .78rem; color: var(--sub); }
.testi-tag {
  display: inline-block; background: var(--green-l); color: var(--green);
  font-size: .72rem; font-weight: 700;
  padding: .2rem .65rem; border-radius: 50px; margin-top: .4rem;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section { padding: 90px 7%; background: var(--bg); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
.contact-blocks { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.75rem; }
.c-block {
  display: flex; gap: .9rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 1.1rem 1.25rem; align-items: flex-start;
  transition: border-color .2s, box-shadow .2s;
}
.c-block:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.c-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--accent-l); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.c-block strong { display: block; font-size: .85rem; font-weight: 800; margin-bottom: 2px; }
.c-block a, .c-block span { font-size: .85rem; color: var(--sub); text-decoration: none; }
.c-block a:hover { color: var(--accent); }

/* Contact Form (WP) */
.contact-form-wrap {
  background: var(--bg2); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 2.5rem;
}
.contact-form-wrap h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 1.75rem; }
.wpcf7-form .form-row,
.contact-form-wrap .form-row { margin-bottom: 1.1rem; }
.wpcf7-form label,
.contact-form-wrap label {
  display: block; font-size: .78rem; font-weight: 800;
  color: var(--sub); text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: .45rem;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea,
.contact-form-wrap input,
.contact-form-wrap select,
.contact-form-wrap textarea {
  width: 100%; background: #fff;
  border: 1.5px solid var(--border); border-radius: 9px;
  color: var(--text); padding: .75rem 1rem;
  font-family: 'Manrope', sans-serif; font-size: .95rem;
  outline: none; resize: vertical;
  transition: border-color .15s, box-shadow .15s;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus,
.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,70,229,.12);
}
.wpcf7-form input[type="submit"],
.contact-form-wrap .submit-btn {
  width: 100%; background: var(--accent); border: none;
  border-radius: 11px; color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem; font-weight: 800;
  padding: .95rem; cursor: pointer;
  box-shadow: 0 4px 18px rgba(79,70,229,.28);
  transition: background .15s, transform .15s;
  margin-top: .5rem;
}
.wpcf7-form input[type="submit"]:hover,
.contact-form-wrap .submit-btn:hover { background: var(--accent-h); transform: translateY(-1px); }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section { padding: 90px 7%; background: var(--bg2); }
.faq-list { margin-top: 2.5rem; max-width: 780px; }
.faq-item {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  margin-bottom: .85rem; background: #fff;
  overflow: hidden; transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-q {
  width: 100%; background: none; border: none;
  padding: 1.2rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'Manrope', sans-serif;
  font-size: .95rem; font-weight: 700; color: var(--text);
  cursor: pointer; text-align: left; gap: 1rem;
}
.faq-arrow { font-size: .75rem; color: var(--sub); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s;
  padding: 0 1.5rem;
  font-size: .875rem; color: var(--sub); line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 1.5rem 1.25rem; }

/* ============================================================
   ESPACE CLIENT / LOGIN PAGE
   ============================================================ */
.client-space-section {
  min-height: calc(100vh - 70px);
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 1.5rem; background: var(--bg2);
  position: relative; overflow: hidden;
}
.client-space-section::before {
  content: '';
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,.1) 0%, transparent 70%);
  top: -200px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.login-box {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 20px; padding: 2.75rem;
  width: 100%; max-width: 440px;
  box-shadow: var(--shadow-lg); position: relative; z-index: 1;
}
.login-logo { display: flex; flex-direction: column; align-items: center; margin-bottom: 2rem; }
.login-logo .login-icon-box {
  width: 48px; height: 48px; background: var(--accent);
  border-radius: 14px; display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; margin-bottom: .75rem;
}
.login-logo h2 { font-size: 1.3rem; text-align: center; }
.login-logo p  { font-size: .85rem; color: var(--sub); text-align: center; margin-top: .3rem; }
.login-error {
  background: var(--red-l); border: 1px solid #fecaca;
  border-radius: 9px; padding: .75rem 1rem;
  font-size: .85rem; color: var(--red); font-weight: 600;
  margin-bottom: 1rem; display: none;
}
.login-error.show { display: block; }
.login-divider { display: flex; align-items: center; gap: .75rem; margin: 1.5rem 0; color: var(--sub); font-size: .8rem; font-weight: 600; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.quick-access { display: flex; flex-direction: column; gap: .65rem; }
.quick-btn {
  display: flex; align-items: center; gap: .85rem;
  padding: .85rem 1.1rem;
  border: 1.5px solid var(--border); border-radius: 10px;
  text-decoration: none; color: var(--text);
  font-weight: 700; font-size: .875rem;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.quick-btn:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.quick-btn .qicon {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 70px 7% 60px; background: var(--bg2);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,.1) 0%, transparent 70%);
  top: -200px; right: -100px; pointer-events: none;
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
.page-hero .page-sub { color: var(--sub); max-width: 580px; font-size: 1.02rem; margin-top: .85rem; }

/* Values grid */
.values-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem; margin-top: 2.5rem;
}
.val-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem; text-align: center;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.val-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.val-icon { font-size: 2rem; margin-bottom: .85rem; display: block; }
.val-card h3 { font-size: .95rem; font-weight: 800; margin-bottom: .4rem; }
.val-card p  { font-size: .85rem; color: var(--sub); line-height: 1.6; }

/* CTA Band */
.cta-band {
  background: var(--accent-l); border: 1.5px solid rgba(79,70,229,.2);
  border-radius: var(--radius); padding: 2.5rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; margin-top: 3.5rem;
}
.cta-band h3 { font-size: 1.2rem; font-weight: 900; margin-bottom: .4rem; }
.cta-band p  { font-size: .9rem; color: var(--sub); }

/* Note band */
.note-band {
  background: var(--accent-l); border: 1.5px solid rgba(79,70,229,.2);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  margin-top: 2rem; font-size: .9rem; color: var(--accent); font-weight: 600;
}

/* Rating banner */
.rating-banner {
  display: flex; gap: 2.5rem; flex-wrap: wrap; justify-content: center;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 2.5rem;
  box-shadow: var(--shadow); margin-top: 2.5rem;
}
.rate-block { text-align: center; }
.rate-block .big { font-size: 2.2rem; font-weight: 900; color: var(--text); }
.rate-block .rate-stars { color: #f59e0b; font-size: 1rem; letter-spacing: 2px; margin: .25rem 0; }
.rate-block > span { font-size: .82rem; color: var(--sub); font-weight: 600; }
.rate-sep { width: 1px; background: var(--border); align-self: stretch; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--text); color: #e5e7eb;
  padding: 3.5rem 7% 2rem;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3.5rem;
}
.footer-brand .logo-text { font-size: 1.1rem; font-weight: 900; color: #fff; }
.footer-brand p { font-size: .875rem; color: #9ca3af; margin-top: .75rem; max-width: 280px; line-height: 1.7; }
#site-footer h4 { font-size: .8rem; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
#site-footer ul { list-style: none; }
#site-footer ul li { margin-bottom: .55rem; }
#site-footer ul li a { color: #9ca3af; text-decoration: none; font-size: .875rem; transition: color .15s; }
#site-footer ul li a:hover { color: #fff; }
.footer-bottom { grid-column: 1/-1; padding-top: 1.5rem; border-top: 1px solid #374151; text-align: center; font-size: .8rem; color: #6b7280; }

/* ============================================================
   WIDGETS & SIDEBAR
   ============================================================ */
.widget { margin-bottom: 2rem; }
.widget-title { font-size: 1rem; font-weight: 800; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--accent-l); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid, .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .plans-row { grid-template-columns: 1fr; }
  #site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  #primary-navigation { display: none; }
  #primary-navigation.open { display: block; position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 1rem 7%; box-shadow: var(--shadow); }
  #primary-navigation.open ul { flex-direction: column; gap: 0; }
  #primary-navigation.open ul li a { display: block; padding: .75rem 0; border-bottom: 1px solid var(--border); color: var(--text); }
  .menu-toggle { display: block; }
  #site-header { position: relative; }
}

@media (max-width: 600px) {
  #site-footer { grid-template-columns: 1fr; gap: 2rem; }
  .rating-banner { gap: 1.5rem; flex-direction: column; }
  .rate-sep { display: none; }
  .cta-band { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .plans-row { grid-template-columns: 1fr; }
}

/* ============================================================
   ADMIN BAR OFFSET
   ============================================================ */
.admin-bar #site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar #site-header { top: 46px; } }
