/*
Theme Name: Delta Towing
Theme URI: https://deltatowing.com/
Author: ConnectWeb SD
Author URI: https://connectwebsd.com/
Description: Premium 24/7 towing & roadside assistance theme for Delta Towing — San Bernardino, Fontana, Highland & surrounding areas. Mobile-first, SEO-optimized, fully editable via WordPress Customizer.
Version: 1.0.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: delta-towing
Tags: business, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, theme-options
*/

/* =========================================================
   DESIGN TOKENS — Delta Towing
   ========================================================= */
:root {
  --background: #ffffff;
  --foreground: #131720;
  --card: #ffffff;
  --muted: #f3f4f7;
  --muted-foreground: #5f6772;
  --border: #e3e6ec;

  --brand-navy: #141f33;
  --brand-graphite: #262c36;
  --brand-steel: #565f6d;
  --brand-red: #e22a2a;
  --brand-red-dark: #b71f1f;
  --brand-amber: #fbb216;
  --brand-amber-dark: #ef9709;

  --gradient-hero: linear-gradient(135deg, rgba(13,21,38,0.92) 0%, rgba(28,40,62,0.85) 50%, rgba(130,30,30,0.55) 100%);
  --gradient-dark: linear-gradient(180deg, #131c2b 0%, #1c2434 100%);
  --gradient-red: linear-gradient(135deg, #ef3535 0%, #c01818 100%);
  --gradient-amber: linear-gradient(135deg, #fdbd2c 0%, #f48618 100%);
  --gradient-emergency: linear-gradient(120deg, #131c2b 0%, #1d2638 60%, #5b1717 100%);

  --shadow-elegant: 0 20px 60px -20px rgba(15,22,38,0.35);
  --shadow-card: 0 8px 30px -12px rgba(28,36,56,0.18);
  --shadow-red: 0 12px 40px -12px rgba(226,42,42,0.5);

  --radius: 14px;

  --transition: all .35s cubic-bezier(.4,0,.2,1);

  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; margin: 0; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

/* =========================================================
   LAYOUT HELPERS
   ========================================================= */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-muted { background: #f7f8fa; }
.section-dark { background: var(--gradient-dark); color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .18em;
  color: var(--brand-red);
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--brand-red);
}
.lead { font-size: 1.1rem; color: var(--muted-foreground); max-width: 720px; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem; line-height: 1; transition: var(--transition); }
.btn-call { background: var(--gradient-red); color: #fff; box-shadow: var(--shadow-red); }
.btn-call:hover { transform: translateY(-2px); filter: brightness(1.08); color: #fff; }
.btn-amber {
  background: var(--gradient-amber);
  color: #1a2236;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset;
}
.btn-amber:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(251,178,22,.35); }
.btn-ghost-light { color: #fff; border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline { border: 1.5px solid var(--brand-red); color: var(--brand-red); }
.btn-outline:hover { background: var(--brand-red); color: #fff; }

@keyframes pulse-glow {
  0%,100% { box-shadow: 0 0 0 0 rgba(226,42,42,.6); }
  50% { box-shadow: 0 0 0 14px rgba(226,42,42,0); }
}
.pulse-glow { animation: pulse-glow 2s infinite; }

/* =========================================================
   TOP BAR
   ========================================================= */
.topbar { background: var(--brand-navy); color: #fff; font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; gap: 20px; }
.topbar-meta { display: none; gap: 22px; color: rgba(255,255,255,.8); }
.topbar-meta span, .topbar-meta a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-meta .ico { color: var(--brand-amber); }
.topbar-cta { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.topbar-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.dot { position: relative; width: 8px; height: 8px; }
.dot::before { content:""; position:absolute; inset:0; border-radius:50%; background: var(--brand-red); animation: ping 1.6s infinite; opacity:.7; }
.dot::after { content:""; position:absolute; inset:0; border-radius:50%; background: var(--brand-red); }
@keyframes ping { 75%,100% { transform: scale(2.2); opacity: 0; } }
.topbar-phone { color: var(--brand-amber); font-weight: 800; }
.topbar-phone:hover { color: #fff; }
@media (min-width: 768px) { .topbar-meta { display: flex; } }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-card); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 auto; max-width: 320px; }
.brand img { height: 54px; width: 54px; object-fit: contain; border-radius: 10px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; justify-content: center; line-height: 1.02; min-width: 0; overflow: hidden; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-tag { font-size: .58rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--brand-steel); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.primary-nav { display: none; flex: 0 1 auto; align-items: center; justify-content: center; }
.primary-nav ul { display: flex; align-items: center; gap: 32px; }
.primary-nav li { margin: 0; }
.primary-nav a { font-size: .9rem; font-weight: 600; color: rgba(19,23,32,.8); }
.primary-nav a:hover, .primary-nav .current-menu-item a { color: var(--brand-red); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.estimate-link { display: none !important; font-size: .9rem; font-weight: 600; color: rgba(19,23,32,.88); padding: 8px 14px; border-radius: 999px; }
.estimate-link:hover { color: var(--brand-red); }
.header-call { padding: 9px 14px; font-size: .82rem; min-width: 0; white-space: nowrap; }
.header-call .label-desktop { display: none !important; }
.header-call .label-mobile { display: inline !important; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--border); background: #fff;
  color: #1391ff;
}
.menu-toggle svg { width: 20px; height: 20px; }

.mobile-nav { display: none; border-top: 1px solid var(--border); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; padding: 12px 20px 6px; gap: 4px; }
.mobile-nav li { margin: 0; }
.mobile-nav a { display: block; padding: 12px 4px; font-weight: 600; font-size: 1rem; color: rgba(19,23,32,.85); }
.mobile-nav a:hover { color: var(--brand-red); }
.mobile-nav .btn { margin: 10px 20px 18px; justify-content: center; }

@media (min-width: 1024px) {
  .header-inner { min-height: 104px; gap: 24px; }
  .brand { max-width: 360px; }
  .brand img { height: 82px; width: 82px; }
  .brand-name { font-size: 1.25rem; }
  .brand-tag { font-size: .7rem; }
  .primary-nav { display: flex; }
  .estimate-link { display: inline-flex !important; }
  .menu-toggle { display: none; }
  .header-call { padding: 12px 24px; font-size: .9rem; }
  .header-call .label-desktop { display: inline !important; }
  .header-call .label-mobile { display: none !important; }
}

@media (max-width: 1023px) {
  .site-header { border-bottom: 1px solid rgba(227,230,236,.7); }
  .header-inner { min-height: 64px; gap: 8px; padding: 6px 0; }
  .brand { flex: 1 1 auto; min-width: 0; max-width: none; gap: 8px; }
  .brand img { height: 38px; width: 38px; }
  .brand-name { font-size: .95rem; }
  .brand-tag { font-size: .52rem; letter-spacing: .12em; }
  .header-actions { gap: 6px; flex-shrink: 0; }
  .estimate-link { display: none !important; }
  .header-call { padding: 8px 14px; font-size: .8rem; gap: 6px; }
  .header-call svg { width: 14px; height: 14px; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; background: var(--brand-navy); color: #fff; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: var(--gradient-hero); }
.hero-glow1, .hero-glow2 { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero-glow1 { top: -160px; right: -160px; width: 500px; height: 500px; background: rgba(226,42,42,.2); }
.hero-glow2 { bottom: -130px; left: -130px; width: 400px; height: 400px; background: rgba(251,178,22,.15); }
.hero-inner { position: relative; padding: 70px 0 90px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05);
  backdrop-filter: blur(6px); padding: 6px 16px; border-radius: 999px;
  font-size: .82rem; font-weight: 600;
}
.hero h1 { margin-top: 22px; color: #fff; }
.hero h1 .accent { color: var(--brand-amber); }
.hero-sub { margin-top: 16px; font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; color: rgba(255,255,255,.9); max-width: 640px; }
.hero-desc { margin-top: 14px; font-size: 1rem; color: rgba(255,255,255,.75); max-width: 660px; line-height: 1.7; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-phone { margin-top: 24px; display: flex; align-items: center; gap: 10px; }
.hero-phone .ico { color: var(--brand-amber); }
.hero-phone a { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem,3vw,1.9rem); color: #fff; }
.hero-phone a:hover { color: var(--brand-amber); }
.hero-area { margin-top: 8px; font-size: .9rem; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 6px; }
.hero-badges { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-badges li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.9); }
.hero-badges .ico { color: var(--brand-amber); }

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust-strip { position: relative; margin-top: -40px; z-index: 5; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-elegant); }
.trust-item { background: #fff; padding: 18px 14px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.trust-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-navy); color: var(--brand-amber); display: grid; place-items: center; }
.trust-item p { margin: 0; font-size: .85rem; font-weight: 600; }
.trust-item small { color: var(--muted-foreground); font-size: .72rem; }
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(6, 1fr); } }

/* =========================================================
   SERVICES GRID
   ========================================================= */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 40px; }
.service-card {
  background: #fff; border: 1px solid rgba(227,230,236,.6); border-radius: 18px;
  padding: 18px; box-shadow: var(--shadow-card); transition: var(--transition);
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); }
.service-card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-navy); color: var(--brand-amber); display: grid; place-items: center; flex-shrink: 0; }
.service-card h3 { margin: 14px 0 6px; font-size: 1rem; }
.service-card p { font-size: .82rem; color: var(--muted-foreground); margin: 0; line-height: 1.55; }
.service-card .more { margin-top: 14px; font-size: .8rem; font-weight: 700; color: var(--brand-red); display: inline-flex; align-items: center; gap: 6px; }
@media (min-width: 640px) {
  .services-grid { gap: 20px; }
  .service-card { padding: 24px; }
  .service-card h3 { font-size: 1.15rem; }
  .service-card p { font-size: .9rem; }
}
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-cta {
  margin-top: 50px; background: var(--gradient-dark); color: #fff;
  border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 16px; align-items: center; justify-content: center; text-align: center;
}
.service-cta p { margin: 0; font-weight: 700; font-size: 1.1rem; }
@media (min-width: 640px) { .service-cta { flex-direction: row; text-align: left; } }

/* =========================================================
   WHY CHOOSE
   ========================================================= */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 24px; transition: var(--transition); }
.why-card:hover { background: rgba(255,255,255,.08); border-color: rgba(251,178,22,.4); }
.why-card .icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(226,42,42,.15); color: var(--brand-amber); border: 1px solid rgba(251,178,22,.2); display: grid; place-items: center; }
.why-card h3 { font-size: 1rem; margin: 16px 0 6px; color: #fff; }
.why-card p { font-size: .85rem; color: rgba(255,255,255,.65); margin: 0; line-height: 1.55; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 60px; } }
.about-img-wrap { position: relative; }
.about-img { aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-elegant); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img-sm { position: absolute; bottom: -20px; right: -10px; width: 180px; aspect-ratio: 1; border-radius: 18px; overflow: hidden; border: 4px solid #fff; box-shadow: var(--shadow-elegant); }
.about-img-sm img { width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; top: -16px; left: -16px; background: var(--brand-red); color: #fff; padding: 12px 16px; border-radius: 16px; box-shadow: var(--shadow-elegant); display: none; align-items: center; gap: 10px; }
@media (min-width: 640px) { .about-badge { display: inline-flex; } }
.about-badge .num { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; }
.about-badge small { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; line-height: 1.2; }
.about-checks { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 28px 0; }
@media (min-width: 640px) { .about-checks { grid-template-columns: 1fr 1fr; } }
.about-checks li { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; }
.about-checks .ico { color: var(--brand-red); flex-shrink: 0; }

/* =========================================================
   PROCESS / HOW IT WORKS
   ========================================================= */
.process-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 50px; }
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(3, 1fr); } }
.process-card { background: #fff; border: 1px solid rgba(227,230,236,.6); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-card); text-align: center; }
.process-icon { position: relative; width: 80px; height: 80px; margin: 0 auto 18px; display: grid; place-items: center; }
.process-icon-bg { position: absolute; inset: 0; border-radius: 50%; background: rgba(226,42,42,.1); }
.process-icon-inner { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--gradient-dark); color: var(--brand-amber); display: grid; place-items: center; }
.process-num { position: absolute; top: -4px; right: -4px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-red); color: #fff; display: grid; place-items: center; font-size: .72rem; font-weight: 800; }
.process-card h3 { margin-top: 18px; }
.process-card p { color: var(--muted-foreground); margin: 0; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0; }
.gallery-filter { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--border); font-size: .85rem; font-weight: 600; background: #fff; color: var(--brand-graphite); }
.gallery-filter.active, .gallery-filter:hover { background: var(--brand-navy); color: #fff; border-color: var(--brand-navy); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.gallery-item { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-card); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,31,51,.85), transparent); opacity: .9; }
.gallery-item .caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; color: #fff; }
.gallery-item .caption small { font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-amber); }
.gallery-item .caption p { margin: 4px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
@media (min-width: 1024px) {
  .gallery-grid .gallery-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: 1; }
}

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; z-index: 9999; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; }
.lightbox .close { position: absolute; top: 20px; right: 20px; color: #fff; font-size: 2rem; background: rgba(255,255,255,.1); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }

/* =========================================================
   SERVICE AREAS
   ========================================================= */
.areas-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }
@media (min-width: 640px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .areas-grid { grid-template-columns: repeat(4, 1fr); } }
.area-card { position: relative; background: #fff; border: 1px solid rgba(227,230,236,.6); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-card); transition: var(--transition); overflow: hidden; }
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); }
.area-card .icon { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-navy); color: var(--brand-amber); display: grid; place-items: center; }
.area-card h3 { margin: 14px 0 6px; font-size: 1.15rem; }
.area-card p { font-size: .88rem; color: var(--muted-foreground); margin: 0 0 14px; line-height: 1.55; }
.area-card .call-link { font-size: .85rem; font-weight: 700; color: var(--brand-red); display: inline-flex; align-items: center; gap: 6px; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.tg { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
@media (min-width: 768px) { .tg { grid-template-columns: repeat(3, 1fr); } }
.t-card { background: #fff; border: 1px solid rgba(227,230,236,.6); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-card); }
.t-stars { color: var(--brand-amber); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 12px; }
.t-card p { color: var(--brand-graphite); font-size: .95rem; line-height: 1.65; margin: 0 0 16px; font-style: italic; }
.t-author { font-weight: 700; font-size: .9rem; }
.t-author small { display: block; color: var(--muted-foreground); font-weight: 500; font-size: .8rem; margin-top: 2px; }

/* =========================================================
   EMERGENCY CTA
   ========================================================= */
.emergency { position: relative; overflow: hidden; background: var(--gradient-emergency); color: #fff; padding: 70px 0; }
.emergency-grid { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
@media (min-width: 1024px) { .emergency-grid { grid-template-columns: 7fr 5fr; } }
.emergency .live { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; background: rgba(226,42,42,.2); border: 1px solid rgba(226,42,42,.4); border-radius: 999px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.emergency h2 { margin-top: 18px; color: #fff; }
.emergency p { color: rgba(255,255,255,.8); font-size: 1.05rem; }
.emergency-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: 18px; padding: 28px; backdrop-filter: blur(10px); }
.emergency-card small { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; color: var(--brand-amber); }
.emergency-card .num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.2rem); margin: 6px 0 18px; color: #fff; }
.emergency-card .num:hover { color: var(--brand-amber); }
.emergency-actions { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 480px) { .emergency-actions { flex-direction: row; } .emergency-actions .btn { flex: 1; } }
.emergency-actions .btn { min-height: 52px; }
.emergency-actions .btn-amber { justify-content: center; }

/* =========================================================
   FORMS / CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; } }
.contact-info { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.contact-row { display: flex; align-items: flex-start; gap: 12px; }
.contact-row .ico-wrap { width: 40px; height: 40px; border-radius: 12px; background: var(--muted); color: var(--brand-red); display: grid; place-items: center; flex-shrink: 0; }
.contact-row small { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-foreground); }
.contact-row .val { font-size: 1rem; font-weight: 600; }
.direct-call { display: inline-flex; align-items: center; gap: 14px; background: var(--gradient-dark); padding: 18px 22px; border-radius: 18px; color: #fff; box-shadow: var(--shadow-elegant); margin-top: 14px; }
.direct-call .ico-c { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-red); display: grid; place-items: center; }
.direct-call small { color: var(--brand-amber); font-size: .65rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.direct-call b { display: block; font-family: var(--font-display); font-size: 1.4rem; }

.form-card { background: #fff; border: 1px solid rgba(227,230,236,.6); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-elegant); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } .form-row .full { grid-column: 1 / -1; } }
.form-card label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 6px; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; height: 46px; border: 1px solid var(--border); border-radius: 12px;
  padding: 0 14px; font: inherit; font-size: .9rem; background: #fff;
  transition: var(--transition);
}
.form-card textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--brand-red); box-shadow: 0 0 0 3px rgba(226,42,42,.12); }
.form-foot { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 600px) { .form-foot { flex-direction: row; align-items: center; justify-content: space-between; } }
.form-note { font-size: .78rem; color: var(--muted-foreground); margin: 0; }
.form-note a { color: var(--brand-red); font-weight: 700; }
.form-message { margin-top: 14px; padding: 12px 16px; border-radius: 12px; font-size: .9rem; font-weight: 600; }
.form-message.success { background: #e8f7ee; color: #0f6f33; }
.form-message.error { background: #fdeaea; color: #b71f1f; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--gradient-dark); color: #fff; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-brand img { height: 96px; width: 96px; object-fit: contain; border-radius: 12px; }
.footer-brand .name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; display: block; margin-top: 10px; }
.footer-brand .tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .18em; color: rgba(255,255,255,.6); font-weight: 700; }
.footer-brand p { color: rgba(255,255,255,.7); font-size: .9rem; line-height: 1.6; margin-top: 16px; }
.site-footer h4 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 14px; color: #fff; }
.site-footer ul li { margin-bottom: 9px; font-size: .9rem; }
.site-footer ul a { color: rgba(255,255,255,.7); }
.site-footer ul a:hover { color: var(--brand-amber); }
.contact-footer li { display: flex; align-items: flex-start; gap: 8px; }
.contact-footer .ico { color: var(--brand-amber); flex-shrink: 0; margin-top: 3px; }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: var(--transition); }
.social-row a:hover { background: var(--brand-red); }
.footer-cta { margin-top: 50px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: space-between; }
@media (min-width: 640px) { .footer-cta { flex-direction: row; } }
.footer-cta p { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; text-align: center; }
.footer-cta .accent { color: var(--brand-amber); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: space-between; font-size: .78rem; color: rgba(255,255,255,.55); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }

/* =========================================================
   MOBILE STICKY CALL BAR
   ========================================================= */
.mobile-call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--gradient-dark); color: #fff; padding: 10px 12px;
  display: flex; align-items: center; gap: 10px; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 -6px 20px rgba(0,0,0,.25);
}
.mobile-call-bar .label { font-size: .78rem; font-weight: 600; }
.mobile-call-bar .label b { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--brand-amber); }
.mobile-call-bar .btn { padding: 10px 18px; font-size: .85rem; }
@media (min-width: 1024px) { .mobile-call-bar { display: none; } }
body.has-mobile-bar { padding-bottom: 70px; }
@media (min-width: 1024px) { body.has-mobile-bar { padding-bottom: 0; } }

/* =========================================================
   PAGE HEADER (interior pages)
   ========================================================= */
.page-header { background: var(--gradient-dark); color: #fff; padding: 70px 0 60px; text-align: center; position: relative; overflow: hidden; }
.page-header::before { content: ""; position: absolute; top: -100px; right: -100px; width: 360px; height: 360px; border-radius: 50%; background: rgba(226,42,42,.18); filter: blur(80px); }
.page-header::after { content: ""; position: absolute; bottom: -100px; left: -100px; width: 320px; height: 320px; border-radius: 50%; background: rgba(251,178,22,.12); filter: blur(80px); }
.page-header .container { position: relative; }
.page-header h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 14px; }
.page-header p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 680px; margin: 0 auto; }

/* =========================================================
   SERVICE DETAIL ROWS (services page)
   ========================================================= */
.svc-row { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; padding: 50px 0; border-bottom: 1px solid var(--border); }
.svc-row:last-child { border-bottom: 0; }
@media (min-width: 768px) { .svc-row { grid-template-columns: 1fr 1fr; gap: 50px; } .svc-row.reverse > .svc-img { order: 2; } }
.svc-img { aspect-ratio: 4/3; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-elegant); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.svc-bullets { margin: 18px 0 24px; display: grid; gap: 8px; }
.svc-bullets li { display: flex; align-items: flex-start; gap: 8px; font-size: .95rem; }
.svc-bullets li::before { content: "✓"; color: var(--brand-red); font-weight: 800; flex-shrink: 0; }

/* =========================================================
   404
   ========================================================= */
.error-404 { padding: 120px 0; text-align: center; }
.error-404 .big { font-family: var(--font-display); font-weight: 900; font-size: clamp(5rem, 14vw, 9rem); color: var(--brand-red); line-height: 1; margin: 0; }
.error-404 h1 { margin-top: 10px; }
.error-404 p { color: var(--muted-foreground); max-width: 540px; margin: 14px auto 30px; font-size: 1.05rem; }

/* =========================================================
   ANIMATIONS
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   ACCESSIBILITY
   ========================================================= */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(251,178,22,.6); outline-offset: 2px;
}
.screen-reader-text { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* WP core */
.alignwide { max-width: 1100px; margin: 0 auto; }
.alignfull { width: 100%; }
.aligncenter { display: block; margin: 0 auto; }
