/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Barlow+Condensed:wght@600;700;800;900&display=swap");

/*=============== VARIABLES ===============*/
:root {
  --header-height: 4.5rem;

  /*===== Brand Colors (from logo: cyan + black) =====*/
  --c-cyan:        #40bee9;
  --c-cyan-dark:   #00779f;
  --c-cyan-dim:    rgba(64, 190, 233, 0.1);
  --c-cyan-border: rgba(64, 190, 233, 0.25);
  --c-cyan-glow:   rgba(64, 190, 233, 0.3);

  /*===== Background =====*/
  --c-bg:      #08080e;
  --c-bg-alt:  #0d0d18;
  --c-surface: #121220;
  --c-card:    #18182a;
  --c-border:  #22223a;

  /*===== Text =====*/
  --c-white: #ffffff;
  --c-title: #eeeef8;
  --c-text:  #9090b0;
  --c-muted: #505068;

  /*===== Gradients =====*/
  --g-brand:  linear-gradient(135deg, #40bee9 0%, #00779f 100%);
  --g-card:   linear-gradient(145deg, #18182a 0%, #121220 100%);
  --g-hero:   linear-gradient(135deg, rgba(8,8,14,0.50) 0%, rgba(0,80,120,0.15) 100%);

  /*===== Shadows =====*/
  --s-glow:   0 0 30px rgba(64, 190, 233, 0.25);
  --s-glow-l: 0 0 60px rgba(64, 190, 233, 0.4);
  --s-card:   0 8px 40px rgba(0, 0, 0, 0.5);
  --s-sm:     0 2px 12px rgba(0, 0, 0, 0.4);

  /*===== Typography =====*/
  --f-body:    "Inter", sans-serif;
  --f-display: "Barlow Condensed", "Inter", sans-serif;

  --fs-hero: clamp(2.75rem, 5.5vw, 5.25rem);
  --fs-xl:   clamp(1.875rem, 3.5vw, 2.75rem);
  --fs-lg:   clamp(1.25rem, 2vw, 1.625rem);
  --fs-md:   1.0625rem;
  --fs-base: 1rem;
  --fs-sm:   0.875rem;
  --fs-xs:   0.75rem;

  /*===== Spacing =====*/
  --section-pad: clamp(4rem, 8vw, 8rem);

  /*===== Radius =====*/
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-xl: 28px;

  /*===== Z-index =====*/
  --z-nav: 1000;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--f-body);
  font-size: var(--fs-base);
  background-color: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--f-body);
  font-weight: 800;
  color: var(--c-title);
  line-height: 1.15;
}

ul  { list-style: none; }
a   { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }

/*=============== UTILITIES ===============*/
.container {
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: var(--section-pad) calc(var(--section-pad) * 0.5);
}

.main { overflow: hidden; }

/*===== Section tag =====*/
.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-cyan);
  margin-bottom: 0.875rem;
}

.section__tag::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--g-brand);
  flex-shrink: 0;
}

/*===== Section title =====*/
.section__title {
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--c-title);
  line-height: 1.15;
  margin-bottom: 2rem;
}

/*=============== BUTTONS ===============*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  font-family: var(--f-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--g-brand);
  color: var(--c-white);
}

.btn--primary:hover {
  box-shadow: var(--s-glow);
  transform: translateY(-2px);
  color: var(--c-white);
}

.btn--outline {
  background: transparent;
  color: var(--c-cyan);
  border-color: var(--c-cyan);
}

.btn--outline:hover {
  background: var(--c-cyan-dim);
  box-shadow: var(--s-glow);
  transform: translateY(-2px);
  color: var(--c-cyan);
}

.btn i { font-size: 1rem; }

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: var(--z-nav);
  transition: background 0.4s, box-shadow 0.4s;
}

.header.bg-header {
  background: rgba(8, 8, 14, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--c-border);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 46px;
  width: auto;
}

/*--- Desktop nav ---*/
.nav__list {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  position: relative;
  transition: color 0.3s;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--g-brand);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--c-cyan);
}

.nav__link:hover::after,
.nav__link.active-link::after {
  width: 100%;
}

/* CTA phone button */
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  background: var(--g-brand);
  color: var(--c-white) !important;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 700;
  transition: box-shadow 0.3s, transform 0.3s;
}

.nav__cta::after { display: none !important; }

.nav__cta:hover {
  box-shadow: var(--s-glow);
  transform: translateY(-1px);
  color: var(--c-white) !important;
}

/* After bg-header: lighten nav links for readability on dark glass */
.bg-header .nav__link {
  color: rgba(255,255,255,0.75);
}

.bg-header .nav__link:hover,
.bg-header .nav__link.active-link {
  color: var(--c-cyan);
}

.nav__toggle,
.nav__close {
  display: none;
  font-size: 1.5rem;
  color: var(--c-white);
  cursor: pointer;
}

/*--- Mobile nav ---*/
@media (max-width: 1024px) {
  .nav__toggle { display: flex; }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(85vw, 360px);
    height: 100vh;
    background: var(--c-bg-alt);
    border-left: 1px solid var(--c-border);
    padding: 5.5rem 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: var(--z-nav);
  }

  .nav__menu.show-menu { right: 0; }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__list li { border-bottom: 1px solid var(--c-border); }

  .nav__link {
    display: block;
    padding: 1rem 0;
    font-size: var(--fs-md);
    color: var(--c-title);
  }

  .nav__cta {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    padding: 0.875rem;
  }

  .nav__close {
    display: flex;
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
  }
}

/*=============== HERO ===============*/
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
  overflow: hidden;
  padding-block: 0;
}

/*--- Background image ---*/
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.22;
  filter: grayscale(20%) brightness(0.8);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--g-hero);
}

/*--- Content layout ---*/
.hero__container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3rem;
  padding-top: calc(var(--header-height) + 3.5rem);
  padding-bottom: 6rem;
}

/*--- Badge ---*/
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  background: var(--c-cyan-dim);
  border: 1px solid var(--c-cyan-border);
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-cyan);
  margin-bottom: 1.75rem;
  width: fit-content;
}

.hero__badge i { font-size: 0.9rem; }

/*--- Headline ---*/
.hero__title {
  font-size: var(--fs-hero);
  font-weight: 900;
  color: var(--c-white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.hero__title-accent {
  background: var(--g-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/*--- Description ---*/
.hero__description {
  font-size: var(--fs-md);
  color: var(--c-text);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

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

/*--- Hero image (William) ---*/
.hero__visual {
  display: none;
  justify-content: center;
  align-items: flex-end;
}

.hero__img-wrapper {
  position: relative;
}

.hero__img {
  width: 340px;
  max-width: 100%;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,0.9));
  position: relative;
  z-index: 1;
}

.hero__img-card {
  position: absolute;
  bottom: 2rem;
  left: -1.75rem;
  background: rgba(8, 8, 14, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-cyan);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.hero__img-card i {
  font-size: 1.625rem;
  color: var(--c-cyan);
}

.hero__img-card strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-title);
}

.hero__img-card span {
  font-size: var(--fs-xs);
  color: var(--c-text);
}

/*--- Stats bar ---*/
.hero__stats {
  position: relative;
  z-index: 1;
  background: rgba(18, 18, 32, 0.85);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--c-border);
}

.hero__stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding-block: 1.75rem;
  gap: 1.5rem 2.5rem;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__stat-number {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  background: var(--g-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero__stat-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero__stat-divider {
  width: 1px;
  height: 42px;
  background: var(--c-border);
}

/*=============== ABOUT ===============*/
.about {
  background: var(--c-bg-alt);
}

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

/*--- Image stack ---*/
.about__images {
  position: relative;
  height: 380px;
}

.about__img-main {
  position: absolute;
  right: 0;
  top: 0;
  width: 78%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--r-lg);
}

.about__img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__img-secondary {
  position: absolute;
  left: 0;
  bottom: -2rem;
  width: 46%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 4px solid var(--c-bg-alt);
  box-shadow: var(--s-card);
}

.about__img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__years-badge {
  position: absolute;
  top: -0.75rem;
  left: 35%;
  width: 82px;
  height: 82px;
  background: var(--g-brand);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--s-glow);
  z-index: 2;
  border: 3px solid var(--c-bg-alt);
}

.about__years-number {
  font-size: 1.625rem;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.about__years-text {
  font-size: 0.55rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

/*--- Data column ---*/
.about__description {
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about__description strong {
  color: var(--c-cyan);
  font-weight: 700;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.about__feature:hover {
  border-color: var(--c-cyan);
  box-shadow: 0 0 0 1px rgba(64,190,233,0.08);
}

.about__feature-icon {
  width: 46px;
  height: 46px;
  background: var(--c-cyan-dim);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--c-cyan);
  flex-shrink: 0;
  transition: background 0.3s;
}

.about__feature:hover .about__feature-icon {
  background: rgba(64,190,233,0.18);
}

.about__feature strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-title);
  margin-bottom: 0.1rem;
}

.about__feature p {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  margin: 0;
}

.about__cta {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.about__cmeq {
  height: 34px;
  width: auto;
  opacity: 0.55;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}

.about__cmeq:hover { opacity: 0.9; }

/*=============== SERVICES ===============*/
.services {
  background: var(--c-bg);
  position: relative;
  overflow: hidden;
}

/* Ambient glow decoration */
.services::before {
  content: '';
  position: absolute;
  top: -300px;
  right: -300px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(64,190,233,0.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.services__header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.services__header-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.services__description {
  color: var(--c-text);
  line-height: 1.75;
}

.services__swiper-wrapper {
  position: relative;
  z-index: 1;
}

.services__swiper {
  overflow: hidden;
  padding-bottom: 4.5rem !important;
}

/* Equal-height : le JS (equalizeServiceCards) fixe la hauteur après init */
.services__card {
  width: 290px;
  display: flex;
  flex-direction: column;
  background: var(--g-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  cursor: default;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.services__card:hover {
  border-color: var(--c-cyan);
  box-shadow: 0 0 0 1px rgba(64,190,233,0.08), var(--s-card);
  transform: translateY(-4px);
}

.services__icon {
  width: 58px;
  height: 58px;
  background: var(--c-cyan-dim);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.625rem;
  color: var(--c-cyan);
  margin-bottom: 1.25rem;
  transition: background 0.3s, box-shadow 0.3s;
}

.services__card:hover .services__icon {
  background: rgba(64,190,233,0.18);
  box-shadow: var(--s-glow);
}

.services__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-title);
  margin-bottom: 0.625rem;
  line-height: 1.35;
}

.services__card p {
  font-size: var(--fs-xs);
  color: var(--c-text);
  line-height: 1.65;
  flex: 1;               /* Push description to fill remaining vertical space */
}

/*--- Swiper navigation ---*/
.swiper-button-prev::after,
.swiper-button-next::after {
  content: '';
}

.swiper-button-prev,
.swiper-button-next {
  top: auto;
  bottom: 0;
  width: 42px;
  height: 42px;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  color: var(--c-title);
  transition: all 0.3s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: var(--c-cyan-dim);
  border-color: var(--c-cyan);
  box-shadow: var(--s-glow);
}

.swiper-button-prev { left: calc(50% - 50px); }
.swiper-button-next { right: calc(50% - 50px); }

.swiper-button-prev i,
.swiper-button-next i { font-size: 1.25rem; }

/*=============== GALLERY ===============*/
.gallery {
  background: var(--c-bg-alt);
}

.gallery__header {
  text-align: center;
  margin-bottom: 2rem;
}

.gallery__header .section__tag {
  justify-content: center;
}

.gallery__header .section__tag::before { display: none; }

.gallery__header .section__title { margin-bottom: 0; }

/*--- Filter buttons ---*/
.gallery__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.gallery__filter {
  padding: 0.5rem 1.25rem;
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-text);
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s;
}

.gallery__filter:hover,
.gallery__filter.active {
  background: var(--c-cyan-dim);
  border-color: var(--c-cyan);
  color: var(--c-cyan);
}

/*--- Photo grid ---*/
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.875rem;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--c-card);
  transition: transform 0.3s, opacity 0.35s;
}

.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 8 / 3;
}

.gallery__item.hidden {
  display: none;
}

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

.gallery__item:hover img {
  transform: scale(1.07);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 80, 130, 0.9) 0%,
    rgba(8, 8, 14, 0.1) 55%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1.125rem 1.25rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery__item:hover .gallery__overlay { opacity: 1; }

.gallery__category {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-white);
}

.gallery__category i { font-size: 1rem; opacity: 0.85; }

/*=============== CONTACT ===============*/
.contact {
  background: var(--c-bg);
  position: relative;
}

/* Ambient glow decoration */
.contact::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(64,190,233,0.04) 0%, transparent 65%);
  pointer-events: none;
}

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

.contact__header .section__tag {
  justify-content: center;
}

.contact__header .section__tag::before { display: none; }

.contact__header .section__title { margin-bottom: 0; }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

/*--- Phone CTA ---*/
.contact__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact__phone {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.625rem 1.75rem;
  background: var(--c-cyan-dim);
  border: 1px solid var(--c-cyan-border);
  border-radius: var(--r-lg);
  width: 100%;
  transition: box-shadow 0.3s, transform 0.3s;
}

.contact__phone:hover {
  box-shadow: var(--s-glow);
  transform: translateY(-2px);
}

.contact__phone-icon {
  width: 52px;
  height: 52px;
  background: var(--g-brand);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.contact__phone-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text);
  margin-bottom: 0.2rem;
}

.contact__phone-number {
  display: block;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--c-white);
  letter-spacing: -0.02em;
  line-height: 1;
}

.contact__note {
  font-size: var(--fs-sm);
  color: var(--c-text);
  line-height: 1.75;
}

/*--- Info cards grid ---*/
.contact__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.contact__card {
  padding: 1.5rem;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact__card:hover {
  border-color: var(--c-cyan);
  box-shadow: 0 0 0 1px rgba(64,190,233,0.07);
}

.contact__card-icon {
  width: 44px;
  height: 44px;
  background: var(--c-cyan-dim);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--c-cyan);
  margin-bottom: 1rem;
  transition: background 0.3s;
}

.contact__card:hover .contact__card-icon {
  background: rgba(64,190,233,0.18);
}

.contact__card h3 {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-title);
  margin-bottom: 0.375rem;
}

.contact__card p,
.contact__card a {
  font-size: var(--fs-xs);
  color: var(--c-text);
  line-height: 1.6;
  transition: color 0.3s;
}

.contact__card a:hover { color: var(--c-cyan); }

/*=============== FOOTER ===============*/
.footer {
  background: var(--c-bg-alt);
  border-top: 1px solid var(--c-border);
}

.footer__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-block: 4rem 3rem;
  border-bottom: 1px solid var(--c-border);
}

.footer__logo img {
  height: 46px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__tagline {
  font-size: var(--fs-sm);
  color: var(--c-text);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.footer__email a {
  font-size: var(--fs-sm);
  color: var(--c-cyan);
  transition: opacity 0.3s;
}

.footer__email a:hover { opacity: 0.7; }

.footer__cmeq {
  height: 30px;
  width: auto;
  margin-top: 1.5rem;
  opacity: 0.45;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}

.footer__cmeq:hover { opacity: 0.8; }

.footer__links-col h3,
.footer__social-col h3 {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-title);
  margin-bottom: 1.25rem;
}

.footer__links-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__links-col li,
.footer__links-col a {
  font-size: var(--fs-sm);
  color: var(--c-text);
  transition: color 0.3s;
}

.footer__links-col a:hover { color: var(--c-cyan); }

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  width: 42px;
  height: 42px;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--c-text);
  transition: all 0.3s;
}

.footer__social-link:hover {
  background: var(--c-cyan-dim);
  border-color: var(--c-cyan);
  color: var(--c-cyan);
  transform: translateY(-2px);
}

.footer__bottom {
  padding-block: 1.5rem;
}

.footer__bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  text-align: center;
}

.footer__bottom span {
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.footer__bottom a {
  color: var(--c-cyan);
  transition: opacity 0.3s;
}

.footer__bottom a:hover { opacity: 0.7; }

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1.5rem;
  bottom: -100%;
  width: 44px;
  height: 44px;
  background: var(--g-brand);
  color: white;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  z-index: 100;
  transition: bottom 0.4s, box-shadow 0.3s, transform 0.3s;
  box-shadow: var(--s-glow);
}

.scrollup:hover {
  box-shadow: var(--s-glow-l);
  transform: translateY(-3px);
  color: white;
}

.scrollup.show-scroll { bottom: 2rem; }

/*=============== SCROLLBAR ===============*/
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-cyan-dark); }

/*=============== BREAKPOINTS ===============*/

/* Small phones */
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__stats-grid { gap: 1.25rem 1.5rem; }
  .hero__stat-divider { display: none; }
  .contact__cards { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; aspect-ratio: 4/3; }
}

/* Tablet */
@media (min-width: 640px) {
  .about__features {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* Desktop */
@media (min-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    padding-top: calc(var(--header-height) + 5rem);
    padding-bottom: 7rem;
  }

  .hero__visual { display: flex; }

  .hero__stats-grid { gap: 4.5rem; }

  .about__container {
    grid-template-columns: 1fr 1fr;
    column-gap: 6rem;
  }

  .about__images { height: 480px; }

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

  .services__header {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 3rem;
  }

  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }

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

  .footer__bottom .container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/*=============== REVIEWS ===============*/
.reviews {
  background-color: var(--c-bg-alt);
}

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

.reviews__rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1rem;
}

.reviews__rating-summary .reviews__stars {
  display: flex;
  gap: 0.2rem;
  color: #f5c518;
  font-size: 1.25rem;
}

.reviews__score {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-title);
}

.reviews__count {
  color: var(--c-muted);
  font-size: var(--fs-sm);
}

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

.reviews__card {
  background: var(--g-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: border-color 0.3s, transform 0.3s;
}

.reviews__card:hover {
  border-color: var(--c-cyan-border);
  transform: translateY(-3px);
}

.reviews__card-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.reviews__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--g-brand);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviews__card-header strong {
  display: block;
  color: var(--c-title);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.reviews__badge {
  font-size: 0.7rem;
  color: var(--c-cyan);
  background: var(--c-cyan-dim);
  border: 1px solid var(--c-cyan-border);
  border-radius: 20px;
  padding: 0.15rem 0.5rem;
  display: inline-block;
  margin-top: 0.2rem;
}

.reviews__card .reviews__stars {
  display: flex;
  gap: 0.2rem;
  color: #f5c518;
  font-size: 1rem;
}

.reviews__card p {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--c-text);
  flex: 1;
}

.reviews__cta {
  text-align: center;
  margin-top: 3rem;
}

.reviews__cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Large */
@media (min-width: 1200px) {
  .about__features { grid-template-columns: repeat(2, 1fr); }

  .hero__img { width: 380px; }
}
