/* ============================================================
   IBR SALDANA CONSTRUCTION – GLOBAL STYLESHEET
   ============================================================ */

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

:root {
  --navy:       #0d1f3c;
  --navy-mid:   #1a3260;
  --navy-light: #1e3d70;
  --red:        #c0281f;
  --red-dark:   #9e1f17;
  --red-light:  #d93a30;
  --gray-bg:    #f4f5f7;
  --gray-mid:   #e2e5ea;
  --gray-text:  #5a6270;
  --white:      #ffffff;
  --font:       'Inter', sans-serif;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.14);
  --radius:     6px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

/* ── PAGE TRANSITION ── */
.page-fade {
  animation: pageFadeIn 0.45s ease forwards;
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── PROGRESS BAR ── */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--red);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
}

/* ── CONTAINER ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── TOP BAR ── */
.top-bar {
  background: var(--navy);
  color: #a8b8d0;
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar a { color: #a8b8d0; transition: color var(--transition); }
.top-bar a:hover { color: var(--white); }
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-right { display: flex; gap: 20px; align-items: center; }

/* ── NAV ── */
nav {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
nav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.logo img {
  height: 58px;
  width: auto;
  display: block;
  transition: transform var(--transition);
}
.logo img:hover { transform: scale(1.02); }

/* Fallback text logo if image fails */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.logo-name span { color: var(--red); }
.logo-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-text);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-links a:hover { color: var(--red); background: rgba(192,40,31,0.06); }
.nav-links a.active { color: var(--red); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -13px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--red);
  border-radius: 2px 2px 0 0;
}
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
  background: var(--red-dark) !important;
  transform: translateY(-1px) !important;
}
.nav-cta.active::after { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-mid);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; padding: 8px 24px 16px; }
.mobile-menu ul li { border-bottom: 1px solid var(--gray-mid); }
.mobile-menu ul li:last-child { border-bottom: none; }
.mobile-menu ul li a {
  display: block;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
}
.mobile-menu ul li a.active,
.mobile-menu ul li a:hover { color: var(--red); }

/* ── SECTIONS ── */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-bg); }

.section-header { text-align: center; margin-bottom: 52px; }
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--navy);
  line-height: 1.15;
}
.section-header p {
  margin-top: 14px;
  font-size: 16px;
  color: var(--gray-text);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.rule {
  width: 48px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ── PAGE HERO (subpages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-accent {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
}
.page-hero-inner { position: relative; }
.page-hero-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}
.page-hero h1 {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.8px;
  line-height: 1.1;
  margin-bottom: 14px;
}
.page-hero p {
  font-size: 16px;
  color: #a8c4e0;
  max-width: 560px;
  line-height: 1.65;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(192,40,31,0.3);
}
.btn-red:hover { background: var(--red-dark); box-shadow: 0 6px 20px rgba(192,40,31,0.4); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13,31,60,0.25);
}
.btn-navy:hover { background: var(--navy-mid); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.08); }
.btn-outline-red {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline-red:hover { background: var(--red); color: white; }
.btn-sms {
  background: #128C7E;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(18,140,126,0.3);
}
.btn-sms:hover { background: #0f7368; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--gray-bg);
  border-bottom: 1px solid var(--gray-mid);
  padding: 18px 0;
}
.trust-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.trust-pill-icon {
  width: 38px;
  height: 38px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-pill-icon svg { width: 18px; height: 18px; fill: white; }
.trust-pill-sub { font-size: 12px; color: var(--gray-text); font-weight: 400; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--navy);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
}
.cta-banner h2 {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 900;
  color: white;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.cta-banner p {
  font-size: 16px;
  color: #a8c4e0;
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
.cta-banner-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: #a8b8d0;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}
.footer-logo img { height: 50px; width: auto; margin-bottom: 14px; }
.footer-logo-fallback {
  margin-bottom: 14px;
}
.footer-logo-fallback .logo-name { color: white; font-size: 20px; }
.footer-logo-fallback .logo-sub { color: #6a80a0; }
.footer-brand p {
  font-size: 13px;
  line-height: 1.75;
  color: #7090b0;
  margin-bottom: 18px;
}
.footer-yelp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #d32323;
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background var(--transition);
}
.footer-yelp-btn:hover { background: #b81d1d; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 13px;
  color: #7090b0;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: white; }
.footer-phone-block { margin-bottom: 14px; }
.footer-phone {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: white;
  transition: color var(--transition);
}
.footer-phone:hover { color: #6fa3d8; }
.footer-phone-name { font-size: 12px; color: #506070; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 12px; color: #405060; }
.footer-bottom a { color: #405060; transition: color var(--transition); }
.footer-bottom a:hover { color: #a8b8d0; }

/* ── SMS CHAT WIDGET ── */
.sms-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.sms-panel {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  width: 240px;
  overflow: hidden;
  transform: scale(0.85) translateY(10px);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.sms-panel.open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}
.sms-panel-header {
  background: var(--navy);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sms-panel-header span {
  font-size: 13px;
  font-weight: 700;
  color: white;
}
.sms-panel-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color var(--transition);
}
.sms-panel-close:hover { color: white; }
.sms-panel-body { padding: 14px; }
.sms-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--gray-bg);
  margin-bottom: 8px;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
}
.sms-option:last-child { margin-bottom: 0; }
.sms-option:hover { background: #e8edf5; transform: translateX(-2px); }
.sms-option-icon {
  width: 36px;
  height: 36px;
  background: #128C7E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sms-option-icon svg { width: 16px; height: 16px; fill: white; }
.sms-option-name { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.sms-option-num { font-size: 11px; color: var(--gray-text); }
.sms-panel-note {
  font-size: 11px;
  color: var(--gray-text);
  text-align: center;
  padding: 10px 14px;
  border-top: 1px solid var(--gray-mid);
}
.sms-toggle {
  width: 56px;
  height: 56px;
  background: #128C7E;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(18,140,126,0.4);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.sms-toggle:hover {
  background: #0f7368;
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(18,140,126,0.5);
}
.sms-toggle svg { width: 24px; height: 24px; fill: white; transition: opacity 0.2s; }
.sms-toggle .icon-open { position: absolute; opacity: 1; }
.sms-toggle .icon-close { position: absolute; opacity: 0; }
.sms-toggle.open .icon-open { opacity: 0; }
.sms-toggle.open .icon-close { opacity: 1; }
.sms-pulse {
  position: absolute;
  top: -2px; right: -2px;
  width: 14px; height: 14px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid white;
}
.sms-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--red);
  animation: pulse-ring 1.8s ease infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}

/* ── STICKY MOBILE CALL ── */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 300;
  background: var(--red);
  color: white;
  text-align: center;
  padding: 16px;
  font-size: 16px;
  font-weight: 800;
  transition: background var(--transition);
}
.sticky-call:hover { background: var(--red-dark); }

/* ── STAT COUNTERS ── */
.stat-num {
  font-size: 52px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -2px;
  line-height: 1;
}
.stat-num .suffix { color: var(--red); }

/* ── CARDS ── */
.card {
  background: white;
  border-radius: 8px;
  border: 1px solid var(--gray-mid);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* ── IMAGE OVERLAY ── */
.img-overlay {
  position: relative;
  overflow: hidden;
}
.img-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.img-overlay:hover img { transform: scale(1.04); }
.img-overlay-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,31,60,0.88), transparent);
  padding: 28px 18px 14px;
  font-size: 13px;
  font-weight: 700;
  color: white;
}

/* ── YELP SECTION ── */
.yelp-strip {
  background: #d32323;
  padding: 20px 0;
}
.yelp-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.yelp-strip-text {
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
  font-weight: 600;
  font-size: 14px;
}
.yelp-stars { color: #fff; font-size: 16px; letter-spacing: 2px; }
.yelp-btn {
  background: white;
  color: #d32323;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background var(--transition);
}
.yelp-btn:hover { background: #f5f5f5; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .top-bar { display: none; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .trust-bar-inner { justify-content: center; }
  .sticky-call { display: block; }
  body { padding-bottom: 52px; }
  footer { padding-bottom: 68px; }
  .sms-widget { right: 16px; bottom: 70px; }
}
