/* Reefinspect — Automotive Diagnostics & Inspection */

:root {
  --white: #ffffff;
  --grey-50: #f7f9fc;
  --grey-100: #eef2f7;
  --grey-200: #dce3ed;
  --grey-400: #8b9cb3;
  --grey-600: #4a5d73;
  --grey-800: #1e2d3d;
  --blue: #1a6fd4;
  --blue-light: #e8f2fc;
  --navy: #0b2540;
  --navy-deep: #061828;
  --green: #00a870;
  --green-dark: #008f5f;
  --accent-gradient: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  --shadow-sm: 0 2px 8px rgba(11, 37, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 37, 64, 0.1);
  --shadow-lg: 0 16px 48px rgba(11, 37, 64, 0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--grey-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--green);
}

ul {
  list-style: none;
}

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

/* Typography */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--grey-600);
  max-width: 640px;
  font-size: 1.0625rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-200);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-link img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--blue);
}

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

.main-nav a {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--grey-600);
  position: relative;
}

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

.main-nav a:hover,
.main-nav a.active {
  color: var(--navy);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  background: var(--accent-gradient);
  color: var(--white) !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

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

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

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

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

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

.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero */

.hero {
  position: relative;
  padding: 4rem 0 5rem;
  background: var(--grey-50);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(26, 111, 212, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero-text {
  font-size: 1.125rem;
  color: var(--grey-600);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--grey-200);
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-item span {
  font-size: 0.8125rem;
  color: var(--grey-400);
}

.hero-visual {
  position: relative;
}

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

.hero-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-float-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.hero-float-card strong {
  display: block;
  font-size: 0.875rem;
  color: var(--navy);
}

.hero-float-card span {
  font-size: 0.75rem;
  color: var(--grey-400);
}

/* Page Hero (inner pages) */

.page-hero {
  padding: 3.5rem 0;
  background: var(--accent-gradient);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  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='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%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/g%3E%3C/svg%3E");
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

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

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.breadcrumb a {
  color: var(--white);
}

.breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* Sections */

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--grey-50);
}

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

.section-header .section-desc {
  margin: 0 auto;
}

/* Service Cards */

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-200);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.service-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

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

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

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

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

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

.service-card p {
  color: var(--grey-600);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.service-link {
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

/* Benefits */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200);
  transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--accent-gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.benefit-card h3 {
  margin-bottom: 0.75rem;
}

.benefit-card p {
  color: var(--grey-600);
  font-size: 0.9375rem;
}

/* Trust Bar */

.trust-bar {
  padding: 3rem 0;
  background: var(--navy);
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.375rem;
}

.trust-item span {
  font-size: 0.8125rem;
  opacity: 0.7;
}

.trust-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* CTA Section */

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

.cta-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--accent-gradient);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 3rem;
  color: var(--white);
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-content p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
}

.cta-image {
  border-radius: var(--radius);
  overflow: hidden;
}

.cta-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.cta-actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: transparent;
}

.cta-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

/* Two Column Layout */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

.content-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.content-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.content-block h2 {
  margin-bottom: 1rem;
}

.content-block p {
  color: var(--grey-600);
  margin-bottom: 1rem;
}

.content-block ul {
  margin: 1rem 0;
}

.content-block li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--grey-600);
}

.content-block li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* Service Detail Cards */

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.service-detail-card:hover {
  box-shadow: var(--shadow-md);
}

.service-detail-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
}

.service-detail-body {
  padding: 1.5rem 1.5rem 1.5rem 0;
}

.service-detail-body h3 {
  margin-bottom: 0.5rem;
}

.service-detail-body p {
  color: var(--grey-600);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.service-detail-actions .btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--grey-50);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--grey-200);
}

.contact-info-card h2 {
  margin-bottom: 0.5rem;
}

.contact-intro {
  color: var(--grey-600);
  margin-bottom: 1.5rem;
}

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

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
}

.contact-info-item strong {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--grey-400);
  margin-bottom: 0.25rem;
}

.contact-info-item p,
.contact-info-item a {
  color: var(--navy);
  font-weight: 500;
}

.contact-map-image {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-map-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Forms */

.form-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

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

.form-card > p {
  color: var(--grey-600);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--navy);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  background: var(--white);
  color: var(--grey-800);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 111, 212, 0.12);
}

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

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

.error-message {
  display: none;
  font-size: 0.8125rem;
  color: #e53e3e;
  margin-top: 0.375rem;
}

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

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

/* Legal Pages */

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-block {
  margin-bottom: 2.5rem;
}

.legal-block h2 {
  font-size: 1.375rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--grey-200);
}

.legal-block p {
  color: var(--grey-600);
  margin-bottom: 0.75rem;
}

.legal-block ul {
  margin: 0.75rem 0 0.75rem 1.25rem;
}

.legal-block li {
  color: var(--grey-600);
  margin-bottom: 0.5rem;
  list-style: disc;
}

.legal-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.legal-image img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
}

/* Footer */

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

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

.footer-brand img {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

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

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
}

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

.footer-col ul li {
  margin-bottom: 0.625rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color var(--transition);
}

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

.footer-contact p {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

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

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

.footer-alt-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.8125rem;
  opacity: 0.6;
}

/* Modal */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 24, 40, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.modal-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.is-visible .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 0;
}

.modal-header h3 {
  font-size: 1.25rem;
}

.modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--grey-100);
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--grey-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.modal-close:hover {
  background: var(--grey-200);
}

.modal-body {
  padding: 1.5rem;
}

.modal-success {
  text-align: center;
  padding: 2rem 1.5rem;
}

.modal-success-icon {
  width: 72px;
  height: 72px;
  background: rgba(0, 168, 112, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
  color: var(--green);
}

.modal-success h3 {
  margin-bottom: 0.75rem;
}

.modal-success p {
  color: var(--grey-600);
  margin-bottom: 1.5rem;
}

/* Animations */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive */

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

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

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

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

  .service-detail-card img {
    min-height: 200px;
  }

  .service-detail-body {
    padding: 0 1.5rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--grey-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    padding: 0.875rem 0;
    width: 100%;
    border-bottom: 1px solid var(--grey-100);
  }

  .main-nav .nav-cta {
    margin-top: 1rem;
    text-align: center;
    justify-content: center;
  }

  .hero-grid,
  .two-col,
  .cta-box,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 2.5rem 0 3.5rem;
  }

  .hero-float-card {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 1rem;
  }

  .services-grid,
  .benefits-grid,
  .trust-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .section {
    padding: 3.5rem 0;
  }

  .cta-box {
    padding: 2rem;
  }

  .two-col.reverse {
    direction: ltr;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-actions,
  .cta-actions,
  .service-detail-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .service-detail-actions .btn {
    width: 100%;
  }
}
