/* Isaku Rénovation — custom theme */
:root {
  --color-primary: #e30613;
  --color-primary-dark: #b8050f;
  --color-accent: #1c1c1c;
  --color-text: #52555e;
  --color-heading: #1c1c1c;
  --color-muted: #737780;
  --color-bg: #fafafa;
  --color-bg-alt: #f0f1f3;
  --color-surface: #ffffff;
  --color-border: #e2e4e8;
  --font-main: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1180px;
  --topbar-h: 38px;
  --header-h: 90px;
  --logo-header-h: 85px;
  --logo-footer-h: 100px;
  --site-top: calc(var(--topbar-h) + var(--header-h));
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(28, 28, 28, 0.06);
  --shadow-md: 0 12px 40px rgba(28, 28, 28, 0.1);
  --radius: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 93.75%;
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.75em;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p { margin: 0 0 1em; }

ul {
  margin: 0 0 1.5em;
  padding-left: 1.25em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
  margin-top: 1rem;
  padding: 0.4rem 0.85rem;
  background: rgba(227, 6, 19, 0.08);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Top bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--topbar-h);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.8rem;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.top-bar.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.top-bar a {
  color: #fff;
  font-weight: 500;
}

.top-bar a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.top-bar-icons {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.site-header {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition), top 0.40s ease;
}

.site-header.top-collapsed {
  top: 0;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  flex-shrink: 0;
  line-height: 0;
}

.logo img {
  height: var(--logo-header-h);
  width: auto;
  max-width: min(300px, 52vw);
  object-fit: contain;
  object-position: left center;
}

.logo-showcase {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem 0 0;
}

.logo-showcase img {
  height: clamp(160px, 24vw, 240px);
  width: auto;
  max-width: min(420px, 52vw);
  margin: 0 auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
}

.main-nav li {
  position: relative;
}

.main-nav > ul > li > a {
  display: block;
  padding: 0.85em 1em;
  color: var(--color-heading);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: none;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
  color: var(--color-primary);
}

.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  border-top: 3px solid var(--color-primary);
}

.main-nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .sub-menu a {
  display: block;
  padding: 0.75em 1.25em;
  color: var(--color-text);
  font-size: 0.9rem;
}

.main-nav .sub-menu a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.header-cta .btn {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--color-heading);
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 15px 30px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--color-heading);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Hero slider — wipe transitions */
.hero-slider {
  position: relative;
  height: calc(100vh - var(--site-top));
  min-height: 520px;
  max-height: 880px;
  margin-top: var(--site-top);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-slide.active {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  z-index: 2;
  pointer-events: auto;
  transition: clip-path 0.85s cubic-bezier(0.77, 0, 0.18, 1);
}

.hero-slide.exit-right {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 0.85s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: 3;
}

.hero-slide.exit-left {
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  transition: clip-path 0.85s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: 3;
}

.hero-slide-bg {
  position: absolute;
  inset: -2%;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}

.hero-slide.active .hero-slide-bg {
  animation: heroDrift 12s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1) translateX(0); }
  to { transform: scale(1.04) translateX(-1.5%); }
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(28, 28, 28, 0.82) 0%,
    rgba(28, 28, 28, 0.45) 50%,
    rgba(28, 28, 28, 0.25) 100%
  );
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 20px;
  max-width: var(--container);
  margin: 0 auto;
}

.hero-slide.active .hero-slide-content > * {
  animation: heroTextIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hero-slide.active .hero-slide-content h2 { animation-delay: 0.15s; }
.hero-slide.active .hero-slide-content .hero-slide-divider { animation-delay: 0.28s; }
.hero-slide.active .hero-slide-content .hero-slide-tag { animation-delay: 0.38s; }
.hero-slide.active .hero-slide-content .btn { animation-delay: 0.5s; }

@keyframes heroTextIn {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-slide-content h2 {
  color: #fff;
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.35em;
  max-width: 22ch;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-slide-divider {
  width: 0;
  height: 4px;
  background: var(--color-primary);
  margin: 1rem 0 1.25rem;
  animation: heroLineGrow 0.6s ease forwards;
  animation-delay: 0.3s;
}

.hero-slide.active .hero-slide-divider {
  width: 72px;
}

@keyframes heroLineGrow {
  from { width: 0; }
  to { width: 72px; }
}

.hero-slide-tag {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.hero-progress-fill {
  height: 100%;
  width: 0;
  background: var(--color-primary);
  transition: width 0.1s linear;
}

.hero-thumbs {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}

.hero-thumb {
  width: 56px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  padding: 0;
  opacity: 0.65;
  transition: var(--transition);
}

.hero-thumb.active,
.hero-thumb:hover {
  border-color: #fff;
  opacity: 1;
  transform: translateY(-3px);
}

.hero-arrows button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(58, 58, 58, 0.4);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}

.hero-arrows button:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.hero-prev { left: 1.5rem; }
.hero-next { right: 1.5rem; }

.mobile-nav-drawer > a img {
  height: 100px;
  width: auto;
  max-width: 320px;
  margin-bottom: 0.5rem;
}

/* Intro section */
.section-intro {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.intro-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-surface);
  background: var(--color-accent);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.intro-image {
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.intro-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* About features */
.section-about {
  padding: 4rem 0 5rem;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.about-features li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.85rem;
  font-weight: 500;
  color: var(--color-heading);
}

.about-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
}

.exp-ring-wrap {
  text-align: center;
}

.exp-ring {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 1rem;
}

.exp-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.exp-ring .ring-bg {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 8;
}

.exp-ring .ring-progress {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s linear;
}

.exp-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.exp-caption {
  font-size: 0.95rem;
  color: var(--color-text);
  max-width: 220px;
  margin: 0 auto;
}

/* Services cards */
.section-services {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .services-grid {
    gap: 1.75rem;
  }
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: #fff;
  box-shadow: var(--shadow-sm);
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.15s ease-out, box-shadow var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  color: #fff;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  transition: border-color var(--transition);
  z-index: 2;
  pointer-events: none;
}

.service-card:hover::after {
  border-color: var(--color-primary);
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-bg {
  transform: scale(1.05);
  filter: brightness(1.08);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%);
}

.service-card-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.service-card h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.service-card .link-arrow {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.9;
}

/* Why section */
.section-why {
  padding: 5rem 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.why-list .icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.why-image {
  position: relative;
}

.why-image > img:first-child {
  width: 100%;
  border-radius: 2px;
  box-shadow: var(--shadow-md);
}

/* Partners */
.section-partners {
  padding: 4rem 0;
  background: var(--color-bg-alt);
  text-align: center;
}

.partners-marquee {
  overflow: hidden;
  margin-top: 2rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.partners-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.partners-track img {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.9;
  transition: var(--transition);
}

.partners-track img:hover {
  filter: none;
  opacity: 1;
}

/* Reviews */
.section-reviews {
  padding: 5rem 0;
}

.reviews-viewport {
  overflow: hidden;
  margin-top: 2rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.reviews-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.review-card {
  flex: 0 0 100%;
  text-align: center;
  padding: 2.5rem 2rem;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.review-card::before {
  content: "\201C";
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.25;
  font-family: Georgia, serif;
}

.review-stars {
  color: #f5a623;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.review-author {
  font-weight: 600;
  color: var(--color-heading);
}

.review-date {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.reviews-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.reviews-nav button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  background: #fff;
  cursor: pointer;
  transition: var(--transition);
}

.reviews-nav button:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* Page hero (inner pages) */
.page-hero {
  margin-top: var(--site-top);
  padding: 4rem 0;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  margin-bottom: 0.25em;
}

.page-content {
  padding: 4rem 0 5rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > * {
  direction: ltr;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.65rem 0 0.65rem 1.75rem;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--color-bg-alt);
  padding: 2rem;
  border-left: 4px solid var(--color-primary);
}

.contact-info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info-card li {
  margin-bottom: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-info-card a {
  font-weight: 500;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-heading);
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkbox-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.9rem;
}

.devis-box {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
}

.devis-box h4 {
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

/* Footer */
.site-footer {
  background: var(--color-heading);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-block h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-block p,
.footer-block a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-block a:hover {
  color: #fff;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.footer-logo img {
  height: var(--logo-footer-h);
  width: auto;
  max-width: min(400px, 70vw);
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.footer-main--no-logo .footer-brand-text {
  flex: 1;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Scroll top */
#scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  font-size: 1.1rem;
}

#scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

#scroll-top:hover {
  background: var(--color-primary-dark);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-nav-overlay.open {
  display: block;
  opacity: 1;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(360px, 90vw);
  height: 100%;
  background: #fff;
  z-index: 1002;
  padding: 1.5rem;
  overflow-y: auto;
  transition: right 0.35s ease;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-drawer ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.mobile-nav-drawer a {
  display: block;
  padding: 0.85rem 0;
  color: var(--color-heading);
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-drawer .sub-links {
  padding-left: 1rem;
}

.mobile-nav-drawer .sub-links a {
  font-weight: 400;
  font-size: 0.95rem;
}

.mobile-close {
  float: right;
  border: none;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-heading);
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .intro-grid,
  .about-grid,
  .why-grid,
  .content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 921px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero-arrows button {
    display: none;
  }
}

@media (max-width: 544px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    min-height: 480px;
  }
}
