/* ==========================================================================
   Becht Pride Restoration and Remodeling — Stylesheet
   ========================================================================== */

/* --- Custom Properties --- */
:root {
  --navy: #1f2569;
  --navy-light: #2b3280;
  --accent: #fff102;
  --accent-hover: #e6d902;
  --bg-warm: #faf8f5;
  --text-dark: #2d2d2d;
  --text-muted: #6b7280;
  --white: #ffffff;
  --success: #16a34a;
  --border: #e5e5e5;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--bg-warm);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.text-muted {
  color: var(--text-muted);
}

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: transparent;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition);
  padding: 1rem 0;
}

.header.transparent {
  background: transparent;
}

.header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0;
}

.header.scrolled .logo img {
  height: 60px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  z-index: 1001;
}

.header.scrolled .logo,
.header:not(.transparent) .logo {
  color: var(--navy);
}

.logo img {
  height: 100px;
  width: auto;
}

.logo-text {
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.header.scrolled .nav-links a,
.header:not(.transparent) .nav-links a {
  color: var(--text-dark);
}

.header.scrolled .nav-links a:hover,
.header:not(.transparent) .nav-links a:hover {
  color: var(--navy);
}

.header-cta {
  z-index: 1001;
}

.header-cta .btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--white);
  transition: all var(--transition);
}

.header.scrolled .menu-toggle span,
.header:not(.transparent) .menu-toggle span {
  background: var(--navy);
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
}

.mobile-nav a {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 600;
}

.mobile-nav a:hover {
  color: var(--accent);
}

.mobile-nav .btn {
  margin-top: 1rem;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 16, 96, 0.6) 0%, rgba(26, 16, 96, 0.85) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1360px;
  width: 100%;
  padding: 8rem 1.25rem 4rem;
}

.hero-content {
  flex: 1;
  text-align: left;
}

.hero-image {
  flex: 0 0 600px;
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Service Page Hero */
.hero-service {
  min-height: auto;
  padding-top: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, transparent 100%), var(--navy);
  justify-content: flex-start;
}

.hero-service .hero-bg,
.hero-service .hero-overlay {
  display: none;
}

.hero-service .hero-content {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 12.5rem 1.25rem 3rem;
  text-align: left;
}

.hero-service h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  display: inline-block;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 4px solid var(--accent);
}

.hero-service p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  margin-bottom: 0;
  max-width: 600px;
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--navy);
  padding: 1.25rem 0;
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
}

.trust-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.service-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

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

.service-card-body {
  padding: 1.75rem;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(26, 16, 96, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--navy);
}

.service-card-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #16a34a;
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--transition);
}

.service-card-link:hover {
  gap: 0.65rem;
}

.service-card-link svg {
  width: 16px;
  height: 16px;
}

/* --- About / Why Choose Us --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  margin-bottom: 1.25rem;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about-quote {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(232, 165, 75, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.about-quote p {
  font-style: italic;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.about-feature svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
}

/* --- Gallery --- */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.gallery-tab {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--white);
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
}

.gallery-tab:hover,
.gallery-tab.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 16, 96, 0.0);
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(26, 16, 96, 0.3);
}

.gallery-item-overlay svg {
  width: 36px;
  height: 36px;
  color: var(--white);
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition);
}

.gallery-item:hover .gallery-item-overlay svg {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
}

.lightbox-close svg {
  width: 32px;
  height: 32px;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  cursor: pointer;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background var(--transition);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-prev svg,
.lightbox-next svg {
  width: 28px;
  height: 28px;
}

/* --- Testimonials --- */
.testimonials {
  background: var(--navy);
  overflow: hidden;
}

.testimonials .section-header h2,
.testimonials .section-header p {
  color: var(--white);
}

.testimonials .section-header p {
  opacity: 0.8;
}

.testimonial-slider {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-slide {
  display: none;
  text-align: center;
  padding: 0 1rem;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-stars svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background var(--transition);
}

.testimonial-dot.active {
  background: var(--accent);
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(26, 16, 96, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
}

.contact-detail-icon svg {
  width: 22px;
  height: 22px;
}

.contact-detail-text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.contact-detail-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.contact-detail-text a {
  color: #16a34a;
  font-weight: 500;
}

.contact-detail-text a:hover {
  text-decoration: underline;
}

.contact-map {
  margin-top: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact-map iframe {
  width: 100%;
  height: 220px;
  border: none;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-form-wrapper h3 {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-warm);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 16, 96, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group .error-msg {
  color: #dc2626;
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: none;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #dc2626;
}

.form-group.has-error .error-msg {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success svg {
  width: 48px;
  height: 48px;
  color: var(--success);
  margin-bottom: 1rem;
}

.form-success h3 {
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--text-muted);
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  max-width: 300px;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: var(--accent);
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Service Detail Page --- */
.service-content {
  padding: 4rem 0;
}

.service-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.service-main h2 {
  margin-bottom: 1rem;
}

.service-main p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.service-main ul {
  list-style: none;
  margin: 1.5rem 0;
}

.service-main ul li {
  padding: 0.4rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-muted);
}

.service-main ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.service-sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  position: sticky;
  top: 100px;
}

.service-sidebar-card h3 {
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.service-sidebar-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-sidebar-card .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.service-gallery {
  margin: 3rem 0;
}

.service-gallery h2 {
  margin-bottom: 1.5rem;
}

.service-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

/* Other Services */
.other-services {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 2rem;
}

.other-services h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.other-services-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.other-services-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.35rem 0;
  transition: color var(--transition);
}

.other-services-list a:hover {
  color: var(--accent);
}

.other-services-list a svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--accent);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.cta-banner .btn-secondary {
  border-color: var(--white);
}

.cta-banner .btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
}

/* --- Animations --- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

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

/* Hero entrance animations */
.hero-content {
  animation: heroEntrance 0.8s ease-out 0.2s both;
}

.hero-image {
  animation: heroImageEntrance 0.9s ease-out 0.5s both;
}

.hero-buttons .btn:nth-child(1) {
  animation: fadeUp 0.6s ease-out 0.7s both;
}

.hero-buttons .btn:nth-child(2) {
  animation: fadeUp 0.6s ease-out 0.85s both;
}

/* Trust bar entrance */
.trust-item {
  animation: trustSlide 0.5s ease-out both;
}

.trust-item:nth-child(1) { animation-delay: 0.8s; }
.trust-item:nth-child(2) { animation-delay: 0.9s; }
.trust-item:nth-child(3) { animation-delay: 1.0s; }
.trust-item:nth-child(4) { animation-delay: 1.1s; }
.trust-item:nth-child(5) { animation-delay: 1.2s; }
.trust-item:nth-child(6) { animation-delay: 1.3s; }
.trust-item:nth-child(7) { animation-delay: 1.4s; }

/* Scroll-reveal base state */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children animation */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.32s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.40s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.48s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.56s; }
.stagger-children.visible > *:nth-child(9) { transition-delay: 0.64s; }
.stagger-children.visible > *:nth-child(10) { transition-delay: 0.72s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal, .reveal-left, .reveal-right, .reveal-scale,
  .stagger-children > * {
    opacity: 1;
    transform: none;
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    gap: 2.5rem;
  }

  .service-layout {
    grid-template-columns: 1fr;
  }

  .service-sidebar-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 10rem 1.25rem 3rem;
    gap: 2rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-image {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-service .hero-content {
    padding: 7rem 1.25rem 2rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .trust-items {
    gap: 1rem;
  }

  .trust-divider {
    display: none;
  }

  .trust-item {
    font-size: 0.82rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    order: -1;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 1.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .service-gallery-grid {
    grid-template-columns: 1fr;
  }
}
