/* ============================================
   ROYAL HART INK — Style Sheet
   Emerald Green + Cream | Vibrant Modern
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-300: #6ee7b7;
  --emerald-200: #a7f3d0;
  --emerald-100: #d1fae5;
  --emerald-50:  #ecfdf5;

  --cream-50:  #fefdf8;
  --cream-100: #f5f0e8;
  --cream-200: #ede5d5;
  --cream-300: #e0d5c0;

  --dark: #0f1a14;
  --dark-soft: #1a2e23;
  --text-primary: #0f1a14;
  --text-secondary: #374151;
  --text-muted: #6b7280;
  --white: #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(6, 78, 59, 0.08);
  --shadow-md: 0 4px 20px rgba(6, 78, 59, 0.1);
  --shadow-lg: 0 8px 40px rgba(6, 78, 59, 0.15);
  --shadow-xl: 0 16px 60px rgba(6, 78, 59, 0.2);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--cream-50);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--emerald-800);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--emerald-700);
  color: var(--white);
  border-color: var(--emerald-700);
  box-shadow: 0 4px 14px rgba(4, 120, 87, 0.35);
}
.btn-primary:hover {
  background: var(--emerald-800);
  border-color: var(--emerald-800);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(4, 120, 87, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--emerald-800);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--emerald-800);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--emerald-600);
  color: var(--white);
  padding: 10px 22px;
  font-size: 14px;
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 10px rgba(4, 120, 87, 0.3);
}
.btn-nav:hover {
  background: var(--emerald-700);
  transform: translateY(-1px);
}

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

.btn-lg {
  padding: 18px 36px;
  font-size: 17px;
}

/* --- Section Shared --- */
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-600);
  background: var(--emerald-100);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-desc {
  margin: 0 auto;
}

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245, 240, 232, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(6, 78, 59, 0.08);
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(245, 240, 232, 0.96);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--emerald-800);
}
.nav-logo-icon {
  color: var(--emerald-800);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-menu a:not(.btn-nav) {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}
.nav-menu a:not(.btn-nav)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emerald-600);
  transition: width 0.3s;
}
.nav-menu a:not(.btn-nav):hover {
  color: var(--emerald-700);
}
.nav-menu a:not(.btn-nav):hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--emerald-800);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--emerald-800);
  position: relative;
  overflow: hidden;
  padding: 100px 24px 60px;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  pointer-events: none;
}
.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: var(--emerald-400);
  top: -200px;
  right: -100px;
}
.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: var(--cream-200);
  bottom: -100px;
  left: -100px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}
.hero-shape-3 {
  width: 200px;
  height: 200px;
  background: var(--emerald-300);
  top: 30%;
  left: 10%;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}
.hero-shape-4 {
  width: 120px;
  height: 120px;
  background: var(--cream-100);
  top: 20%;
  right: 25%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float-shape 6s ease-in-out infinite;
}

@keyframes float-shape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-card-main {
  background: var(--cream-50);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}
.hero-card-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--emerald-500), var(--emerald-300), var(--cream-200));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--emerald-100);
  color: var(--emerald-800);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald-500);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.hero-headline-accent {
  display: block;
  color: var(--emerald-700);
  font-style: italic;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.stat-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-xl);
}
.stat-card-1 { border-left: 4px solid var(--emerald-500); }
.stat-card-2 { border-left: 4px solid var(--cream-300); }
.stat-card-3 { border-left: 4px solid var(--emerald-300); }

.stat-card-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  opacity: 0.08;
  transform: translate(20px, -20px);
}
.stat-card-1 .stat-card-accent { background: var(--emerald-500); }
.stat-card-2 .stat-card-accent { background: var(--cream-300); }
.stat-card-3 .stat-card-accent { background: var(--emerald-300); }

.stat-card-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--emerald-700);
  line-height: 1;
}
.stat-card-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- SERVICES --- */
.services {
  padding: 100px 0;
  background: var(--cream-50);
  position: relative;
  overflow: hidden;
}
.services-bg-shape {
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--emerald-100);
  border-radius: 50%;
  top: -200px;
  right: -200px;
  opacity: 0.4;
  pointer-events: none;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.service-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-visual img {
  transform: scale(1.08);
}
.service-card-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 78, 59, 0.6), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover .service-card-visual-overlay {
  opacity: 1;
}
.service-card-visual-overlay svg {
  color: var(--white);
}

.service-card-body {
  padding: 24px;
}
.service-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.service-card-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- ABOUT --- */
.about {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-img-accent {
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 52%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 5px solid var(--white);
}
.about-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: -20px;
  right: 40px;
  background: var(--emerald-700);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-exp-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}
.about-exp-text {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
  line-height: 1.3;
}

.about-content .section-tag {
  margin-bottom: 16px;
}
.about-content .section-title {
  margin-bottom: 24px;
}
.about-body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.about-feature-icon {
  width: 36px;
  height: 36px;
  background: var(--emerald-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-700);
  flex-shrink: 0;
}

/* --- GALLERY --- */
.gallery {
  padding: 100px 0;
  background: var(--cream-50);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 78, 59, 0.8), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}
.gallery-item-overlay span {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.gallery-item-1 { grid-column: 1 / 8; grid-row: 1 / 2; }
.gallery-item-2 { grid-column: 8 / 13; grid-row: 1 / 2; }
.gallery-item-3 { grid-column: 1 / 5; grid-row: 2 / 3; }
.gallery-item-4 { grid-column: 5 / 10; grid-row: 2 / 3; }
.gallery-item-5 { grid-column: 10 / 13; grid-row: 2 / 3; }

/* --- TESTIMONIALS --- */
.testimonials {
  padding: 100px 0;
  background: var(--emerald-800);
  position: relative;
  overflow: hidden;
}
.testimonials-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(16, 185, 129, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(110, 231, 183, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials .section-tag {
  background: rgba(255, 255, 255, 0.15);
  color: var(--emerald-200);
}
.testimonials .section-title {
  color: var(--white);
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-6px);
}

.testimonial-card-quote {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--emerald-400);
  opacity: 0.5;
  margin-bottom: -8px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--emerald-400);
}
.testimonial-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial-author-name {
  display: block;
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
}
.testimonial-author-detail {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- CTA --- */
.cta {
  padding: 100px 0;
  background: var(--cream-100);
  position: relative;
  overflow: hidden;
}
.cta-shape-1 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--emerald-200);
  border-radius: 50%;
  top: -200px;
  left: -100px;
  opacity: 0.5;
  pointer-events: none;
}
.cta-shape-2 {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--emerald-300);
  border-radius: 50%;
  bottom: -150px;
  right: -50px;
  opacity: 0.3;
  pointer-events: none;
}

.cta-card {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-card .section-tag {
  margin-bottom: 20px;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}
.cta-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- CONTACT --- */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-tag {
  margin-bottom: 16px;
}
.contact-info .section-title {
  margin-bottom: 16px;
}
.contact-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: var(--emerald-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-700);
  flex-shrink: 0;
}
.contact-detail strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald-800);
  margin-bottom: 4px;
}
.contact-detail span,
.contact-detail a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.contact-detail a:hover {
  color: var(--emerald-700);
  text-decoration: underline;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* --- Contact Form --- */
.contact-form-card {
  background: var(--cream-50);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--cream-200);
}
.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--cream-300);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success-icon {
  width: 64px;
  height: 64px;
  background: var(--emerald-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--emerald-700);
}
.form-success h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.form-success p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- FOOTER --- */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-logo-icon {
  color: var(--emerald-400);
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--emerald-400);
}
.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 8px;
}
.footer-contact a {
  transition: color 0.2s;
}
.footer-contact a:hover {
  color: var(--emerald-400);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Scroll Animations --- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .stat-card {
    flex: 1;
    min-width: 160px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about-visual {
    max-width: 500px;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--cream-50);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    transition: right 0.3s ease;
  }
  .nav-menu.open {
    right: 0;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-menu a:not(.btn-nav) {
    font-size: 18px;
  }

  .hero {
    padding: 100px 20px 80px;
  }
  .hero-card-main {
    padding: 32px;
  }
  .hero-cards {
    flex-direction: column;
  }
  .stat-card {
    min-width: auto;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 200px);
  }
  .gallery-item-1 { grid-column: 1 / -1; grid-row: 1; }
  .gallery-item-2 { grid-column: 1; grid-row: 2; }
  .gallery-item-3 { grid-column: 2; grid-row: 2; }
  .gallery-item-4 { grid-column: 1 / -1; grid-row: 3; }
  .gallery-item-5 { display: none; }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid .testimonial-card:last-child {
    max-width: none;
  }

  .about-img-accent {
    right: -10px;
    bottom: -20px;
    width: 55%;
  }
  .about-features {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.9rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .cta-actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .contact-form-card {
    padding: 24px;
  }
}
