/*
Theme Name: 123 Flytting Bright
Template: generatepress
Author: 123 Flytting
Version: 2.0
Description: Bright, interactive child theme for transport123.no
*/

/* ============ TOKENS ============ */
:root {
  --c-primary: #f97316;
  --c-primary-dark: #ea580c;
  --c-primary-soft: #fff7ed;
  --c-primary-glow: rgba(249,115,22,.35);

  --c-navy: #0f172a;
  --c-navy-2: #1e293b;
  --c-navy-3: #334155;

  --c-slate: #475569;
  --c-slate-2: #64748b;
  --c-muted: #94a3b8;
  --c-line: #e2e8f0;
  --c-line-soft: #f1f5f9;

  --c-bg: #ffffff;
  --c-bg-soft: #fafaf9;
  --c-bg-cream: #fefce8;
  --c-bg-sky: #f0f9ff;

  --c-success: #10b981;
  --c-star: #fbbf24;
  --c-blue: #3b82f6;
  --c-violet: #8b5cf6;
  --c-pink: #ec4899;
  --c-teal: #14b8a6;

  --grad-primary: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  --grad-hero: linear-gradient(135deg, #fff7ed 0%, #ffffff 40%, #f0f9ff 100%);
  --grad-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --grad-text: linear-gradient(135deg, #0f172a 0%, #ea580c 100%);

  --shadow-xs: 0 1px 2px rgba(15,23,42,.05);
  --shadow-sm: 0 2px 6px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --shadow-md: 0 8px 20px -6px rgba(15,23,42,.1), 0 4px 8px -2px rgba(15,23,42,.05);
  --shadow-lg: 0 24px 48px -12px rgba(15,23,42,.18), 0 8px 16px -4px rgba(15,23,42,.08);
  --shadow-orange: 0 8px 24px -4px rgba(249,115,22,.35);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--c-navy);
  background: var(--c-bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site { background: var(--c-bg); }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  color: var(--c-navy);
  letter-spacing: -0.025em;
  line-height: 1.15;
  font-weight: 800;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 1.2rem; }
h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 3rem 0 1.2rem;
  position: relative;
  padding-top: 1rem;
}
h2::before {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: var(--grad-primary);
  border-radius: 2px;
  margin-bottom: 1rem;
}
h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); margin: 1.8rem 0 .7rem; }

p { margin: 0 0 1rem; color: var(--c-slate); }
p strong, li strong { color: var(--c-navy); font-weight: 700; }

a { color: var(--c-primary-dark); text-decoration: none; transition: color .2s; font-weight: 500; }
a:hover { color: var(--c-primary); }

/* ============ HEADER ============ */
.site-header {
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  position: sticky !important;
  top: 0;
  z-index: 1000;
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.site-header.is-scrolled {
  box-shadow: 0 4px 24px -4px rgba(15,23,42,.08);
  border-bottom-color: var(--c-line);
  background: rgba(255,255,255,.98) !important;
}

.inside-header { padding: 1rem 2rem; }

/* Text-based logo (domain-style) — injected HTML */
.site-logo, .header-image { display: none !important; }
.site-description { display: none !important; }
.site-branding { display: flex !important; align-items: center; padding: 0 !important; }
.main-title { margin: 0 !important; padding: 0 !important; line-height: 1 !important; }
.main-title a {
  display: inline-flex !important;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--c-navy) !important;
}
.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad-primary);
  box-shadow: var(--shadow-orange);
  flex-shrink: 0;
  position: relative;
}
.brand-icon::before {
  content: '';
  position: absolute;
  inset: 8px 6px 10px 6px;
  background:
    radial-gradient(circle at 22% 82%, #fff 2.5px, transparent 3px),
    radial-gradient(circle at 78% 82%, #fff 2.5px, transparent 3px),
    linear-gradient(180deg, rgba(255,255,255,.95) 0 42%, transparent 42% 58%, rgba(255,255,255,.95) 58% 75%, transparent 75%);
}
.brand-text {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
  font-family: var(--font);
}
.bt-a { color: var(--c-navy); }
.bt-b { color: var(--c-primary); }
.bt-c { color: var(--c-slate-2); font-weight: 600; }

/* Header layout — single row */
.site-header .inside-header {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  gap: 2rem;
  background: transparent !important;
}
.navigation-branding, .site-logo, .header-widget { flex: 0 0 auto; }
.main-navigation {
  background: transparent !important;
  flex: 1 1 auto;
}
.main-navigation .inside-navigation {
  background: transparent !important;
  padding: 0 !important;
  display: flex;
  justify-content: flex-end;
}
.menu-toggle { background: transparent !important; color: var(--c-navy) !important; }

/* Navigation — compact, light, inline */
.main-navigation,
.main-navigation .inside-navigation,
.main-navigation .main-nav,
.main-navigation .main-nav ul {
  background: transparent !important;
}
.main-navigation .main-nav > ul {
  display: flex;
  gap: .15rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.main-navigation .main-nav ul li {
  background: transparent !important;
  line-height: 1;
}
.main-navigation .main-nav ul li a {
  font-weight: 600;
  color: var(--c-navy) !important;
  background: transparent !important;
  padding: .55rem .8rem !important;
  transition: color .2s, background .2s;
  position: relative;
  font-size: .92rem;
  line-height: 1.3 !important;
  border-radius: 8px;
  white-space: nowrap;
}
.main-navigation .main-nav ul li a:hover {
  color: var(--c-primary-dark) !important;
  background: var(--c-primary-soft) !important;
}
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current-menu-parent > a,
.main-navigation .main-nav ul li.current-menu-ancestor > a {
  color: var(--c-primary-dark) !important;
  background: var(--c-primary-soft) !important;
}
.main-navigation .main-nav ul li a::after { display: none !important; }

/* Dropdown indicator */
.main-navigation .main-nav ul li.menu-item-has-children > a::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: .4rem;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='3' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  vertical-align: middle;
  transition: transform .2s;
}
.main-navigation .main-nav ul li.menu-item-has-children:hover > a::before {
  transform: rotate(180deg);
}
.dropdown-menu-toggle { display: none !important; }

/* Submenu — solid opaque white card */
.main-navigation ul ul,
.main-navigation .sub-menu,
.main-navigation ul li.menu-item-has-children ul {
  background-color: #ffffff !important;
  background-image: none !important;
  opacity: 1 !important;
  border: 1px solid var(--c-line) !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 20px 40px -8px rgba(15,23,42,.18), 0 8px 16px -4px rgba(15,23,42,.08) !important;
  padding: .5rem !important;
  margin-top: .25rem !important;
  min-width: 240px;
  z-index: 10000 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.main-navigation ul ul li,
.main-navigation .sub-menu li {
  width: 100%;
  background-color: transparent !important;
}
.main-navigation ul ul li a,
.main-navigation .sub-menu li a {
  background-color: transparent !important;
  border-radius: 8px !important;
  padding: .6rem .85rem !important;
  font-size: .88rem !important;
  color: var(--c-slate) !important;
  width: 100%;
  display: block;
  line-height: 1.4 !important;
}
.main-navigation ul ul li a:hover,
.main-navigation .sub-menu li a:hover {
  background-color: var(--c-primary-soft) !important;
  color: var(--c-primary-dark) !important;
}

/* Ensure dropdown sits above all page content */
.main-navigation { z-index: 1001; }
.site-header { z-index: 1000; }

/* Header CTA */
.menu-item-cta { margin-left: .75rem !important; }
.menu-item-cta a,
.header-cta {
  display: inline-flex !important;
  align-items: center;
  gap: .45rem;
  background: var(--grad-primary) !important;
  color: #fff !important;
  padding: .65rem 1.15rem !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: .9rem !important;
  transition: transform .2s, box-shadow .2s !important;
  box-shadow: var(--shadow-orange) !important;
  white-space: nowrap;
}
.menu-item-cta a::before, .header-cta::before {
  content: '';
  width: 16px; height: 16px;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.menu-item-cta a:hover, .header-cta:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(249,115,22,.55) !important;
}
.menu-item-cta a::after { display: none !important; }

/* Header spacing tightening */
.site-header .inside-header {
  padding: .85rem 1.5rem !important;
}

/* Hide dropdown dropdown-menu-toggle arrows from GeneratePress */
.main-navigation button.menu-toggle,
.main-navigation .menu-toggle { display: none !important; }
@media (max-width: 1100px) {
  .main-navigation button.menu-toggle { display: flex !important; }
  .main-navigation .main-nav { display: none; }
  .main-navigation.toggled .main-nav { display: block; }
  .main-navigation .main-nav > ul { flex-direction: column; align-items: stretch; }
}

/* Scale down nav at narrow widths */
@media (max-width: 1240px) and (min-width: 1100px) {
  .main-navigation .main-nav ul li a { padding: .55rem .6rem !important; font-size: .86rem !important; }
  .menu-item-cta a { padding: .6rem .9rem !important; font-size: .85rem !important; }
  .brand-text { font-size: 1.35rem; }
  .brand-icon { width: 38px; height: 38px; }
}

/* ============ HERO (home) ============ */
body.is-home .entry-header { display: none !important; }
body.is-home .site-main { padding-top: 0 !important; }
body.is-home .inside-article,
body.is-home .entry-content,
body.is-home article.page,
body.is-home #primary,
body.is-home .content-area {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  background: transparent !important;
  border: none !important;
}
body.is-home .site-content,
body.is-home .site-content .container,
body.is-home .site-content .grid-container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}
body.is-home .site { overflow-x: hidden; }

.hero-section {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  padding: clamp(5rem, 9vw, 9rem) 1.5rem clamp(4rem, 7vw, 7rem);
  background:
    radial-gradient(ellipse at 15% 10%, rgba(249,115,22,.14) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(59,130,246,.08) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(249,115,22,.06) 0%, transparent 60%),
    linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
  overflow: hidden;
  box-sizing: border-box;
  left: 0;
  right: 0;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 2px 2px, rgba(15,23,42,.04) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #fff;
  color: var(--c-navy);
  font-size: .88rem;
  font-weight: 600;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.75rem;
  animation: slideUp .6s cubic-bezier(.2,.8,.2,1) both;
}
.hero-badge .star { color: var(--c-star); font-size: 1rem; }
.hero-badge strong { color: var(--c-primary-dark); }

.hero-section h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem) !important;
  margin: 0 auto 1.5rem !important;
  max-width: 20ch;
  line-height: 1.05 !important;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideUp .8s cubic-bezier(.2,.8,.2,1) both;
  padding: 0 !important;
  text-align: center !important;
}
.hero-section h1::before { display: none; }

.hero-lead {
  max-width: 720px;
  margin: 0 auto 2rem;
  animation: slideUp .8s .1s cubic-bezier(.2,.8,.2,1) both;
}
.hero-lead p {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--c-slate);
  line-height: 1.6;
  margin: 0 0 .8rem;
  text-align: center;
}
.hero-lead p strong { color: var(--c-navy); }

.hero-cta {
  margin: 2rem 0;
  animation: slideUp .8s .2s cubic-bezier(.2,.8,.2,1) both;
  display: flex;
  justify-content: center;
}
.hero-cta .wp-block-buttons { justify-content: center; margin: 0; }
.hero-cta .wp-block-button__link {
  padding: 1.1rem 2.4rem !important;
  font-size: 1.05rem !important;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  max-width: 880px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(15,23,42,.08);
  animation: slideUp .8s .3s cubic-bezier(.2,.8,.2,1) both;
}
.ht-item { text-align: center; }
.ht-n {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: var(--c-primary-dark);
  line-height: 1;
  letter-spacing: -.02em;
}
.ht-l {
  font-size: .78rem;
  color: var(--c-slate-2);
  margin-top: .35rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
}

/* After-hero content gets proper container */
body.is-home .hero-section ~ *,
body.is-home .entry-content > *:not(.hero-section) {
  max-width: 1100px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (max-width: 640px) {
  .hero-trust { grid-template-columns: repeat(3, 1fr); }
  .hero-trust .ht-item:nth-child(n+4) { display: none; }
}

/* ============ BUTTONS ============ */
.wp-block-button__link,
.wp-block-button a,
button.wp-block-button__link,
input[type=submit],
.wpcf7 input[type=submit] {
  background: var(--grad-primary) !important;
  color: #fff !important;
  padding: 1rem 2rem !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  border: none !important;
  box-shadow: var(--shadow-orange) !important;
  transition: transform .25s, box-shadow .25s !important;
  display: inline-flex !important;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  text-decoration: none !important;
}
.wp-block-button__link::after { content: '→'; transition: transform .25s; }
.wp-block-button__link:hover,
.wp-block-button a:hover,
input[type=submit]:hover,
.wpcf7 input[type=submit]:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -6px rgba(249,115,22,.55) !important;
}
.wp-block-button__link:hover::after { transform: translateX(5px); }

.wp-block-buttons { margin: 2rem 0; }

/* Secondary button */
.wp-block-button.is-style-outline .wp-block-button__link {
  background: #fff !important;
  color: var(--c-navy) !important;
  border: 2px solid var(--c-line) !important;
  box-shadow: var(--shadow-xs) !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: var(--c-primary) !important;
  color: var(--c-primary-dark) !important;
}

/* ============ LISTS (as cards) ============ */
.entry-content ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
  display: grid;
  gap: .75rem;
}

/* Multi-column for service/area lists */
.entry-content > ul {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.entry-content ul li {
  position: relative;
  padding: 1rem 1.1rem 1rem 3.2rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  transition: border-color .25s, transform .25s, box-shadow .25s, background .25s;
  color: var(--c-slate);
  line-height: 1.5;
}
.entry-content ul li:hover {
  border-color: var(--c-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: #fff;
}
.entry-content ul li::before {
  content: '';
  position: absolute;
  left: .9rem;
  top: 1.1rem;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--grad-primary);
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"), var(--grad-primary);
  background-size: 14px, 100%;
  background-position: center, center;
  background-repeat: no-repeat;
  box-shadow: 0 2px 6px rgba(249,115,22,.3);
}
.entry-content ul li a { font-weight: 600; color: var(--c-navy); }
.entry-content ul li a:hover { color: var(--c-primary-dark); }
.entry-content ul li strong { color: var(--c-navy); }

/* Nested lists kept simple */
.entry-content ul ul {
  margin: .5rem 0 0;
  display: block;
}
.entry-content ul ul li {
  background: transparent;
  border: none;
  padding: .25rem 0 .25rem 1.3rem;
  margin: 0;
}
.entry-content ul ul li:hover { transform: none; box-shadow: none; }
.entry-content ul ul li::before {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-primary); background-image: none;
  box-shadow: none; top: .85rem; left: .35rem;
}

/* Ordered lists */
.entry-content ol { counter-reset: step; list-style: none; padding: 0; display: grid; gap: .75rem; }
.entry-content ol li {
  counter-increment: step;
  padding: 1rem 1rem 1rem 3.5rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  position: relative;
}
.entry-content ol li::before {
  content: counter(step);
  position: absolute;
  left: .8rem;
  top: 1rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-orange);
}

/* ============ TABLES ============ */
.entry-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-line);
}
.entry-content th, .entry-content td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--c-line-soft);
}
.entry-content th {
  background: var(--grad-dark);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.entry-content tr:last-child td { border-bottom: none; }
.entry-content tr:hover td { background: var(--c-primary-soft); }

/* ============ FAQ ACCORDION ============ */
.faq-list { margin: 1rem 0 2rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  margin: .75rem 0;
  overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}
.faq-item:hover { border-color: var(--c-primary); }
.faq-item.open {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, var(--c-primary-soft) 0%, #fff 100%);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-navy);
  user-select: none;
}
.faq-question::after {
  content: '';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-primary-soft);
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea580c' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E"), var(--c-primary-soft);
  background-size: 14px, 100%;
  background-position: center, center;
  background-repeat: no-repeat;
  transition: transform .3s, background .3s;
}
.faq-item.open .faq-question::after {
  transform: rotate(45deg);
  background: var(--grad-primary);
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E"), var(--grad-primary);
  background-size: 14px, 100%;
  background-position: center, center;
  background-repeat: no-repeat;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .3s;
  padding: 0 1.5rem;
}
.faq-item.open .faq-answer { max-height: 700px; padding: 0 1.5rem 1.5rem; }
.faq-answer p { color: var(--c-slate); margin: 0; }

/* ============ FLOATING CTA ============ */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--grad-primary);
  color: #fff !important;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 12px 32px -4px rgba(249,115,22,.55);
  z-index: 999;
  animation: pulse 2.5s infinite;
  transition: transform .2s;
}
.floating-cta:hover { transform: scale(1.08); color: #fff !important; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 32px -4px rgba(249,115,22,.55), 0 0 0 0 rgba(249,115,22,.45); }
  50% { box-shadow: 0 12px 32px -4px rgba(249,115,22,.55), 0 0 0 18px rgba(249,115,22,0); }
}

/* ============ TRUST BAR ============ */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  padding: 2rem;
  margin: 3rem 0;
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-2) 100%);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.trust-bar::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249,115,22,.2) 0%, transparent 70%);
  pointer-events: none;
}
.trust-item { text-align: center; position: relative; z-index: 1; }
.trust-item .num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1;
  background: linear-gradient(135deg, #fed7aa 0%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.trust-item .label {
  font-size: .82rem;
  color: #94a3b8;
  margin-top: .4rem;
  display: block;
  letter-spacing: .02em;
}

/* ============ BLOG (posts) ============ */
.site-main > .entry {
  background: #fff;
  padding: 0 !important;
}
.entry-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.entry-meta {
  color: var(--c-slate-2);
  font-size: .9rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-line);
}

/* Post excerpt cards on blog list */
.archive .entry, .blog .entry {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 2rem !important;
  margin-bottom: 1.5rem;
  transition: border-color .2s, box-shadow .2s;
}
.archive .entry:hover, .blog .entry:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-md);
}

/* ============ SIDEBAR ============ */
.widget-area .widget {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-xs);
}
.widget-title, .widget h2, .widget h3 {
  font-size: 1.05rem !important;
  margin: 0 0 1rem !important;
  padding: 0 !important;
  color: var(--c-navy);
}
.widget-title::before, .widget h2::before, .widget h3::before { display: none; }
.widget a {
  color: var(--c-slate);
  display: block;
  padding: .4rem 0;
  border-bottom: 1px solid var(--c-line-soft);
  font-weight: 500;
}
.widget a:hover { color: var(--c-primary-dark); }
.widget li { list-style: none; }
.widget ul { padding: 0; margin: 0; }

/* ============ CONTACT FORM 7 ============ */
.wpcf7 {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}
.wpcf7 label {
  display: block;
  margin-bottom: 1.2rem;
  font-weight: 600;
  color: var(--c-navy);
  font-size: .92rem;
}
.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=tel],
.wpcf7 input[type=date],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--c-bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s;
  margin-top: .35rem;
}
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(249,115,22,.12);
  background: #fff;
}

/* ============ BREADCRUMBS ============ */
.rank-math-breadcrumb, .breadcrumbs {
  font-size: .85rem;
  color: var(--c-slate-2);
  margin-bottom: 1.5rem;
}
.rank-math-breadcrumb a, .breadcrumbs a { color: var(--c-slate); font-weight: 500; }

/* ============ FOOTER ============ */
.site-footer, .footer-widgets {
  background: var(--grad-dark) !important;
  color: #cbd5e1 !important;
  padding-top: 3rem !important;
}
.footer-widgets .widget {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  color: #cbd5e1;
}
.footer-widgets .widget-title {
  color: #fff !important;
  font-size: 1rem !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.25rem !important;
}
.footer-widgets .widget a { color: #cbd5e1 !important; border-bottom-color: rgba(255,255,255,.05); }
.footer-widgets .widget a:hover { color: var(--c-primary) !important; }
.site-info {
  background: #020617 !important;
  color: #64748b !important;
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 1.5rem 0 !important;
  font-size: .85rem;
}
.site-info a { color: var(--c-primary) !important; }

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ CONTAINER / LAYOUT — FULL WIDTH, NO SIDEBAR ============ */
.container, .grid-container,
.site.grid-container, .inside-header,
.main-navigation .inside-navigation {
  max-width: 100% !important;
}

.grid-container.grid-parent { padding: 0 !important; }

body.is-home .site,
body.is-home .inside-article {
  background: #fff;
}

.site-content { padding: 2rem 0 4rem; }

/* Kill sidebar entirely */
#right-sidebar, #left-sidebar,
.sidebar, .widget-area.sidebar,
aside.is-right-sidebar, aside.is-left-sidebar {
  display: none !important;
}

/* Expand content to full width */
#primary.content-area,
.content-area,
.site-main,
.inside-article {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

.inside-article, .entry-content {
  max-width: 1100px;
  margin: 0 auto !important;
}

body.is-home .inside-article,
body.is-home .entry-content {
  max-width: 100%;
}

body.is-home .entry-content > *:not(h1):not(.wp-block-buttons) {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

body.is-home .entry-content > h2,
body.is-home .entry-content > h3 {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  body { font-size: 16px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .inside-header { padding: .75rem 1rem; }
  .site-title a::before { width: 36px; height: 36px; }
  .site-title a::after { font-size: 1.2rem; }
  .entry-content ul li { padding-left: 3rem; }
  .floating-cta { width: 56px; height: 56px; bottom: 1rem; right: 1rem; font-size: 1.2rem; }
  .trust-bar { padding: 1.5rem; }
  .trust-item .num { font-size: 1.6rem; }
  body.is-home .entry-content > h1:first-child { padding: 3rem 1rem 1rem; }
  .menu-item-cta { display: none; }
}

@media (max-width: 480px) {
  .entry-content > ul { grid-template-columns: 1fr; }
}

/* ============ PRINT ============ */
@media print {
  .site-header, .site-footer, .floating-cta, .wp-block-buttons { display: none; }
}
