:root {
  --primary: #0A2947;
  --primary-rgb: 10, 41, 71;
  --cream: #F3E4C9;
  --cream-rgb: 243, 228, 201;
  --sage: #D3D4C0;
  --sage-rgb: 211, 212, 192;
  --gold: #FFB800;
  --gold-rgb: 255, 184, 0;
  --primary-light: #123b63;
  --primary-dark: #061a2e;
  --gold-light: #ffcc33;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--primary);
  overflow-x: hidden;
  background: #fff;
}

.cream-bg { background: var(--cream); }
.cream-bg p {
  color: #1a1a1a;
  font-weight: 500;
}
.sage-bg { background: var(--sage); }
.primary-bg { background: var(--primary); }
.primary-text { color: var(--primary); }
.cream-text { color: var(--cream); }
.gold-text { color: var(--gold); }

.text-gold { color: var(--gold); font-weight: 900; text-shadow: -1px -1px 0 #1a1a1a, 1px -1px 0 #1a1a1a, -1px 1px 0 #1a1a1a, 1px 1px 0 #1a1a1a, 0 3px 8px rgba(0,0,0,0.5); }
.text-cream { color: var(--cream); }
.text-primary { color: var(--primary); }

.bg-gold { background: var(--gold); }
.bg-cream { background: var(--cream); }
.bg-primary { background: var(--primary); }
.bg-sage { background: var(--sage); }
.bg-primary-light { background: var(--primary-light); }

.border-gold { border-color: var(--gold); }
.border-cream { border-color: var(--cream); }
.border-primary { border-color: var(--primary); }

.hover-gold:hover { color: var(--gold) !important; }
.hover-primary:hover { color: var(--primary) !important; }
.hover-cream:hover { color: var(--cream) !important; }

.hover-bg-gold:hover { background: var(--gold) !important; }
.hover-bg-primary:hover { background: var(--primary) !important; }

/* Ken Burns Hero */
.ken-burns {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 20s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,41,71,0.85) 0%, rgba(10,41,71,0.6) 50%, rgba(10,41,71,0.4) 100%);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,41,71,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(211,212,192,0.2);
  transition: all 0.3s ease;
}

.site-header .logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.site-header .logo-sub {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.8;
}

.nav-link {
  position: relative;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active { color: var(--gold) !important; }

.nav-link:hover::after,
.nav-link.active::after { width: 100%; background: var(--gold); }

.header-phone {
  background: var(--gold);
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.header-phone:hover {
  background: #1a1a1a;
  color: var(--gold) !important;
  border-color: var(--gold);
  transform: scale(1.02);
}

/* Mobile nav */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--primary);
  z-index: 999;
  padding: 5rem 2rem 2rem;
  transition: right 0.35s ease;
  box-shadow: -5px 0 30px rgba(0,0,0,0.3);
}

.mobile-menu.open { right: 0; }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-overlay.open { opacity: 1; pointer-events: all; }

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--cream);
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: currentColor;
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Buttons */
.btn-gold {
  background: var(--gold);
  color: #1a1a1a;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid #1a1a1a;
}

.btn-gold:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: var(--gold) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.btn-outline {
  background: transparent;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--cream);
}

.btn-outline:hover {
  background: var(--cream);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10,41,71,0.3);
}

/* Service cards */
.service-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.4s ease;
  border: 2px solid #1a1a1a;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(255,184,0,0.2);
  border-color: var(--gold);
}

.service-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover img { transform: scale(1.05); }

.service-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-body .card-actions {
  margin-top: auto;
  padding-top: 1rem;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.service-card p {
  color: #1a1a1a;
  font-weight: 500;
}

.service-card .btn-call-card {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold);
  color: #1a1a1a;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 2px solid #1a1a1a;
  cursor: pointer;
  text-decoration: none;
}

.service-card .btn-call-card:hover {
  background: #1a1a1a;
  color: var(--gold) !important;
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.service-card .see-service {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-card .see-service:hover {
  color: #1a1a1a !important;
  gap: 0.5rem;
}

/* Why choose us */
.why-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  border: 2px solid #1a1a1a;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(255,184,0,0.2);
  border-color: var(--gold);
}

.why-icon {
  width: 64px;
  height: 64px;
  background: var(--cream);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.8rem;
  color: var(--gold);
  transition: all 0.4s ease;
}

.why-card:hover .why-icon {
  background: var(--gold);
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}

.why-card p {
  color: #000;
  font-weight: 600;
}

/* Testimonial */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border: 2px solid #1a1a1a;
  border-left: 4px solid var(--gold);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 12px 40px rgba(255,184,0,0.2);
  transform: translateY(-3px);
  border-color: var(--gold);
}

.testimonial-card p {
  color: #1a1a1a;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.7;
}

.testimonial-stars {
  color: #f59e0b;
}

.verified-badge {
  background: #059669;
  color: #fff;
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* FAQ Accordion */
.faq-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  border: 2px solid #1a1a1a;
  margin-bottom: 1rem;
}

.faq-item.active {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(255,184,0,0.2);
}

.faq-question {
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--gold);
}

.faq-question:hover span:first-child {
  color: #1a1a1a;
}

.faq-question:hover .faq-icon {
  background: #1a1a1a;
  color: var(--gold);
}

.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  background: var(--gold);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #1a1a1a;
  font-weight: 500;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.2rem;
}

/* Areas */
.area-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  background: #fff;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  transition: all 0.3s ease;
}

.area-tag:hover {
  background: var(--gold);
  color: #1a1a1a;
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255,184,0,0.3);
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: #fff;
}

.site-footer p {
  color: rgba(255,255,255,0.8);
}

.site-footer .footer-desc {
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

.site-footer a {
  color: #fff;
  font-weight: 700;
  transition: all 0.3s ease;
}

.site-footer a:not(.btn-contact):hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-heading {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Contact buttons with animated border */
.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--gold), var(--gold)) no-repeat,
    linear-gradient(to right, var(--gold), var(--gold)) no-repeat,
    linear-gradient(to bottom, var(--gold), var(--gold)) no-repeat,
    linear-gradient(to bottom, var(--gold), var(--gold)) no-repeat;
  background-size: 0 2px, 0 2px, 2px 0, 2px 0;
  background-position: 0 0, 100% 100%, 0 0, 100% 0;
  transition: background-size 0.4s ease;
}

.btn-contact:hover::before {
  background-size: 100% 2px, 100% 2px, 2px 100%, 2px 100%;
}

.btn-contact.btn-contact-light {
  background: var(--gold);
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
}
.btn-contact.btn-contact-light:hover {
  background: #1a1a1a;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-contact.btn-contact-dark {
  background: var(--gold);
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
}
.btn-contact.btn-contact-dark:hover {
  background: #1a1a1a;
  color: var(--gold);
  border-color: var(--gold);
}

.footer-phone {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
}

/* Page hero */
.page-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
}

.page-hero .breadcrumb {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
}

/* Phone pulse */
.phone-pulse {
  display: inline-block;
  position: relative;
}

.phone-pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 12px;
  border: 2px solid var(--gold);
  animation: phonePulse 2s ease-out infinite;
  opacity: 0;
}

@keyframes phonePulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Form */
.form-input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 2px solid #1a1a1a;
  border-radius: 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
  outline: none;
  background: #fff;
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,184,0,0.2);
}

.form-input::placeholder {
  color: #9ca3af;
}

/* Logo SVG inline */
.logo-svg {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

/* Thank you page */
.thank-you-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--primary);
  color: #fff;
  padding: 2rem;
}

.thank-you-page h1 {
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: 4px;
  margin-bottom: 0.5rem;
  color: var(--cream);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 50;
  box-shadow: 0 4px 15px rgba(139,94,60,0.3);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
}

/* Section spacing */
section { position: relative; }

.section-padding { padding: 5rem 0; }

/* Guarantee */
.guarantee-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-top: 4px solid var(--gold);
  transition: all 0.3s ease;
}

.guarantee-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* Steps */
.step-card {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .page-hero h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
  .section-padding { padding: 3rem 0; }
  .page-hero { min-height: 55vh; }
  .page-hero h1 { font-size: 2rem; }
  .site-header .logo-text { font-size: 1.1rem; }
  .header-phone { padding: 0.4rem 1rem; font-size: 0.85rem; }
  .service-card img { height: 250px; }
  .thank-you-page h1 { font-size: 3rem; }
  .faq-question { padding: 1rem 1.2rem; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .page-hero h1 { font-size: 1.6rem; }
  .service-card img { height: 200px; }
  .why-card { padding: 1.5rem; }
}

/* Hero background image classes (for LPs) */
.hero-img-1 { background-image: url('../images/1.webp'); }
.hero-img-2 { background-image: url('../images/2.webp'); }
.hero-img-3 { background-image: url('../images/3.webp'); }
.hero-img-4 { background-image: url('../images/4.webp'); }
.hero-img-5 { background-image: url('../images/5.webp'); }
.hero-img-6 { background-image: url('../images/6.webp'); }
.hero-img-7 { background-image: url('../images/7.webp'); }

/* Extras */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
