/* ===================================================
   Guazzini Consultores en Turismo — Hoja de estilos
   =================================================== */

:root{
  --navy: #16283d;
  --navy-dark: #0e1c2c;
  --navy-light: #24405e;
  --gold: #ffec38;
  --gold-dark: #c9a227;
  --gray-text: #3c3c3c;
  --gray-light: #6b7280;
  --bg-light: #f7f7f5;
  --white: #ffffff;
  --border: #e5e2da;
  --max-width: 1140px;
  --radius: 6px;
  --shadow: 0 4px 18px rgba(15, 28, 44, 0.08);
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  color: var(--gray-text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4{
  font-family: "Georgia", "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1{ font-size: 2.4rem; }
h2{ font-size: 1.85rem; }
h3{ font-size: 1.3rem; }

p{ margin: 0 0 1em; }

a{ color: var(--navy); text-decoration: none; }
a:hover{ color: var(--gold-dark); }

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

ul{ margin: 0 0 1em; padding-left: 1.2em; }
li{ margin-bottom: 0.4em; }

.container{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section{
  padding: 64px 0;
}

.section.alt{
  background: var(--bg-light);
}

.section-label{
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.section-intro{
  max-width: 720px;
  margin-bottom: 40px;
}

.section-intro.center{
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Header / Navigation ---------- */

.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

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

.brand img{
  height: 48px;
  width: auto;
}

.main-nav ul{
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.main-nav a{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active{
  border-bottom-color: var(--gold);
  color: var(--navy);
}

.nav-toggle{
  display: none;
  background: none;
  border: 1px solid var(--navy);
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero{
  position: relative;
  color: var(--white);
  background-size: cover;
  background-position: center;
  padding: 110px 0 90px;
}

.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(14,28,44,0.92) 0%, rgba(14,28,44,0.72) 55%, rgba(14,28,44,0.5) 100%);
}

.hero .container{
  position: relative;
  z-index: 2;
}

.hero-eyebrow{
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero h1{
  color: var(--white);
  font-size: 2.7rem;
  max-width: 720px;
}

.hero p.lead{
  max-width: 620px;
  font-size: 1.15rem;
  color: #e7e9ec;
}

.hero-small{
  padding: 70px 0 60px;
}

.hero-small h1{ font-size: 2.1rem; }

/* ---------- Buttons ---------- */

.btn{
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 13px 28px;
  border-radius: 3px;
  border: 2px solid var(--gold);
  background: var(--gold);
  color: var(--navy-dark);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn:hover{
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

.btn.outline:hover{
  background: var(--navy);
  color: var(--white);
}

.hero .btn.outline{
  color: var(--white);
  border-color: var(--white);
}

.hero .btn.outline:hover{
  background: var(--white);
  color: var(--navy);
}

.btn-row{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ---------- Stats strip ---------- */

.stats{
  background: var(--navy);
  color: var(--white);
  padding: 40px 0;
}

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

.stats-grid .num{
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  font-family: Georgia, serif;
}

.stats-grid .label{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cfd6df;
}

/* ---------- Cards / Grids ---------- */

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

.grid-2{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}

.card .icon-bar{
  width: 40px;
  height: 4px;
  background: var(--gold);
  margin-bottom: 18px;
}

.card h3{ margin-bottom: 10px; }

.card p{ color: var(--gray-light); margin-bottom: 0; font-size: 0.98rem; }

/* ---------- Two-column with image ---------- */

.split{
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

.split.reverse{
  grid-template-columns: 1fr 380px;
}

.split.reverse .split-media{ order: 2; }

.split-media img{
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-media figcaption{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  color: var(--gray-light);
  margin-top: 10px;
  text-align: center;
}

/* ---------- Mission / Vision blocks ---------- */

.mv-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.mv-card{
  background: var(--navy);
  color: var(--white);
  padding: 34px 30px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.mv-card::before{
  content: "";
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: var(--gold);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  opacity: 0.9;
}

.mv-card h3{ color: var(--gold); position: relative; z-index: 1; }
.mv-card p{ color: #dbe0e6; position: relative; z-index: 1; margin-bottom: 0; }

/* ---------- Team ---------- */

.team-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.team-card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  background: var(--white);
}

.team-card h3{
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-card .role{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.team-card ul{
  padding-left: 18px;
  margin-bottom: 0;
  font-size: 0.92rem;
  color: var(--gray-light);
}

/* ---------- Timeline ---------- */

.timeline{
  border-left: 3px solid var(--gold);
  padding-left: 30px;
  margin-left: 6px;
}

.timeline-item{
  position: relative;
  margin-bottom: 38px;
}

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

.timeline-item::before{
  content: "";
  position: absolute;
  left: -37px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--gold);
}

.timeline-item .period{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gold-dark);
  margin-bottom: 4px;
  display: block;
}

.timeline-item h3{ margin-bottom: 6px; }

.timeline-item .place{
  font-size: 0.92rem;
  color: var(--gray-light);
  margin-bottom: 8px;
  display: block;
}

/* ---------- Simple lists with checks ---------- */

.check-list{
  list-style: none;
  padding-left: 0;
}

.check-list li{
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
}

.check-list li::before{
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--navy);
  background: var(--gold);
  width: 20px;
  height: 20px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Logo grid (clients) ---------- */

.logo-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.logo-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.logo-card:hover{
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.logo-card img{
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  margin-bottom: 12px;
}

.logo-name{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  color: var(--gray-light);
  text-align: center;
  line-height: 1.3;
}

/* ---------- Table (clients) ---------- */

.table-wrap{
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table.clients{
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}

table.clients th{
  background: var(--navy);
  color: var(--white);
  text-align: left;
  padding: 14px 18px;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

table.clients td{
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

table.clients tr:last-child td{ border-bottom: none; }

table.clients tr:nth-child(even) td{ background: var(--bg-light); }

/* ---------- Chips ---------- */

.chip-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 30px;
  color: var(--navy);
}

/* ---------- Contact ---------- */

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-item{
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}

.contact-item .ico{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h3{ font-size: 1rem; margin-bottom: 4px; }
.contact-item p{ margin-bottom: 0; color: var(--gray-light); }

.map-frame{
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- CTA band ---------- */

.cta-band{
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 70px 0;
}

.cta-band h2{ color: var(--white); }
.cta-band p{ color: #cfd6df; max-width: 560px; margin: 0 auto 26px; }

/* ---------- Partner brands band ---------- */

.partner-band{
  background: var(--bg-light);
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.partner-band .section-label{ color: var(--gold-dark); }

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

.partner-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.partner-card:hover{
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.partner-link{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.partner-card img{
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  margin-bottom: 16px;
}

.partner-card .partner-name{
  font-family: Georgia, serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.partner-card .partner-desc{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  color: var(--gray-light);
  line-height: 1.4;
}

.social-links{
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.social-links a{
  color: var(--gray-light);
  display: inline-flex;
  transition: color 0.15s ease;
}

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

.footer-social{
  display: flex;
  gap: 14px;
  margin-top: 14px;
}

.footer-social a{
  color: #b7bfc9;
  display: inline-flex;
  transition: color 0.15s ease;
}

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

@media (max-width: 720px){
  .partner-grid{ grid-template-columns: 1fr; }
}

/* ---------- Gallery ---------- */

.gallery-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.gallery-item{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-light);
  border: 1px solid var(--border);
}

.gallery-item .thumb-wrap{
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-item:hover img{
  transform: scale(1.06);
}

.gallery-item .caption{
  padding: 12px 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.3;
}

.gallery-item.video-item .thumb-wrap{
  position: relative;
}

.gallery-item.video-item .play-badge{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(14,28,44,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}

.gallery-item.video-item .play-badge svg{
  width: 22px;
  height: 22px;
  fill: var(--white);
  margin-left: 3px;
}

.gallery-item.video-item:hover .play-badge{
  background: var(--gold-dark);
  transform: translate(-50%, -50%) scale(1.08);
}

.lightbox{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14,28,44,0.94);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox.open{ display: flex; }

.lightbox img{
  max-width: 90vw;
  max-height: 78vh;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox .lb-caption{
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
}

.lightbox .lb-close,
.lightbox .lb-prev,
.lightbox .lb-next{
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.lightbox .lb-close:hover,
.lightbox .lb-prev:hover,
.lightbox .lb-next:hover{
  background: rgba(255,255,255,0.25);
}

.lightbox .lb-close{ top: 24px; right: 24px; }
.lightbox .lb-prev{ left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next{ right: 24px; top: 50%; transform: translateY(-50%); }

@media (max-width: 720px){
  .lightbox .lb-prev, .lightbox .lb-next{ width: 38px; height: 38px; font-size: 1.1rem; }
  .lightbox .lb-close{ width: 38px; height: 38px; font-size: 1.1rem; top: 14px; right: 14px; }
}

/* ---------- Footer ---------- */

.site-footer{
  background: var(--navy-dark);
  color: #b7bfc9;
  padding: 50px 0 26px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
}

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

.footer-grid h4{
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.footer-grid ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li{ margin-bottom: 8px; }

.footer-grid a{ color: #b7bfc9; }
.footer-grid a:hover{ color: var(--gold); }

.footer-logo img{
  height: 40px;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: #8b93a0;
}

/* ---------- Breadcrumb-ish page eyebrow on inner pages ---------- */

.page-hero{
  background: var(--navy);
  color: var(--white);
  padding: 60px 0;
}

.page-hero h1{ color: var(--white); margin-bottom: 8px; }
.page-hero p{ color: #cfd6df; max-width: 640px; margin-bottom: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 900px){
  .split, .split.reverse{
    grid-template-columns: 1fr;
  }
  .split.reverse .split-media{ order: 0; }
  .grid-3{ grid-template-columns: 1fr 1fr; }
  .stats-grid{ grid-template-columns: repeat(2, 1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px){
  body{ font-size: 16px; }
  h1{ font-size: 2rem; }
  .hero h1{ font-size: 1.9rem; }
  .hero{ padding: 80px 0 60px; }
  .main-nav{
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.open{ max-height: 400px; }
  .main-nav ul{
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }
  .nav-toggle{ display: inline-block; }
  .grid-3, .grid-2, .mv-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .stats-grid{ grid-template-columns: 1fr 1fr; }
}
