@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --gold: #d97706;
  --gold-light: #fbbf24;
  --gold-dark: #b45309;
  --dark: #1f2937;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --success: #10b981;
  --error: #ef4444;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
}

.font-brand {
  font-family: 'Playfair Display', Georgia, serif;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold);
}

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

/* Header & Navigation - Matching original */
.header {
  background: var(--white);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

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

.logo {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.025em;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--primary-light);
  font-weight: 500;
  letter-spacing: 0.05em;
}

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

.nav-links a {
  color: var(--gray-700);
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.lang-switcher {
  display: flex;
  margin-left: 16px;
}

.lang-select {
  padding: 8px 12px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--gray-700);
  background: var(--white);
  cursor: pointer;
}

.btn-consult {
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.875rem;
  margin-left: 16px;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}

.btn-consult:hover {
  background: var(--primary-dark);
  color: var(--white);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-700);
}

/* Hero Section - Full Screen with Rotating Background */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  transition: opacity 1s ease-in-out;
}

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

.hero-bg.hidden {
  opacity: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--white);
  padding: 0 16px;
}

.hero-text {
  max-width: 900px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero h1 .text-white-70 {
  display: block;
  opacity: 0.7;
}

.hero h1 .text-gold {
  display: block;
  color: var(--gold-light);
  margin-top: 8px;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.8;
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.hero-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: all 0.3s ease;
}

.hero-indicator.active {
  background: var(--gold-light);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounce 2s infinite;
}

.scroll-indicator-inner {
  width: 24px;
  height: 40px;
  border: 2px solid var(--white);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
}

.scroll-indicator-dot {
  width: 4px;
  height: 12px;
  background: var(--white);
  border-radius: 9999px;
  margin-top: 8px;
  animation: pulse 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

.section-title {
  text-align: center;
  margin-bottom: 64px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-title p {
  color: var(--gray-600);
  font-size: 1.25rem;
}

.section-alt {
  background: var(--gray-50);
}

/* Services Grid - Matching original */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-300);
}

.service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  border-color: var(--gold);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.service-icon.blue { background: linear-gradient(135deg, #bfdbfe, #93c5fd); }
.service-icon.amber { background: linear-gradient(135deg, #fde68a, #fcd34d); }
.service-icon.emerald { background: linear-gradient(135deg, #a7f3d0, #6ee7b7); }
.service-icon.purple { background: linear-gradient(135deg, #ddd6fe, #c4b5fd); }
.service-icon.teal { background: linear-gradient(135deg, #99f6e4, #5eead4); }
.service-icon.indigo { background: linear-gradient(135deg, #c7d2fe, #a5b4fc); }

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--dark);
}

.service-card p {
  color: var(--gray-600);
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.7;
}

.service-card ul {
  list-style: none;
  margin-bottom: 24px;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.service-card ul li {
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
}

.service-card ul li::before {
  content: '•';
  color: var(--gold);
  margin-right: 8px;
  margin-top: 2px;
}

.service-link {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
  display: flex;
  justify-content: flex-end;
}

.service-link:hover {
  text-decoration: underline;
  color: var(--primary-dark);
}

/* Stats Section */
.stats {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
  color: var(--white);
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--gold-light);
  margin-bottom: 8px;
  font-weight: 700;
}

.stat-item p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Success Stories */
.story-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.story-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.story-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.story-content {
  padding: 24px;
}

.story-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--dark);
}

.story-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.story-achievement {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--dark);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
}

/* Contact Form */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

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

.form-submit {
  text-align: center;
  margin-top: 32px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--gray-800);
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 24px 20px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  padding: 60px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 1.75rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--gray-700);
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.cta-section .btn {
  background: var(--primary);
  color: var(--white);
}

.cta-section .btn:hover {
  background: var(--dark);
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--gray-300);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about .logo-title {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-about p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-contact p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 24px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Newsletter */
.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
}

.newsletter-form button {
  padding: 12px 20px;
  background: var(--gold);
  color: var(--dark);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: var(--gold-light);
}

/* Service Detail Page */
.service-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 0;
  color: var(--white);
}

.service-hero h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.service-hero p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 700px;
}

.service-content {
  padding: 80px 0;
}

.service-content h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  margin-top: 40px;
}

.service-content h2:first-child {
  margin-top: 0;
}

.service-content p,
.service-content li {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.8;
}

.service-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.service-content li {
  margin-bottom: 12px;
}

.feature-box {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 32px;
  margin: 32px 0;
  border-left: 4px solid var(--gold);
}

.feature-box h3 {
  font-size: 1.125rem;
  margin-bottom: 16px;
}

/* Form Messages */
.form-message {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  display: none;
}

.form-message.success {
  background: #d1fae5;
  color: #065f46;
  display: block;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
  display: block;
}

/* Contact Cards */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  border: 1px solid var(--gray-200);
}

.contact-card .service-icon {
  margin: 0 auto 16px;
}

.contact-card h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 1px solid var(--gray-200);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links a {
    padding: 12px 16px;
    width: 100%;
    text-align: left;
  }
  
  .lang-switcher {
    margin-left: 0;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
    width: 100%;
  }
  
  .lang-select {
    width: 100%;
  }
  
  .btn-consult {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .stat-item h3 {
    font-size: 2.5rem;
  }
  
  .contact-cards {
    grid-template-columns: 1fr;
  }
}
