:root {
  --color-primary: #0A2647;
  --color-secondary: #D4AF37;
  --color-accent: #144272;
  --color-background: #F9F7F0;
  --color-text: #051328;
  --color-white: #ffffff;
  --color-muted: #64748B;
  --color-whatsapp: #25D366;
  --shadow-soft: 0 12px 40px rgba(10, 38, 71, 0.08);
  --shadow-card: 0 20px 48px rgba(10, 38, 71, 0.12);
  --shadow-gold: 0 10px 20px rgba(212, 175, 55, 0.2);
  --radius-lg: 32px;
  --radius-md: 20px;
  --glass: rgba(255, 255, 255, 0.7);
}

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

body {
  font-family: "Cairo", sans-serif;
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  border-radius: var(--radius-md);
}

a {
  text-decoration: none;
  transition: 0.3s;
}

.icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  vertical-align: middle;
}

.icon-whatsapp {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='white'><path d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-5.5-2.8-23.2-8.5-44.2-27.1-16.4-14.6-27.4-32.7-30.6-38.1-3.2-5.5-.3-8.5 2.5-11.2 2.5-2.5 5.5-6.4 8.3-9.7 2.8-3.2 3.7-5.5 5.5-9.2 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 13.2 5.8 23.5 9.2 31.5 11.8 13.3 4.2 25.4 3.6 35 2.2 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z'/></svg>");
}

.icon-call {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='white'><path d='M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z'/></svg>");
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 120px 0 100px;
  background: radial-gradient(circle at 0% 0%, rgba(212, 175, 55, 0.1), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(10, 38, 71, 0.05), transparent 40%);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.brand span {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
  margin-bottom: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transform: perspective(1000px) rotateY(-5deg);
}

.hero-image::after {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.trust-badges {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(10, 38, 71, 0.1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  opacity: 0.8;
}

.trust-item span:first-child {
  font-size: 1.2rem;
}

/* Buttons */
.cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.button-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 10px 30px rgba(10, 38, 71, 0.2);
}

.button-secondary {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: var(--shadow-gold);
}

.button-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.25);
}

.button:hover {
  transform: translateY(-4px);
  filter: brightness(1.1);
}

/* Bento Grid */
.section {
  padding: 100px 0;
}

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

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  color: var(--color-primary);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 24px;
}

.bento-item {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(10, 38, 71, 0.05);
}

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

.bento-item.large {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: var(--color-white);
}

.bento-item.large h3 {
  color: var(--color-white);
}

.bento-item.large p {
  color: rgba(255, 255, 255, 0.8);
}

.bento-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* Countries Grid */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.country-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.country-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-secondary);
  color: var(--color-primary);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.country-card h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.country-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.country-flag {
  font-size: 1.8rem;
  line-height: 1;
}

.country-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-secondary);
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  margin-bottom: 32px;
}

.feature-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.feature-list li::before {
  content: "✦";
  color: var(--color-secondary);
  font-weight: bold;
}

/* Process Section */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step-card {
  text-align: center;
  padding: 32px;
  position: relative;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 0 0 10px rgba(10, 38, 71, 0.05);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(10, 38, 71, 0.05);
}

.testimonial-stars {
  color: var(--color-secondary);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 24px;
  color: var(--color-text);
}

.testimonial-author {
  font-weight: 700;
  color: var(--color-primary);
}

/* Map & Footer */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 450px;
}

.footer {
  padding: 80px 0 40px;
  background: var(--color-primary);
  color: var(--color-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

/* Floating CTAs & Modal */
.floating-ctas {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: grid;
  gap: 12px;
  z-index: 20;
}

.floating-button {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.floating-call {
  background: var(--color-primary);
}

.floating-whatsapp {
  background: var(--color-whatsapp);
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal.is-visible {
  opacity: 1;
  pointer-events: all;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 19, 40, 0.55);
}

.modal-card {
  position: relative;
  background: var(--color-white);
  padding: 32px;
  border-radius: var(--radius-md);
  width: min(420px, 90%);
  text-align: center;
  box-shadow: var(--shadow-card);
  z-index: 1;
}

.modal-card p {
  color: var(--color-muted);
  margin: 16px 0 24px;
}

.modal-close {
  position: absolute;
  top: 14px;
  left: 14px;
  border: none;
  background: rgba(5, 19, 40, 0.08);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand,
  .hero p,
  .cta-group {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

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

  .bento-item.large {
    grid-column: auto;
  }

  .floating-ctas {
    bottom: 16px;
    left: 16px;
  }

  .floating-button {
    width: 48px;
    height: 48px;
  }
}