/* ===================================================
   UP & CLEAN — Gibraltar's Premier Cleaning Service
   Professional Blue & White Theme
   =================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --blue-primary: #1B75BC;
  --blue-dark: #0D3B66;
  --blue-accent: #2196F3;
  --blue-light: #E8F4FD;
  --blue-glow: rgba(27, 117, 188, 0.15);
  --white: #FFFFFF;
  --off-white: #F7FAFD;
  --gray-light: #f0f4f8;
  --gray-mid: #c5cfd8;
  --gray-text: #5a6a78;
  --dark: #0f1c2e;
  --shadow-sm: 0 2px 8px rgba(13, 59, 102, 0.06);
  --shadow-md: 0 6px 24px rgba(13, 59, 102, 0.10);
  --shadow-lg: 0 12px 48px rgba(13, 59, 102, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p {
  color: var(--gray-text);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  letter-spacing: 0.01em;
  position: relative;
}

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

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13, 59, 102, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

/* ---------- Section Shared Styles ---------- */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--blue-primary);
  margin-bottom: 12px;
}

/* ===================================================
   HEADER / NAVIGATION
   =================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(13, 59, 102, 0.08);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-logo {
  padding: 7px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.867);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(13, 59, 102, 0.10);
  transition: var(--transition);
}

.header.scrolled .header-logo {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  padding: 0;
}

.header-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.header.scrolled .header-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

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

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

.header.scrolled .nav-links a.nav-cta {
  color: var(--white);
}

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

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-links a.active:not(.nav-cta)::after {
  width: 100%;
}

.nav-links a.active:not(.nav-cta) {
  color: var(--blue-primary);
}

.header.scrolled .nav-links a.active:not(.nav-cta) {
  color: var(--blue-primary);
}

.nav-cta {
  padding: 10px 22px !important;
  font-size: 0.88rem !important;
}

.header:not(.scrolled) .nav-cta {
  background: var(--white);
  color: var(--blue-primary);
}

.header:not(.scrolled) .nav-cta:hover {
  background: var(--off-white);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

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

.header.scrolled .hamburger span {
  background: var(--dark);
}

/* ===================================================
   MOBILE SIDEBAR
   =================================================== */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 2000;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
  overflow-y: auto;
  display: none;
  flex-direction: column;
}

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

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-light);
  flex-shrink: 0;
}

.sidebar-header img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.sidebar-close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--gray-light);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: var(--transition);
  flex-shrink: 0;
}

.sidebar-close:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
  background: var(--blue-light);
}

.sidebar-nav {
  padding: 12px 24px;
  flex: 1;
}

.sidebar-nav a {
  display: block;
  padding: 16px 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark);
  border-bottom: 1px solid var(--gray-light);
  transition: var(--transition);
}

.sidebar-nav a:last-child {
  border-bottom: none;
}

.sidebar-nav a:hover {
  color: var(--blue-primary);
}

.sidebar-bottom {
  padding: 24px;
  border-top: 1px solid var(--gray-light);
  margin-top: auto;
  flex-shrink: 0;
}

.sidebar-bottom .sidebar-contact {
  padding: 0;
  margin-bottom: 20px;
}

.sidebar-contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--gray-text);
  transition: var(--transition);
}

.sidebar-contact a:hover {
  color: var(--blue-primary);
}

.sidebar-contact a svg {
  flex-shrink: 0;
  color: var(--blue-primary);
}

.sidebar-quote-btn {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 28, 46, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1002;
  opacity: 0;
  transition: opacity 0.35s ease;
  cursor: pointer;
}

.sidebar-overlay.active {
  opacity: 1;
}

/* ===================================================
   HERO SLIDESHOW
   =================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 59, 102, 0.80) 0%,
    rgba(27, 117, 188, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content h1 {
  color: var(--white);
  max-width: 800px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s 0.3s forwards;
}

.hero-content .hero-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  max-width: 620px;
  margin-bottom: 36px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s 0.5s forwards;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s 0.7s forwards;
}

.hero-buttons .btn {
  padding: 15px 32px;
  font-size: 1.05rem;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero pagination dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.15);
}

.hero-dot.active {
  background: var(--white);
  border-color: var(--white);
  transform: scale(1.2);
}

/* ===================================================
   TRUST BAR
   =================================================== */
.trust-bar {
  background: var(--white);
  padding: 50px 0;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--gray-light);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-item {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.trust-item:hover {
  background: var(--blue-light);
  transform: translateY(-4px);
}

.trust-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: var(--blue-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  font-size: 1.5rem;
}

.trust-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.trust-item p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===================================================
   SERVICE SECTIONS
   =================================================== */
.service-section {
  padding: 100px 0;
}

.service-section:nth-child(even) {
  background: var(--off-white);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-grid.reverse {
  direction: rtl;
}

.service-grid.reverse > * {
  direction: ltr;
}

.service-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

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

.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27, 117, 188, 0.1);
  pointer-events: none;
}

.service-text .section-label {
  margin-bottom: 10px;
}

.service-text h2 {
  margin-bottom: 20px;
}

.service-text > p {
  margin-bottom: 24px;
}

.service-bullets {
  margin-bottom: 32px;
}

.service-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 1rem;
  color: var(--dark);
  font-weight: 500;
}

.service-bullets li svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--blue-primary);
}

/* ===================================================
   METHODOLOGY
   =================================================== */
.methodology {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.methodology::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.methodology::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.methodology .section-header h2 {
  color: var(--white);
}

.methodology .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.methodology .section-label {
  color: rgba(255, 255, 255, 0.7);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.method-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md);
  padding: 36px 28px 32px;
  text-align: left;
  transition: var(--transition);
  position: relative;
}

.method-card:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-4px);
}

.method-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.method-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.method-step-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
}

.method-card h3 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.method-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===================================================
   EQUIPMENT
   =================================================== */
.equipment {
  background: var(--off-white);
  padding: 100px 0;
}

.equip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.equip-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-light);
}

.equip-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.equip-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

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

.equip-card-body {
  padding: 28px;
}

.equip-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.equip-card-body p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===================================================
   CONTACT / QUOTE SECTION
   =================================================== */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-label {
  margin-bottom: 10px;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info > p {
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
}

.contact-detail:hover {
  color: var(--blue-primary);
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-badge {
  margin-top: 40px;
  padding: 24px;
  background: var(--blue-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-badge-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-badge h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-badge p {
  font-size: 0.85rem;
}

/* Quote Form */
.quote-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-light);
}

.quote-form-wrapper h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.quote-form-wrapper > p {
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%235a6a78' viewBox='0 0 16 16'%3E%3Cpath d='M1.6 4.8L8 11.2l6.4-6.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 40px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  justify-content: center;
  margin-top: 4px;
}

.form-note {
  text-align: center;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--gray-text);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12);
}

.form-group .error-message {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.form-group .error-message.show {
  display: block;
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
}

.form-success svg {
  margin: 0 auto 16px;
}

.form-success h3 {
  margin-bottom: 8px;
  color: #27ae60;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: var(--dark);
  padding: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .footer-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 340px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.92rem;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.82rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.82rem;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ===================================================
   SCROLL ANIMATIONS
   =================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

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

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

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

/* ===================================================
   SCROLL TO TOP BUTTON
   =================================================== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue-primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 50;
}

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

.scroll-top:hover,
.scroll-top.visible:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
  box-shadow: var(--shadow-lg);
}

/* ===================================================
   RESPONSIVE — TABLET
   =================================================== */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-sidebar {
    display: flex;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-grid.reverse {
    direction: ltr;
  }

  .service-image img {
    height: 300px;
  }

  .method-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
    gap: 24px;
  }

  .equip-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-legal {
    justify-content: center;
  }
}

/* ===================================================
   RESPONSIVE — MOBILE
   =================================================== */
@media (max-width: 600px) {
  .section {
    padding: 70px 0;
  }

  .hero {
    height: 100svh;
    min-height: auto;
  }

  .hero-content h1 {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .hero-content .hero-sub {
    font-size: clamp(1rem, 4vw, 1.2rem);
  }

  .hero-buttons .btn {
    padding: 15px 24px;
    font-size: 1.05rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

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

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .trust-item {
    padding: 20px 12px;
  }

  .trust-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .service-image img {
    height: 240px;
  }

  .quote-form-wrapper {
    padding: 28px 20px;
  }

  .method-grid {
    max-width: 100%;
  }

  .equip-grid {
    max-width: 100%;
  }

  .equip-card-image {
    height: 200px;
  }

  .hero-dots {
    bottom: 24px;
  }

  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

/* ===================================================
   LOADING ANIMATION
   =================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--blue-light);
  border-top-color: var(--blue-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--blue-primary);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* ---------- Focus Visible ---------- */
:focus-visible {
  outline: 2px solid var(--blue-primary);
  outline-offset: 2px;
}

.btn:focus-visible {
  outline: 2px solid var(--blue-primary);
  outline-offset: 3px;
}

/* ---------- Section CTA ---------- */
.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===================================================
   WHATSAPP FLOATING BUTTON
   =================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  z-index: 50;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
  background: #20ba5a;
}

@media (max-width: 600px) {
  .whatsapp-float {
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
  }
}
