/* Base & Variables */
:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-400: #f59e0b;
  --amber-600: #d97706;
  --amber-800: #92400e;

  --slate-50: #f8fafc;

  --gray-900: #111827;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-400: #9ca3af;

  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, .10);
  --shadow-lg: 0 14px 40px rgba(16, 24, 40, .12);
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  color: var(--gray-900);
  background: linear-gradient(to bottom, var(--slate-50), #fff);
  /* Improve INP by removing double-tap zoom delay */
  touch-action: manipulation;
}

/* Layout helpers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px
}

.center {
  text-align: center
}

.mt-48 {
  margin-top: 48px
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(180%) blur(8px);
  box-shadow: 0 1px 10px rgba(0, 0, 0, .06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px
}

.brand__logo {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: transform 0.3s ease;
}

.brand__logo:hover {
  transform: scale(1.05) rotate(-2deg);
}

.brand__logo--small {
  width: 36px;
  height: 36px
}

.brand__name {
  font-weight: 700;
  font-size: 18px
}

.nav__links {
  display: none;
  gap: 28px;
  align-items: center
}

.nav__links a:not(.btn) {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
}

.nav__links a:not(.btn):hover {
  color: var(--amber-600)
}

@media (min-width:768px) {
  .nav__links {
    display: flex
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 60px;
  /* Vibrant background with amber/gold accents */
  background:
    radial-gradient(circle at 85% 15%, rgba(251, 191, 36, 0.2), transparent 50%),
    radial-gradient(circle at 15% 85%, rgba(217, 119, 6, 0.15), transparent 50%),
    linear-gradient(135deg, #fff, #fffbeb);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero__content-left {
  position: relative;
  z-index: 2;
  text-align: left;
}

.hero__title {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  margin: 24px 0 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(90deg, var(--amber-600), var(--amber-800));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.6;
  color: var(--gray-600);
  max-width: 540px;
  margin: 0 0 32px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  justify-content: flex-start;
}

.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

.hero__image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero__main-img {
  width: 100%;
  max-width: 550px;
  height: auto;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.25));
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.4s ease;
  border-radius: 20px;
  /* Optional: if image needs rounding */
}

.hero__main-img:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.hero__blob {
  position: absolute;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0) 70%);
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  border: 1px solid rgba(107, 143, 113, 0.2);
  box-shadow: var(--shadow-sm);
}

/* Premium SaaS Glass Card */
.hero__glass-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  padding: 30px;
  border-radius: 32px;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.10),
    0 1px 3px rgba(0, 0, 0, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.4s ease;
  animation: float-card 6s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 560px;
  width: 100%;
  position: relative;
}

.hero__glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.hero__glass-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.hero__logo-main {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 36px rgba(107, 143, 113, 0.28));
  transform: translateZ(20px);
  border-radius: 18px;
}

@keyframes float-card {

  0%,
  100% {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(0);
  }

  50% {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-20px);
  }
}

/* Hero Green Theme Overrides - Scoped to Home Page Hero ID */
#hero {
  /* Sage/Green tint background */
  background:
    radial-gradient(circle at 85% 15%, rgba(107, 143, 113, 0.1), transparent 50%),
    radial-gradient(circle at 15% 85%, rgba(107, 143, 113, 0.05), transparent 50%),
    linear-gradient(135deg, #fff, #f1f8e9);
}

#hero .text-gradient {
  /* Premium Sage Green Gradient */
  background: linear-gradient(90deg, #557c5e, #3a5a40);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#hero .badge--amber {
  /* Light Sage Glass Badge */
  background: rgba(232, 245, 233, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #2e5c38;
  border: 1px solid rgba(107, 143, 113, 0.25);
  box-shadow: 0 2px 8px rgba(107, 143, 113, 0.05);
}

#hero .btn--primary {
  /* Premium Green Glass Button */
  background: rgba(107, 143, 113, 0.9) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 4px 12px rgba(107, 143, 113, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

#hero .btn--primary:hover {
  background: rgba(85, 124, 94, 0.95) !important;
  transform: translateY(-1px);
  box-shadow:
    0 6px 16px rgba(107, 143, 113, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

#hero .btn--outline {
  border-color: #6b8f71;
  color: #6b7280;
  /* Gray text for elegance */
}

#hero .btn--outline:hover {
  background: #f1f8e9;
  color: #557c5e;
}

/* Portfolio Card Fit Utility */
.portfolio__card--fit {
  width: fit-content;
  margin: 0 auto;
  max-width: 100%;
}

.hero__blob {
  /* Removed the orange blob, replaced with subtle green glow */
  background: radial-gradient(circle, rgba(107, 143, 113, 0.1) 0%, rgba(107, 143, 113, 0) 70%);
}

@media (max-width: 960px) {
  .hero {
    padding-top: 100px;
    /* Space for nav */
    text-align: center;
  }

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

  .hero__content-left {
    text-align: center;
    order: 1;
  }

  .hero__image-container {
    order: 2;
    margin-top: -20px;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__features {
    justify-content: center;
  }

  .hero__main-img {
    max-width: 100%;
    transform: none;
    /* Simplify on mobile */
  }

  .hero__main-img:hover {
    transform: none;
  }
}

/* Section */
.section {
  padding: 80px 0
}

.section--white {
  background: #fff
}

.section--gradient {
  background: linear-gradient(to bottom, #fff, var(--slate-50))
}

.section__header {
  text-align: center;
  margin-bottom: 40px
}

.section__title {
  font-size: 36px;
  font-weight: 800;
  margin: 8px 0 10px
}

.section__desc {
  color: var(--gray-600);
  font-size: 18px;
  max-width: 820px;
  margin: 0 auto
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(217, 119, 6, .25);
  font-size: 14px;
  /* Increased from 12px */
  font-weight: 600;
}

.badge--amber {
  background: var(--amber-100);
  color: #7c3e0e;
  border-color: #f5d08a
}

.badge--secondary {
  background: #f3f4f6;
  color: #374151;
  border-color: #e5e7eb
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
  box-shadow: var(--shadow-sm);
}

.btn--lg {
  height: 52px;
  padding: 0 26px;
  font-size: 18px
}

.btn--primary {
  background: var(--amber-600);
  color: #fff
}

.btn--primary:hover {
  background: #c56f06
}

.btn--outline {
  border: 2px solid var(--amber-600);
  color: var(--amber-600);
  background: transparent
}

.btn--outline:hover {
  background: rgba(249, 164, 64, .08)
}

.icon-arrow {
  font-weight: 700
}

/* Light buttons for CTA */
.btn--light {
  background: #fff;
  color: var(--amber-600)
}

.btn--light:hover {
  background: #fff5ea
}

.btn--outline-light {
  border: 2px solid #fff;
  color: #fff;
  background: transparent
}

.btn--outline-light:hover {
  background: #fff;
  color: var(--amber-600)
}

.btn--premium {
  background: linear-gradient(180deg, var(--amber-600), var(--amber-800));
  color: #fff;
  border: 1px solid rgba(146, 64, 14, 0.50);
  box-shadow: 0 12px 24px -10px rgba(146, 64, 14, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  letter-spacing: 0.3px;
  transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn--premium:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px -12px rgba(146, 64, 14, 0.50), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.btn--premium:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px -10px rgba(146, 64, 14, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Lists */
.list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0
}

.list li {
  display: flex;
  align-items: center;
  color: var(--gray-700);
  margin: 10px 0
}

.icon-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-right: 10px;
  background: var(--amber-100);
  color: var(--amber-600);
  font-weight: 700
}

.icon-check--slate {
  background: #eef2f7;
  color: #334155
}

/* Cards */
.card {
  border: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden
}

.card__content {
  padding: 28px
}

.card__title {
  font-size: 22px;
  font-weight: 800;
  margin: 8px 0 14px
}

.card__text {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 12px
}

.card--gradient-amber {
  background: linear-gradient(135deg, #fff, var(--amber-50))
}

.card--gradient-slate {
  background: linear-gradient(135deg, #fff, #f7fafc)
}

.card__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 20px;
  transform: translateZ(0);
  transition: transform .2s ease
}

.card__icon--amber {
  background: var(--amber-600);
  color: #fff
}

.card__icon--slate {
  background: #334155;
  color: #fff
}

.card:hover .card__icon {
  transform: scale(1.06)
}

/* Grids */
.grid {
  display: grid;
  gap: 24px
}

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

.grid--3 {
  grid-template-columns: repeat(1, 1fr)
}

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

@media (min-width:860px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr)
  }

  .grid--3 {
    grid-template-columns: repeat(3, 1fr)
  }

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

/* Service Cards (New) */
.service-card {
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #f3f4f6;
  transition: all 0.2s ease;
  height: 100%;
}

.service-card:hover {
  border-color: var(--amber-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--amber-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-600);
  margin-bottom: 24px;
}

.service-card__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--gray-900);
}

.service-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-600);
  margin: 0 0 32px;
}

/* New subtitle style for service-card sections */
.service-card__subtitle {
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 12px;
  font-size: 1.05em;
  line-height: 1.4;
  margin-top: 24px;
  /* Keeping margin-top from original CSS to maintain spacing */
}

.service-examples {
  margin-top: 16px;
  margin-bottom: 16px;
}

.service-examples strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gray-900);
  font-size: 0.95em;
}

/* Testimonials */
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
  text-align: left;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.testimonial-card--active {
  border: 1px solid var(--amber-600);
  box-shadow: 0 4px 6px -1px rgba(217, 119, 6, 0.1);
}

.quote-icon-wrapper {
  width: 48px;
  height: 48px;
  background: var(--amber-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.quote-icon-svg {
  width: 24px;
  height: 24px;
  fill: var(--amber-600);
}

.testimonial-card .stars {
  color: var(--amber-600);
  margin-bottom: 16px;
  font-size: 18px;
  letter-spacing: 2px;
}

.testimonial-text {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-separator {
  height: 1px;
  background: #f3f4f6;
  margin-bottom: 20px;
  width: 100%;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-weight: 700;
  color: #111827;
  font-size: 16px;
}

.author-role {
  color: #6b7280;
  font-size: 14px;
}

.author-location {
  color: #9ca3af;
  font-size: 13px;
}

.service-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--amber-600);
  margin-bottom: 24px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #f3f4f6;
  padding-top: 24px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-700);
  font-size: 16px;
  /* Increased from 14px */
  margin-bottom: 12px;
}

.service-features li:last-child {
  margin-bottom: 0;
}

.service-features li::before {
  content: "✔︎";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--amber-100);
  color: var(--amber-600);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Portfolio */
.portfolio__card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio__image {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--amber-100), var(--amber-200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  color: var(--amber-600)
}

.portfolio__image img {
  aspect-ratio: 1/1;
}

.portfolio__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio__image img.img-contain {
  object-fit: contain;
}

.portfolio__image--natural {
  aspect-ratio: auto;
  height: auto;
  background: transparent;
}

.portfolio__image--natural img {
  height: auto;
  object-fit: contain;
}

.portfolio__content {
  padding: 18px;
  position: relative
}

.portfolio__title {
  font-weight: 800;
  font-size: 18px;
  margin: 6px 0
}

.portfolio__text {
  color: var(--gray-600);
  font-size: 16px;
  /* Increased from 14px */
}

.heart {
  position: absolute;
  right: 16px;
  top: 16px;
  border: 0;
  background: transparent;
  color: #9ca3af;
  font-size: 18px;
  cursor: pointer
}

.heart:hover {
  color: #ef4444
}

/* Why Us / Stats */
.stat-card {
  text-align: center;
}

.stat-rect {
  background: var(--amber-600);
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  padding: 32px 16px;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.stat-card:hover .stat-rect {
  transform: translateY(-4px);
  background: var(--amber-800);
}

.stat-card__label {
  color: var(--gray-600);
  font-weight: 600;
  font-size: 18px;
}

/* Process */
/* Process Timeline */
/* Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  padding-top: 20px;
  /* Space for badges */
}

/* Connecting Line */
.process-grid::before {
  content: "";
  position: absolute;
  top: 40px;
  /* Align with badges */
  left: 0;
  right: 0;
  height: 2px;
  background: var(--amber-100);
  z-index: 0;
  display: none;
  /* Hidden by default, show on desktop if needed, but cards look good without */
}

@media (min-width: 1024px) {
  .process-grid::before {
    display: block;
    left: 12%;
    right: 12%;
  }
}

.process-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease;
}

.process-card:hover {
  transform: translateY(-4px);
}

.process-badge {
  position: absolute;
  top: -20px;
  left: 24px;
  background: var(--amber-600);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.process-icon {
  width: 48px;
  height: 48px;
  background: var(--amber-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-600);
  margin-bottom: 20px;
  margin-top: 10px;
}

.process-card__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--gray-900);
}

.process-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-600);
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
}

@media (max-width: 640px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Testimonials */
.testimonials .card {
  padding: 28px
}

.stars {
  color: var(--amber-400);
  font-size: 18px;
  margin-bottom: 10px
}

.quote {
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 18px
}

.author__name {
  font-weight: 800
}

.author__role {
  color: var(--gray-600);
  font-size: 14px;
  /* Increased from 13px */
}

/* CTA */
.cta {
  padding: 64px 0;
  background: linear-gradient(90deg, var(--amber-600), var(--amber-800));
  color: #fff;
  text-align: center
}

.cta__inner {
  max-width: 760px;
  margin: 0 auto
}

.cta__title {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 12px
}

.cta__desc {
  color: #fef3c7;
  font-size: 18px;
  margin: 0 0 24px
}

.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center
}

@media (max-width:720px) {
  .cta__actions {
    flex-direction: column
  }
}

/* Contact Form */
.contact-form-container {
  max-width: 600px;
  margin: 32px auto 0;
}

.contact-form {
  background: #fff;
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

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

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  color: var(--gray-900);
  transition: all 0.2s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--amber-600);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.1);
}

.form-input::placeholder {
  color: var(--gray-400);
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.form-checkbox input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--amber-600);
  cursor: pointer;
}

.form-checkbox label {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
  cursor: pointer;
}

.btn--full {
  width: 100%;
  height: 54px;
  font-size: 18px;
}

.contact-form-container .btn--primary.btn--full {
  background: linear-gradient(180deg, var(--amber-600), var(--amber-800));
  color: #fff;
  border: 1px solid rgba(146, 64, 14, 0.50);
  box-shadow: 0 12px 24px -10px rgba(146, 64, 14, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  letter-spacing: 0.3px;
  transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact-form-container .btn--primary.btn--full:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px -12px rgba(146, 64, 14, 0.50), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.contact-form-container .btn--primary.btn--full:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px -10px rgba(146, 64, 14, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.contact-form-container .btn--primary.btn--full .icon-send {
  transition: transform 0.25s ease;
}

.contact-form-container .btn--primary.btn--full:hover .icon-send {
  transform: translateX(3px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Logo Image */
.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }

  .btn--full {
    height: 48px;
    font-size: 16px;
  }
}

/* Footer */
.footer {
  background: #0b1220;
  color: #fff;
  padding: 52px 0
}

.footer__grid {
  gap: 28px
}

.footer__text {
  color: #a1a7b3
}

.footer__title {
  font-weight: 800;
  margin-bottom: 12px
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0
}

.footer__list li {
  color: #a1a7b3;
  margin: 8px 0
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 28px;
  padding-top: 18px;
  text-align: center;
  color: #a1a7b3
}

/* Success Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal {
  background: #fff;
  padding: 40px;
  border-radius: 24px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-icon {
  width: 80px;
  height: 80px;
  background: var(--amber-100);
  color: var(--amber-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 40px;
}

.modal-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--gray-900);
}

.modal-text {
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.6;
}

.modal-close {
  width: 100%;
}

/* Mobile Menu Styles */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 60;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  position: relative;
  transition: background 0.3s;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  transition: transform 0.3s, top 0.3s;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

.nav__toggle.active .hamburger {
  background: transparent;
}

.nav__toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav__toggle.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

@media (max-width: 768px) {
  .nav__toggle {
    display: block;
  }

  .nav__links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    /* évite le reflow lié à right:-100% */
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    padding-top: 80px;
    /* Optimisation INP: utiliser transform au lieu de right */
    transform: translateX(100%);
    transition: transform 0.28s ease-out;
    will-change: transform;
    pointer-events: none;
    /* pas de clics quand caché */
    z-index: 50;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
  }

  .nav__links.active {
    transform: translateX(0);
    pointer-events: auto;
  }

  .nav__links a {
    font-size: 20px;
    padding: 15px;
    width: 100%;
    text-align: center;
  }

  .nav__links .btn {
    height: auto;
    padding: 12px 16px;
    font-size: 18px;
    width: auto;
    margin: 8px auto;
    border-radius: 10px;
  }

  .no-scroll {
    overflow: hidden;
  }
}

/* Accessibility & Contrast Fixes */
.badge--amber {
  color: #78350f;
  /* Darker amber for better contrast */
  background: #fffbeb;
  border-color: #fcd34d;
}

.text-gradient {
  /* Fallback for better contrast if gradient fails or for accessibility tools */
  color: var(--amber-800);
}

/* Accessibilité et performance: réduire les animations si demandé */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Convivialité mobile: alléger les effets coûteux et améliorer les cibles tactiles */
@media (max-width: 480px) {
  .nav {
    backdrop-filter: none;
  }

  .nav__links a {
    padding: 12px 10px;
    /* + surface cliquable */
  }

  .nav__links .btn {
    height: auto;
    padding: 10px 12px;
    font-size: 16px;
    width: auto;
    margin: 6px auto;
    border-radius: 8px;
  }

  .badge {
    font-size: 15px;
    /* évite texte trop petit */
  }

  .footer__list li {
    font-size: 16px;
  }
}