/* ============================================
   English Teacher Website - styles.css
   Mobile-first responsive design
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --navy: #1a2b3c;
  --coral: #ff6b6b;
  --cream: #faf9f6;
  --gold: #d4af37;
  --teal: #2ec4b6;
  --purple: #7b68ee;
  --blue: #4a90d9;
  --text-dark: #2c3e50;
  --text-light: #5a6c7d;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(26, 43, 60, 0.08);
  --shadow-md: 0 4px 16px rgba(26, 43, 60, 0.12);
  --shadow-lg: 0 8px 32px rgba(26, 43, 60, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50%;
  --max-width: 1200px;
  --header-height: 72px;
  --transition: all 0.3s ease;
  --fs-xs: 0.8rem;
  --fs-sm: 0.889rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.563rem;
  --fs-2xl: 1.953rem;
  --fs-3xl: 2.441rem;
  --fs-4xl: 3.052rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  line-height: 1.2;
  color: var(--navy);
}

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

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

ul { list-style: none; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

/* --- Language Switcher & Hidden States --- */
.hidden {
  display: none !important;
}

body {
  transition: opacity 0.15s ease;
}

[data-lang-bs], [data-lang-en] {
  transition: opacity 0.2s ease;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section-title {
  font-size: var(--fs-2xl);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: var(--fs-md);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes floatWord {
  0% { opacity: 0; transform: translateY(20px) rotate(-5deg); }
  20% { opacity: 0.12; }
  80% { opacity: 0.12; }
  100% { opacity: 0; transform: translateY(-100px) rotate(5deg); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@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; }
  .animate-on-scroll { opacity: 1; transform: none; }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26, 43, 60, 0.08);
  z-index: 1000;
  transition: var(--transition);
}

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

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-accent { color: var(--coral); }

/* Mobile menu toggle */
.nav-toggle { display: none; }

.nav-toggle-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
  position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  position: absolute;
}

.nav-toggle-label span::before { top: -7px; }
.nav-toggle-label span::after { top: 7px; }

.nav-toggle:checked + .nav-toggle-label span {
  background: transparent;
}

.nav-toggle:checked + .nav-toggle-label span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: calc(var(--header-height) + 2rem) 2rem 2rem;
  transition: right 0.3s ease;
  z-index: 999;
}

.nav-toggle:checked ~ .nav { right: 0; }

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--coral);
  background: rgba(255, 107, 107, 0.05);
}

.nav-cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--coral);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: #e55a5a;
  transform: scale(1.02);
}

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
}

.nav-toggle:checked ~ .nav-overlay { display: block; }

/* Language Switcher */
.lang-switcher-item {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.5rem 1rem;
}

.lang-divider {
  color: var(--text-light);
  font-size: var(--fs-sm);
  font-weight: 400;
  user-select: none;
  opacity: 0.5;
}

.lang-option {
  padding: 0.2rem 0.4rem;
  border: none;
  background: transparent;
  color: var(--text-light);
  font-weight: 500;
  font-size: var(--fs-sm);
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.lang-option:hover {
  color: var(--coral);
}

.lang-option:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.lang-option.active {
  color: var(--coral);
  font-weight: 700;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: linear-gradient(135deg, var(--cream) 0%, #f0ede8 50%, #e8e4df 100%);
  position: relative;
  overflow: hidden;
}

.hero-floating-words {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.floating-word {
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: var(--fs-lg);
  color: var(--navy);
  opacity: 0;
  animation: floatWord 8s ease-in-out infinite;
}

.floating-word:nth-child(1) { left: 5%; top: 20%; animation-delay: 0s; }
.floating-word:nth-child(2) { left: 75%; top: 15%; animation-delay: 2s; font-size: var(--fs-md); }
.floating-word:nth-child(3) { left: 60%; top: 70%; animation-delay: 4s; }
.floating-word:nth-child(4) { left: 15%; top: 75%; animation-delay: 6s; font-size: var(--fs-xl); }
.floating-word:nth-child(5) { left: 85%; top: 45%; animation-delay: 1s; font-size: var(--fs-sm); }
.floating-word:nth-child(6) { left: 40%; top: 85%; animation-delay: 3s; }

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero-content {
  text-align: center;
  animation: fadeUp 0.8s ease forwards;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(255, 107, 107, 0.1);
  color: var(--coral);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: var(--fs-3xl);
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-title-accent {
  color: var(--coral);
  display: block;
}

.hero-subtitle {
  font-size: var(--fs-md);
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: var(--fs-base);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(255, 107, 107, 0.35);
}

.btn-primary:hover {
  background: #e55a5a;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.hero-image {
  width: 100%;
  max-width: 350px;
  animation: slideInRight 0.8s ease 0.3s forwards;
  opacity: 0;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
}

.hero-image-wrapper img,
.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 12px;
  left: 12px;
  border: 3px solid var(--coral);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--navy);
  padding: 2.5rem 0;
}

.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1rem;
  transition: var(--transition);
}

.trust-item:hover .trust-icon { transform: translateY(-4px); }
.trust-item:hover .trust-label { color: var(--white); }

.trust-icon {
  width: 40px;
  height: 40px;
  color: var(--coral);
  transition: var(--transition);
}

.trust-icon svg { width: 100%; height: 100%; }

.trust-value {
  font-family: 'Playfair Display', serif;
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--white);
}

.trust-label {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  position: relative;
}

.trust-label::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: var(--transition);
  transform: translateX(-50%);
}

.trust-item:hover .trust-label::after { width: 100%; }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about { background: var(--white); }

.about-grid { display: grid; gap: 3rem; }

.about-image-wrapper {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}

.about-image img,
.about-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-image-badge {
  position: absolute;
  bottom: -15px;
  right: -10px;
  background: var(--coral);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--fs-sm);
  box-shadow: var(--shadow-md);
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-quote {
  position: relative;
  font-family: 'Playfair Display', serif;
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--navy);
  padding: 1.5rem;
  padding-left: 2.5rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 107, 107, 0.05);
  border-left: 4px solid var(--coral);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.about-quote::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 8px;
  font-size: 4rem;
  color: var(--coral);
  opacity: 0.3;
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.about-text {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.about-text strong { color: var(--text-dark); }

/* Timeline */
.timeline {
  margin-top: 2rem;
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--coral), var(--gold));
}

.timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
  padding-left: 1rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--coral);
  border: 3px solid var(--cream);
  border-radius: var(--radius-full);
  z-index: 1;
}

.timeline-year {
  font-weight: 700;
  color: var(--coral);
  font-size: var(--fs-sm);
  margin-bottom: 0.25rem;
}

.timeline-desc {
  color: var(--text-light);
  font-size: var(--fs-sm);
}

/* ============================================
   METHODOLOGY SECTION
   ============================================ */
.methodology { background: var(--cream); }

.method-grid { display: grid; gap: 1.5rem; }

.method-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 4px solid transparent;
  position: relative;
}

.method-card:nth-child(1) { border-top-color: var(--coral); }
.method-card:nth-child(2) { border-top-color: var(--teal); }
.method-card:nth-child(3) { border-top-color: var(--gold); }
.method-card:nth-child(4) { border-top-color: var(--purple); }
.method-card:nth-child(5) { border-top-color: var(--blue); }

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

.method-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.method-card:nth-child(1) .method-icon { color: var(--coral); }
.method-card:nth-child(2) .method-icon { color: var(--teal); }
.method-card:nth-child(3) .method-icon { color: var(--gold); }
.method-card:nth-child(4) .method-icon { color: var(--purple); }
.method-card:nth-child(5) .method-icon { color: var(--blue); }

.method-icon svg { width: 100%; height: 100%; }

.method-title {
  font-size: var(--fs-lg);
  margin-bottom: 0.5rem;
}

.method-desc {
  color: var(--text-light);
  font-size: var(--fs-sm);
  margin-bottom: 0.75rem;
}

.method-detail {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(26, 43, 60, 0.15);
}

.method-card:hover .method-detail {
  max-height: 200px;
  opacity: 1;
  padding: 1rem 1.5rem 1.5rem;
}

.method-detail-text {
  font-size: var(--fs-sm);
  color: var(--text-light);
  line-height: 1.6;
}

.method-detail-text strong { color: var(--text-dark); }

/* ============================================
   SERVICES & PRICING SECTION
   ============================================ */
.services { background: var(--white); }

.pricing-cards {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.pricing-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 107, 107, 0.2);
}

/* Featured card */
.pricing-card--featured {
  background: var(--navy);
  border-color: var(--coral);
}

.pricing-card--featured .pricing-card-name,
.pricing-card--featured .pricing-card-tagline,
.pricing-card--featured .pricing-card-period,
.pricing-card--featured .pricing-card-feature {
  color: rgba(255, 255, 255, 0.85);
}

.pricing-card--featured .pricing-card-amount,
.pricing-card--featured .pricing-card-currency {
  color: var(--white);
}

.pricing-card--featured .pricing-card-name {
  color: var(--white);
}

.pricing-card--featured .pricing-card-icon {
  background: var(--coral);
}

.pricing-card--featured .feature-check {
  color: var(--coral);
}

.pricing-card--featured .pricing-card-btn {
  background: var(--coral);
  color: var(--white);
}

.pricing-card--featured .pricing-card-btn:hover {
  background: #e55a5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 107, 107, 0.4);
}

.pricing-card--featured .pricing-level {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

.pricing-card--featured .pricing-level.active {
  background: var(--coral);
  color: var(--white);
}

.pricing-card-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--coral);
  color: var(--white);
  padding: 0.4rem 1.5rem 0.4rem 1rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 0 0 0 var(--radius-md);
}

.pricing-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing-card-icon {
  width: 56px;
  height: 56px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.pricing-card-icon svg {
  width: 28px;
  height: 28px;
}

.pricing-card-name {
  font-size: var(--fs-xl);
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.pricing-card-tagline {
  font-size: var(--fs-sm);
  color: var(--text-light);
}

/* Price display */
.pricing-card-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  padding: 1.25rem 0;
  margin-bottom: 1.25rem;
  border-top: 1px solid rgba(26, 43, 60, 0.08);
  border-bottom: 1px solid rgba(26, 43, 60, 0.08);
}

.pricing-card--featured .pricing-card-price {
  border-color: rgba(255, 255, 255, 0.12);
}

.pricing-card-amount {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.pricing-card-currency {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--navy);
}

.pricing-card-period {
  font-size: var(--fs-sm);
  color: var(--text-light);
}

/* Features list */
.pricing-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

.pricing-card-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: var(--fs-sm);
  color: var(--text-light);
  line-height: 1.5;
}

.feature-check {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Level badges */
.pricing-card-levels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.pricing-level {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: 50px;
  background: rgba(26, 43, 60, 0.08);
  color: rgba(26, 43, 60, 0.4);
}

.pricing-level.active {
  background: var(--navy);
  color: var(--white);
}

/* CTA button */
.pricing-card-btn {
  width: 100%;
  padding: 0.875rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  display: inline-block;
  font-size: var(--fs-base);
}

.pricing-card-btn:hover {
  background: var(--coral);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 107, 107, 0.3);
}

.pricing-card-btn:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

/* Packages banner */
.packages-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #243b50 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.packages-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.packages-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.packages-banner-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
}

.packages-banner-icon svg {
  width: 100%;
  height: 100%;
}

.packages-banner-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-base);
  line-height: 1.7;
}

.packages-banner-text strong {
  color: var(--white);
}

.packages-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--coral);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--fs-base);
  transition: var(--transition);
}

.packages-banner-btn:hover {
  background: #e55a5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 107, 107, 0.4);
}

.packages-banner-btn svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews { background: var(--cream); }

.reviews-grid {
  display: grid;
  gap: 1.5rem;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
  border-left: 4px solid transparent;
}

.review-card:nth-child(1) { border-left-color: var(--coral); }
.review-card:nth-child(2) { border-left-color: var(--teal); }
.review-card:nth-child(3) { border-left-color: var(--gold); }
.review-card:nth-child(4) { border-left-color: var(--purple); }
.review-card:nth-child(5) { border-left-color: var(--blue); }

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

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 4rem;
  font-family: 'Playfair Display', serif;
  color: var(--coral);
  opacity: 0.1;
  line-height: 1;
}

.review-stars {
  color: var(--gold);
  font-size: var(--fs-base);
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.review-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  line-height: 1.8;
  font-size: var(--fs-sm);
}

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

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--coral), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: var(--fs-sm);
  flex-shrink: 0;
}

.review-name {
  font-weight: 600;
  font-size: var(--fs-sm);
}

.review-role {
  font-size: var(--fs-xs);
  color: var(--text-light);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact { background: var(--white); }

.contact-grid { display: grid; gap: 3rem; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-label {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--text-dark);
}

.form-input,
.form-textarea,
.form-select {
  padding: 0.875rem 1rem;
  border: 2px solid rgba(26, 43, 60, 0.12);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: var(--fs-base);
  transition: var(--transition);
  width: 100%;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
}

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

.form-row {
  display: grid;
  gap: 1.25rem;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--coral);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--fs-base);
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background: #e55a5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 107, 107, 0.35);
}

.btn-submit:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.btn-submit[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.field-error {
  border-color: #c0392b !important;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15) !important;
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin-top: 0.25rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
}

.status-info {
  background: rgba(26, 43, 60, 0.08);
  color: var(--navy);
}

.status-success {
  background: rgba(39, 174, 96, 0.12);
  color: #1f7a45;
}

.status-error {
  background: rgba(192, 57, 43, 0.12);
  color: #8e2d21;
}

.form-noscript {
  padding: 0.75rem 0.9rem;
  background: rgba(26, 43, 60, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-size: var(--fs-sm);
}

.mail-success-pop {
  position: fixed;
  left: 50%;
  bottom: 18vh;
  transform: translate(-50%, 30px) scale(0.4);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  opacity: 0;
  pointer-events: none;
  z-index: 1200;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
}

.mail-success-pop.is-active {
  animation: smilePop 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes smilePop {
  0% {
    opacity: 0;
    transform: translate(-50%, 30px) scale(0.4) rotate(-12deg);
  }
  30% {
    opacity: 1;
    transform: translate(-50%, -16px) scale(1.22) rotate(8deg);
  }
  65% {
    opacity: 1;
    transform: translate(-50%, -8px) scale(1) rotate(-3deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -30px) scale(0.82) rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mail-success-pop.is-active {
    animation: none;
    opacity: 1;
    transform: translate(-50%, -10px) scale(1);
  }
}

/* Contact info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.contact-info-item:hover {
  transform: translateX(4px);
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-label {
  font-weight: 600;
  font-size: var(--fs-sm);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  color: var(--text-light);
  font-size: var(--fs-sm);
}

.contact-info-value a {
  color: var(--coral);
  transition: var(--transition);
}

.contact-info-value a:hover {
  text-decoration: underline;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--white);
}

.footer-logo .logo-accent {
  color: var(--coral);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--coral);
  transform: translateY(-3px);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

.footer-copyright {
  font-size: var(--fs-xs);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  transition: var(--transition);
}

.back-to-top:hover {
  background: rgba(255, 255, 255, 0.2);
}

.back-to-top svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   RESPONSIVE - Tablet (768px+)
   ============================================ */
@media (min-width: 768px) {
  :root {
    --fs-3xl: 2.8rem;
    --fs-2xl: 2.2rem;
  }

  .section { padding: 5rem 0; }
  .container { padding: 0 2rem; }

  /* Nav */
  .nav-toggle-label { display: none; }
  .nav-overlay { display: none !important; }

  .nav {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .lang-switcher-item {
    padding: 0 0.5rem 0 0;
    border-right: 1px solid rgba(26, 43, 60, 0.15);
    margin-right: 0.25rem;
  }

  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: var(--fs-sm);
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: var(--transition);
    transform: translateX(-50%);
  }

  .nav-link:hover::after { width: 70%; }

  .nav-cta {
    margin-top: 0;
    margin-left: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-size: var(--fs-sm);
  }

  /* Hero */
  .hero .container {
    flex-direction: row;
    gap: 3rem;
  }

  .hero-content {
    flex: 0 0 55%;
    text-align: left;
  }

  .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: flex-start;
  }

  .hero-image {
    flex: 1;
    max-width: none;
  }

  /* Trust bar */
  .trust-bar .container {
    grid-template-columns: repeat(4, 1fr);
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
  }

  /* Methodology */
  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Pricing cards */
  .pricing-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .packages-banner-content {
    flex-direction: row;
    text-align: left;
  }

  /* Reviews */
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer */
  .footer .container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ============================================
   RESPONSIVE - Desktop (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  :root {
    --fs-3xl: 3.2rem;
    --fs-2xl: 2.4rem;
    --fs-xl: 1.75rem;
  }

  .section { padding: 6rem 0; }

  /* Hero */
  .hero .container {
    gap: 4rem;
  }

  .hero-content {
    flex: 0 0 58%;
  }

  /* Methodology */
  .method-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* The last 2 cards center on 3-col grid */
  .method-grid .method-card:nth-child(4) {
    grid-column: 1 / 2;
    margin-left: auto;
    margin-right: 0;
    width: 100%;
  }

  /* Reviews */
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}

/* ============================================
   RESPONSIVE - Large Desktop (1200px+)
   ============================================ */
@media (min-width: 1200px) {
  .method-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .method-grid .method-card:nth-child(4) {
    grid-column: auto;
    margin-left: 0;
  }
}

/* ============================================
   PLACEHOLDER IMAGE STYLES
   ============================================ */
.placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e0d6cc 0%, #c9bfb5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: var(--fs-sm);
  text-align: center;
  padding: 1rem;
}

.placeholder-img svg {
  width: 64px;
  height: 64px;
  opacity: 0.4;
}

/* Targeted fix for the methodology grid */
#metoda .method-grid {
    display: grid;
    /* This creates exactly 3 equal columns on desktop */
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    margin-top: 40px;
    align-items: stretch;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    #metoda .method-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 768px) {
    #metoda .method-grid {
        grid-template-columns: 1fr; /* 1 column for mobile */
    }
}

/* Ensure cards look uniform */
#metoda .method-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    border-top: 5px solid; /* We'll define colors in HTML */
}
