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

:root {
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --warm-50: #fefce8;
  --warm-100: #fef9c3;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.15), 0 8px 20px rgba(15, 23, 42, 0.08);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate-800);
  background: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--teal-700);
}

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

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-100);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--slate-800);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color 0.2s ease;
  position: relative;
}

.main-nav a:not(.btn):hover {
  color: var(--teal-600);
}

.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal-600);
  border-radius: 1px;
  transition: width 0.2s ease;
}

.main-nav a:not(.btn):hover::after {
  width: 100%;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal-600);
  color: #ffffff;
  border-color: var(--teal-600);
}

.btn-primary:hover {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--teal-600);
  border-color: var(--teal-600);
}

.btn-outline:hover {
  background: var(--teal-600);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-white {
  background: #ffffff;
  color: var(--teal-700);
  border-color: #ffffff;
}

.btn-white:hover {
  background: var(--slate-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  color: var(--teal-700);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1rem;
  border-radius: var(--radius-xl);
}

.btn-block {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

/* ========== MOBILE MENU ========== */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

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

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--teal-50) 0%, #f0fdf4 50%, var(--slate-50) 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--teal-700);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--slate-900);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
}

.hero-image {
  position: relative;
}

.hero-img-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 6/7;
}

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

.hero-float-card {
  position: absolute;
  bottom: 32px;
  left: -24px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.float-card-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-600);
  flex-shrink: 0;
}

.float-card-text {
  display: flex;
  flex-direction: column;
}

.float-card-text strong {
  font-size: 0.85rem;
  color: var(--slate-800);
}

.float-card-text span {
  font-size: 0.78rem;
  color: var(--slate-500);
}

/* ========== SECTION STYLES ========== */
.section-header {
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--slate-500);
  line-height: 1.7;
}

.text-center {
  text-align: center;
}

/* ========== SERVICES ========== */
.services {
  padding: 100px 0;
  background: #ffffff;
}

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

.service-card {
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.service-card:hover {
  background: #ffffff;
  border-color: var(--teal-100);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--teal-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-600);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--teal-600);
  color: #ffffff;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--slate-800);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.925rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ========== ABOUT ========== */
.about {
  padding: 100px 0;
  background: var(--slate-50);
}

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

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-stat {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--teal-600);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.02em;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-content > p {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-700);
}

/* ========== WHY US ========== */
.why-us {
  padding: 100px 0;
  background: #ffffff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.why-card:hover {
  background: var(--teal-50);
  border-color: var(--teal-100);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--teal-200);
  line-height: 1;
  margin-bottom: 16px;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--slate-800);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: 100px 0;
  background: var(--slate-50);
}

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

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--slate-100);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

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

.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--teal-100);
  color: var(--teal-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

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

.author-info strong {
  font-size: 0.9rem;
  color: var(--slate-800);
}

.author-info span {
  font-size: 0.8rem;
  color: var(--slate-400);
}

/* ========== CTA SECTION ========== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-600) 50%, var(--teal-500) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

/* ========== CONTACT ========== */
.contact {
  padding: 100px 0;
  background: #ffffff;
}

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

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  color: var(--slate-900);
  margin-bottom: 16px;
  line-height: 1.2;
}

.contact-info > p {
  font-size: 1rem;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 2px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.contact-item a,
.contact-item span {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.contact-item a:hover {
  color: var(--teal-600);
}

/* ========== CONTACT FORM ========== */
.contact-form-wrapper {
  background: var(--slate-50);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--slate-100);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--slate-800);
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.925rem;
  color: var(--slate-800);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--slate-400);
}

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

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-md);
  margin-top: 16px;
  color: var(--teal-800);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-success.show {
  display: flex;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--slate-800);
}

.footer-brand .logo-text {
  color: #ffffff;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--slate-400);
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--slate-400);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--teal-400);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact a {
  color: var(--teal-400);
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-contact a:hover {
  color: var(--teal-200);
}

.footer-contact span {
  font-size: 0.875rem;
  color: var(--slate-500);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--slate-600);
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-image {
    max-width: 480px;
    margin: 0 auto;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-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;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--slate-100);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
  }
  
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .main-nav a:not(.btn) {
    font-size: 1rem;
  }
  
  .hero {
    padding: 48px 0 64px;
  }
  
  .hero-inner {
    gap: 36px;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    justify-content: center;
  }
  
  .hero-float-card {
    left: 16px;
    bottom: 16px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-image img {
    height: 320px;
  }
  
  .about-stat {
    right: 16px;
    bottom: -16px;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }
  
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-form-wrapper {
    padding: 28px;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .services,
  .about,
  .why-us,
  .testimonials,
  .contact {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .hero-img-wrapper {
    aspect-ratio: 4/3;
  }
}
