/* ═══════════════════════════════════════════════
   À L'Eau Smith Inc. — Main Stylesheet
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Outfit:wght@600;700;800;900&display=swap');

:root {
  --blue: #0EA5E9;
  --blue-deep: #0369A1;
  --blue-dark: #075985;
  --blue-light: #38BDF8;
  --blue-lighter: #7DD3FC;
  --dark: #0C1117;
  --dark-card: #131A24;
  --dark-hover: #1A2332;
  --gray-text: #94A3B8;
  --gray-light: #CBD5E1;
  --white: #F1F5F9;
  --accent-warm: #F59E0B;
  --accent-orange: #EA580C;
  --success: #22C55E;
  --danger: #EF4444;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-blue: 0 4px 30px rgba(14,165,233,0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

/* Headings */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.15;
}

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

/* ─────────────── SPLASH OVERLAY ─────────────── */
.splash-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.splash-overlay * {
  pointer-events: none;
}

.splash-flash {
  position: absolute;
  top: -5%; left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(56,189,248,0.55) 0%, rgba(14,165,233,0.15) 40%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  animation: flashBurst 0.8s 0.3s ease-out forwards;
}

@keyframes flashBurst {
  0% { opacity: 0; transform: translateX(-50%) scale(0.3); }
  15% { opacity: 1; transform: translateX(-50%) scale(1.2); }
  100% { opacity: 0; transform: translateX(-50%) scale(1.8); }
}

.splatter {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(56,189,248,0.35), rgba(14,165,233,0.1) 60%, transparent 80%);
  opacity: 0;
  animation: splatterOut 1s ease-out forwards;
}
@keyframes splatterOut {
  0% { opacity: 0; transform: scale(0); }
  20% { opacity: 0.8; }
  100% { opacity: 0; transform: scale(1); }
}

.droplet {
  position: absolute;
  background: linear-gradient(180deg, rgba(56,189,248,0.6), rgba(14,165,233,0.25));
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0;
  filter: blur(0.5px);
  animation: dropletFall linear forwards;
}

@keyframes dropletFall {
  0% { opacity: 0; transform: translateY(0) scaleY(1); }
  5% { opacity: 0.85; }
  40% { opacity: 0.7; transform: translateY(var(--travel-mid)) scaleY(1.4); }
  85% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(var(--travel)) scaleY(1.8); }
}

.mist {
  position: absolute;
  background: radial-gradient(circle, rgba(56,189,248,0.3), transparent 70%);
  border-radius: 50%;
  opacity: 0;
  animation: mistFloat ease-out forwards;
}
@keyframes mistFloat {
  0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
  20% { opacity: 0.5; }
  100% { opacity: 0; transform: translate(var(--mx), var(--my)) scale(1.5); }
}

.streak {
  position: absolute;
  width: 2px;
  background: linear-gradient(180deg, rgba(56,189,248,0.5), rgba(56,189,248,0.15), transparent);
  opacity: 0;
  border-radius: 2px;
  animation: streakDrip ease-in forwards;
}
@keyframes streakDrip {
  0% { opacity: 0; height: 0; }
  10% { opacity: 0.6; }
  50% { opacity: 0.4; height: var(--streak-h); }
  100% { opacity: 0; height: var(--streak-h); transform: translateY(100px); }
}

.splash-drop {
  position: absolute;
  width: 6px; height: 6px;
  background: rgba(56,189,248,0.7);
  border-radius: 50%;
  opacity: 0;
  animation: splashArc ease-out forwards;
}
@keyframes splashArc {
  0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(0.2); }
}

/* ─────────────── AMBIENT WATER PARTICLES ─────────────── */
.water-particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.water-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(56,189,248,0.25);
  border-radius: 50%;
  pointer-events: none;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% { transform: translateY(110vh) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-10vh) translateX(var(--drift)); opacity: 0; }
}

/* ─────────────── NAVIGATION ─────────────── */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.main-nav.scrolled {
  background: rgba(12, 17, 23, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.4);
  padding: 0.5rem 0;
}

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

.nav-logo img {
  height: 50px;
  transition: height var(--transition);
}

.main-nav.scrolled .nav-logo img {
  height: 40px;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-text);
  transition: color var(--transition);
  position: relative;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

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

.nav-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  color: var(--gray-text);
  transition: all var(--transition);
}

.nav-social a:hover {
  background: rgba(14,165,233,0.15);
  color: var(--blue-light);
}

.nav-social svg {
  width: 16px;
  height: 16px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue);
  color: #fff;
  padding: 0.55rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--transition);
  border: none;
}

.nav-cta:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}

.nav-cta svg {
  width: 16px;
  height: 16px;
}

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

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

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

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: rgba(12,17,23,0.98);
  backdrop-filter: blur(30px);
  padding: 5rem 2rem 2rem;
  transition: right var(--transition);
  z-index: 999;
  box-shadow: -10px 0 40px rgba(0,0,0,0.5);
}

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

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-nav-overlay.open {
  opacity: 1;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-text);
  border-radius: 10px;
  transition: all var(--transition);
}

.mobile-nav a:hover {
  color: var(--white);
  background: rgba(14,165,233,0.1);
}

.mobile-nav .mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.85rem;
  background: var(--blue);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
}

.mobile-nav .mobile-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.mobile-nav .mobile-socials a {
  padding: 0.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
}

/* ─────────────── HERO SECTION ─────────────── */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: brightness(0.5);
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(
    135deg,
    rgba(12,17,23,0.95) 0%,
    rgba(12,17,23,0.75) 40%,
    rgba(3,105,161,0.2) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.25);
  border-radius: 100px;
  padding: 0.45rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--blue-light);
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(56,189,248,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(56,189,248,0); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  margin-bottom: 1.25rem;
  color: #fff;
}

.hero h1 .highlight {
  color: var(--blue-light);
  position: relative;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-text);
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  position: relative;
  z-index: 5;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--blue);
  color: #fff;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(14,165,233,0.3);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-secondary svg {
  width: 18px;
  height: 18px;
}

/* Hero photos */
.hero-photos {
  position: relative;
  height: 500px;
}

.hero-photo-card {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.hero-photo-card:hover {
  transform: scale(1.02);
}

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

.hero-photo-card:first-child {
  top: 0;
  left: 0;
  width: 65%;
  height: 70%;
  z-index: 2;
}

.hero-photo-card:last-child {
  bottom: 0;
  right: 0;
  width: 65%;
  height: 60%;
  z-index: 1;
  border: 3px solid rgba(14,165,233,0.2);
}

.hero-photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
}

/* ─────────────── SECTION STYLING ─────────────── */
.section {
  padding: 6rem 0;
  position: relative;
  z-index: 2;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-text);
  max-width: 600px;
  line-height: 1.7;
}

/* ─────────────── SERVICES GRID ─────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  background: var(--dark-hover);
  border-color: rgba(14,165,233,0.15);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* Water splash effect on hover */
.service-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(14,165,233,0.1), transparent 70%);
  border-radius: 50%;
  transform: translateX(-50%) scale(0);
  transition: transform 0.5s ease;
}

.service-card:hover::after {
  transform: translateX(-50%) scale(3);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14,165,233,0.1);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  color: var(--blue-light);
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(14,165,233,0.2);
  transform: scale(1.05);
}

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

.service-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ─────────────── WHY CHOOSE US ─────────────── */
.why-section {
  background: linear-gradient(180deg, rgba(14,165,233,0.03) 0%, transparent 100%);
}

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

.why-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.why-card:hover {
  border-color: rgba(14,165,233,0.15);
  transform: translateY(-2px);
}

.why-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14,165,233,0.15), rgba(3,105,161,0.1));
  border-radius: 14px;
  color: var(--blue-light);
}

.why-icon svg {
  width: 24px;
  height: 24px;
}

.why-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--white);
}

.why-card p {
  font-size: 0.92rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ─────────────── GALLERY ─────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0,0,0,0.6));
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  z-index: 1;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
}

.gallery-item:hover .gallery-item-label {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────── QUOTE FORM ─────────────── */
.quote-section {
  background: linear-gradient(180deg, transparent 0%, rgba(14,165,233,0.03) 50%, transparent 100%);
}

.quote-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}

.quote-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.quote-info p {
  color: var(--gray-text);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.quote-benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.quote-benefit span {
  font-size: 0.95rem;
  color: var(--gray-light);
}

.quote-form {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-light);
  margin-bottom: 0.4rem;
}

.form-group label .required {
  color: var(--blue-light);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: all var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--blue);
  background: rgba(14,165,233,0.05);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}

.form-input::placeholder {
  color: rgba(148,163,184,0.5);
}

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

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394A3B8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

/* Checkboxes */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.checkbox-item {
  position: relative;
}

.checkbox-item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-item label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--gray-text);
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 0;
}

.checkbox-item input:checked + label {
  background: rgba(14,165,233,0.12);
  border-color: var(--blue);
  color: var(--blue-light);
}

.checkbox-item label:hover {
  border-color: rgba(255,255,255,0.15);
  color: var(--white);
}

/* Radio buttons */
.radio-group {
  display: flex;
  gap: 0.75rem;
}

.radio-item {
  position: relative;
}

.radio-item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-item label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--gray-text);
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 0;
}

.radio-item input:checked + label {
  background: rgba(14,165,233,0.12);
  border-color: var(--blue);
  color: var(--blue-light);
}

/* Photo upload */
.photo-upload-area {
  border: 2px dashed rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}

.photo-upload-area:hover,
.photo-upload-area.dragover {
  border-color: var(--blue);
  background: rgba(14,165,233,0.05);
}

.photo-upload-area svg {
  width: 40px;
  height: 40px;
  color: var(--gray-text);
  margin-bottom: 0.75rem;
}

.photo-upload-area p {
  font-size: 0.9rem;
  color: var(--gray-text);
}

.photo-upload-area .upload-hint {
  font-size: 0.8rem;
  color: rgba(148,163,184,0.6);
  margin-top: 0.25rem;
}

.photo-previews {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.photo-preview {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
}

.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-preview .remove-photo {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  background: rgba(239,68,68,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  color: #fff;
  border: none;
  line-height: 1;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(14,165,233,0.25);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-submit .spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

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

.form-success h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.form-success p {
  color: var(--gray-text);
  line-height: 1.7;
}

/* ─────────────── FOOTER ─────────────── */
.footer {
  background: var(--dark-card);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 3.5rem 0 1.5rem;
  position: relative;
  z-index: 2;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

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

.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.7;
  max-width: 300px;
}

.footer h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--gray-text);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact a {
  color: var(--gray-text);
  transition: color var(--transition);
}

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

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

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  color: var(--gray-text);
  transition: all var(--transition);
}

.footer-socials a:hover {
  background: rgba(14,165,233,0.15);
  color: var(--blue-light);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal p {
  font-size: 0.82rem;
  color: rgba(148,163,184,0.6);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(148,163,184,0.5);
}

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

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

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

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

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

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

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.24s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.32s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(7) { transition-delay: 0.48s; }
.stagger-children .reveal:nth-child(8) { transition-delay: 0.56s; }

/* Hero entrance animations */
.hero-text-content {
  opacity: 0;
  animation: heroFadeUp 0.8s 0.6s ease forwards;
}

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

.hero-photo-card {
  opacity: 0;
}

.hero-photo-card:first-child {
  animation: heroPhotoIn 0.8s 0.9s ease forwards;
}

.hero-photo-card:last-child {
  animation: heroPhotoIn 0.8s 1.1s ease forwards;
}

@keyframes heroPhotoIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ─────────────── WATER REFLECTION ─────────────── */
.water-reflection {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(transparent, rgba(14,165,233,0.02));
  pointer-events: none;
  z-index: 0;
}

/* ─────────────── RESPONSIVE ─────────────── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-photos {
    height: 350px;
    order: -1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-social, .nav-cta {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .mobile-nav {
    display: block;
  }
  
  .mobile-nav-overlay {
    display: none;
  }
  
  .mobile-nav-overlay.open {
    display: block;
  }
  
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 2rem;
  }
  
  .hero-photos {
    height: 280px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .quote-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .container {
    padding: 0 1.25rem;
  }
  
  .quote-form {
    padding: 1.5rem;
  }
  
  .radio-group {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }
  
  .hero-photos {
    height: 220px;
  }
  
  .hero-ctas {
    flex-direction: column;
  }
  
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    justify-content: center;
    width: 100%;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ─────────────── FORM ERROR STATES ─────────────── */
.form-input.error {
  border-color: var(--danger);
  background: rgba(239,68,68,0.05);
}

.form-error {
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 0.3rem;
  display: none;
}

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

/* ─────────────── LAZY LOAD ─────────────── */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s ease;
}

img[loading="lazy"].loaded,
img.loaded {
  opacity: 1;
}
