/* ============================================
   TOP SEARCH PERU - Website Clone
   Clean, professional, corporate design
   ============================================ */

:root {
  --navy: #1a2332;
  --navy-light: #243044;
  --gold: #c9a84c;
  --gold-light: #d4b96a;
  --white: #ffffff;
  --gray-100: #f7f7f7;
  --gray-200: #e5e5e5;
  --gray-400: #999999;
  --gray-600: #666666;
  --gray-800: #333333;
  --text: #2c2c2c;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }

/* ---- HEADER / NAV ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

.logo img { height: 50px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-menu a {
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-menu a:hover::after { width: 100%; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  min-width: 260px;
  padding: 8px 0;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gray-800);
}
.dropdown-menu a:hover { background: var(--gray-100); color: var(--gold); }

.lang-switch {
  color: var(--navy) !important;
  font-size: 12px !important;
  border: 1px solid var(--navy);
  padding: 4px 12px !important;
  border-radius: 3px;
}
.lang-switch:hover { background: var(--navy); color: var(--white) !important; }

.intersearch-badge { height: 32px; width: auto; margin-left: 12px; opacity: 0.9; display: inline-block; vertical-align: middle; max-width: none; }

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(26,35,50,0.2) 0%, rgba(26,35,50,0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.hero-content h1 span { color: var(--gold); }

.hero-content p {
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 300;
  opacity: 0.85;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---- SECTIONS ---- */
.section {
  padding: 80px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 38px);
  color: var(--navy);
  margin-bottom: 32px;
  font-weight: 400;
}

.section-text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-600);
  max-width: 800px;
}

.section-text p + p { margin-top: 16px; }

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.section-image {
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* ---- TEAM / BIO ---- */
.bio-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px;
  background: var(--gray-100);
  border-radius: 8px;
  border-left: 4px solid var(--gold);
}

.bio-card h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 16px;
}

.bio-card p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-600);
}

.bio-card p + p { margin-top: 12px; }

.bio-photo {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

.service-card .learn-more {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-card .learn-more:hover { color: var(--navy); }

/* ---- EVALUATIONS (Hogan) ---- */
.eval-list {
  list-style: none;
  margin-top: 16px;
}
.eval-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 16px;
  color: var(--gray-600);
}
.eval-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 16px;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

/* ---- CONTACT ---- */
.contact-section {
  background: var(--gray-100);
  padding: 80px 24px;
}

.contact-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.contact-item {
  text-align: center;
  padding: 32px;
}

.contact-item .icon {
  width: 56px; height: 56px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact-item .icon svg { width: 24px; height: 24px; fill: var(--gold); }

.contact-item h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-item a {
  font-size: 18px;
  color: var(--gray-600);
  font-weight: 500;
}

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

/* ---- FOOTER ---- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 48px 24px 32px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-address {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-address strong { color: var(--white); }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-copy {
  font-size: 13px;
  opacity: 0.5;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
}

/* ---- WHATSAPP BUTTON ---- */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse-wa 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg { width: 32px; height: 32px; fill: white; }

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.7); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .menu-toggle { display: block; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 24px;
    gap: 16px;
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 16px;
  }
  .two-col { grid-template-columns: 1fr; }
  .bio-card { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: 500px; }
}
