/* ============================================
   Hair Essence Beauty Salon — Stylesheet
   Midnight Blue + Mint | Fresh & Airy
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  color: #152a3c;
  background-color: #f8fcfb;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: #0e1d2b;
}

/* ---------- Section Headers ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #288369;
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, #288369, #5bbf9e);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: #0e1d2b;
}

.section-description {
  font-size: 1.1rem;
  color: #507098;
  max-width: 560px;
  line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #1e3a52 0%, #2e5070 100%);
  color: #f2fbf8;
  box-shadow: 0 4px 15px rgba(30, 58, 82, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #152a3c 0%, #1e3a52 100%);
  box-shadow: 0 6px 25px rgba(30, 58, 82, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #f2fbf8;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

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

.btn-outline-light {
  background: transparent;
  color: #f2fbf8;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #f2fbf8;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---------- Navigation ---------- */
.nav-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-scrolled.scrolled {
  background: rgba(248, 252, 251, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(14, 29, 43, 0.08);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0e1d2b;
  z-index: 1001;
}

.nav-logo-icon {
  color: #288369;
}

.nav-logo-text {
  background: linear-gradient(135deg, #152a3c, #2e5070);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #507098;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: #152a3c;
  background: rgba(40, 131, 105, 0.06);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f2fbf8;
  background: linear-gradient(135deg, #288369, #3aa384);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: linear-gradient(135deg, #1f6754, #288369);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(40, 131, 105, 0.35);
}

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

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #152a3c;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8fcfb 0%, #e8f5ef 50%, #d4eddf 100%);
  overflow: hidden;
  padding: 8rem 0 4rem;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(40, 131, 105, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(46, 80, 112, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(91, 191, 158, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(40, 131, 105, 0.1);
  border: 1px solid rgba(40, 131, 105, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1f6754;
  margin-bottom: 1.5rem;
}

.hero-badge svg {
  color: #288369;
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: #0e1d2b;
  margin-bottom: 1.5rem;
}

.hero-accent {
  background: linear-gradient(135deg, #288369, #5bbf9e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: #507098;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 480px;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-stat-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #152a3c;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: #7c94b2;
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(14, 29, 43, 0.15);
}

/* Hero Image */
.hero-image-wrapper {
  position: relative;
}

.hero-image-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(40, 131, 105, 0.2);
  border-radius: 24px;
  z-index: -1;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 25px 60px rgba(14, 29, 43, 0.15);
}

.hero-image-badge {
  position: absolute;
  bottom: 2rem;
  left: -1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.875rem 1.25rem;
  background: #f2fbf8;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(14, 29, 43, 0.12);
}

.hero-image-badge svg {
  color: #e8617b;
}

.hero-image-badge span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #152a3c;
}

/* ---------- Services ---------- */
.services {
  padding: 7rem 0;
  background: #f8fcfb;
}

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

.services .section-description {
  margin: 0 auto;
}

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

.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(40, 131, 105, 0.08);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #288369, #5bbf9e);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(14, 29, 43, 0.1);
  border-color: rgba(40, 131, 105, 0.15);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(40, 131, 105, 0.08), rgba(91, 191, 158, 0.08));
  border-radius: 16px;
  margin-bottom: 1.25rem;
  color: #288369;
}

.service-card-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #0e1d2b;
}

.service-card-desc {
  font-size: 0.95rem;
  color: #507098;
  line-height: 1.7;
}

/* ---------- About ---------- */
.about {
  padding: 7rem 0;
  background: linear-gradient(180deg, #f8fcfb 0%, #eef6f2 100%);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(14, 29, 43, 0.12);
}

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

.about-img-secondary {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 55%;
  border-radius: 20px;
  overflow: hidden;
  border: 6px solid #f8fcfb;
  box-shadow: 0 15px 40px rgba(14, 29, 43, 0.12);
}

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

.about-pattern {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, #5bbf9e 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.3;
  z-index: -1;
}

.about-content .section-label {
  margin-bottom: 0.75rem;
}

.about-content .section-title {
  margin-bottom: 1.5rem;
}

.about-text {
  font-size: 1.05rem;
  color: #507098;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(40, 131, 105, 0.1), rgba(91, 191, 158, 0.1));
  border-radius: 10px;
  color: #288369;
  flex-shrink: 0;
}

.about-feature span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #152a3c;
}

/* ---------- Gallery ---------- */
.gallery {
  padding: 7rem 0;
  background: #f8fcfb;
}

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

.gallery .section-description {
  margin: 0 auto;
}

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

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: auto;
  cursor: pointer;
}

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

.gallery-item:nth-child(1) { aspect-ratio: 4/5; }
.gallery-item:nth-child(2) { aspect-ratio: 1; }
.gallery-item:nth-child(3) { aspect-ratio: 4/5; }
.gallery-item:nth-child(4) { aspect-ratio: 1; }
.gallery-item:nth-child(5) { aspect-ratio: 4/5; }
.gallery-item:nth-child(6) { aspect-ratio: 1; }

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 29, 43, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

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

.gallery-item-overlay span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #f2fbf8;
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: 7rem 0;
  background: linear-gradient(135deg, #0e1d2b 0%, #152a3c 50%, #1e3a52 100%);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(91, 191, 158, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(40, 131, 105, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.testimonials .section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.testimonials .section-label {
  color: #5bbf9e;
}

.testimonials .section-label::before {
  background: linear-gradient(90deg, #5bbf9e, #92d8be);
}

.testimonials .section-title {
  color: #f2fbf8;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(91, 191, 158, 0.2);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: #5bbf9e;
  opacity: 0.4;
  margin-bottom: -0.5rem;
}

.testimonial-text {
  font-size: 1rem;
  color: rgba(242, 251, 248, 0.8);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #288369, #5bbf9e);
  border-radius: 50%;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f2fbf8;
  flex-shrink: 0;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #f2fbf8;
}

.testimonial-location {
  font-size: 0.8rem;
  color: rgba(242, 251, 248, 0.5);
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: 7rem 0;
  background: linear-gradient(135deg, #288369 0%, #1f6754 50%, #154036 100%);
  position: relative;
  overflow: hidden;
}

.cta-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-label {
  color: rgba(242, 251, 248, 0.7);
}

.cta-label::before {
  background: linear-gradient(90deg, rgba(242, 251, 248, 0.5), rgba(242, 251, 248, 0.2));
}

.cta-title {
  color: #f2fbf8;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}

.cta-description {
  font-size: 1.1rem;
  color: rgba(242, 251, 248, 0.8);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ---------- Contact ---------- */
.contact {
  padding: 7rem 0;
  background: #f8fcfb;
}

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

.contact-info .section-label {
  margin-bottom: 0.75rem;
}

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

.contact-description {
  font-size: 1.05rem;
  color: #507098;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(40, 131, 105, 0.08), rgba(91, 191, 158, 0.08));
  border-radius: 12px;
  color: #288369;
  flex-shrink: 0;
}

.contact-detail-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7c94b2;
  margin-bottom: 0.2rem;
}

.contact-detail-value {
  display: block;
  font-size: 0.95rem;
  color: #152a3c;
  line-height: 1.6;
}

.contact-link {
  color: #288369;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #1f6754;
}

.contact-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(14, 29, 43, 0.08);
}

/* Contact Form */
.contact-form-wrapper {
  width: 100%;
}

.contact-form-card {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  border: 1px solid rgba(40, 131, 105, 0.08);
  box-shadow: 0 10px 40px rgba(14, 29, 43, 0.06);
}

.contact-form-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #0e1d2b;
}

.contact-form-subtitle {
  font-size: 0.95rem;
  color: #507098;
  margin-bottom: 2rem;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #152a3c;
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: #152a3c;
  background: #f8fcfb;
  border: 1.5px solid rgba(40, 131, 105, 0.15);
  border-radius: 12px;
  outline: none;
  transition: all 0.2s ease;
}

.form-input::placeholder {
  color: #a8b8cc;
}

.form-input:focus {
  border-color: #288369;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(40, 131, 105, 0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23507098' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

.form-success {
  text-align: center;
  padding: 2rem 1rem;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(40, 131, 105, 0.1), rgba(91, 191, 158, 0.1));
  border-radius: 50%;
  margin: 0 auto 1rem;
  color: #288369;
}

.form-success-title {
  font-size: 1.3rem;
  color: #0e1d2b;
  margin-bottom: 0.5rem;
}

.form-success-text {
  font-size: 0.95rem;
  color: #507098;
}

/* ---------- Footer ---------- */
.footer {
  background: #0e1d2b;
  padding: 5rem 0 0;
  color: rgba(242, 251, 248, 0.7);
}

.footer-layout {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #f2fbf8;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  color: #5bbf9e;
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(242, 251, 248, 0.5);
  max-width: 280px;
}

.footer-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f2fbf8;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(242, 251, 248, 0.5);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #5bbf9e;
}

.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0.25rem;
}

.footer-link {
  color: #5bbf9e;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #92d8be;
}

.footer-bottom {
  border-top: 1px solid rgba(242, 251, 248, 0.08);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(242, 251, 248, 0.35);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e3a52, #2e5070);
  color: #f2fbf8;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(14, 29, 43, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(14, 29, 43, 0.35);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal[data-reveal-state="hidden"] {
  opacity: 0;
  transform: translateY(30px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-container {
    gap: 2.5rem;
  }

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

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }

  .footer-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

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

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #f8fcfb;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    box-shadow: -10px 0 40px rgba(14, 29, 43, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
  }

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

  .nav-link {
    font-size: 1.05rem;
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .nav-cta {
    margin-top: 0.5rem;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(14, 29, 43, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
  }

  .nav-overlay.active {
    display: block;
  }

  .hero {
    padding: 7rem 0 3rem;
  }

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

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image-wrapper {
    max-width: 420px;
    margin: 0 auto;
  }

  .hero-image-accent {
    top: -12px;
    right: -12px;
  }

  .hero-image-badge {
    left: 0;
    bottom: 1.5rem;
  }

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

  .about-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-img-secondary {
    right: 0;
    bottom: -1.5rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

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

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

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

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-stat-divider {
    width: 40px;
    height: 1px;
  }

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

  .gallery-item:nth-child(odd) {
    aspect-ratio: 4/3;
  }

  .gallery-item:nth-child(even) {
    aspect-ratio: 4/3;
  }

  .contact-form-card {
    padding: 1.5rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal[data-reveal-state="hidden"] {
    opacity: 1;
    transform: none;
  }
}
