/* =========================================================
   Latinoamerica Services / Ever Insurance
   Modern refresh stylesheet — 2026
   ========================================================= */

:root {
  --brand:        #0F65C9;   /* primary blue (kept from original) */
  --brand-dark:   #0B4890;
  --brand-darker: #0A2E5C;
  --accent:       #E11D2E;   /* red used for ES toggle / highlights */
  --ink:          #1c2430;
  --muted:        #5b6674;
  --line:         #e6eaf0;
  --bg-soft:      #f5f8fc;
  --white:        #ffffff;
  --radius:       14px;
  --shadow-sm:    0 2px 10px rgba(16,40,80,.06);
  --shadow-md:    0 10px 30px rgba(16,40,80,.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  margin: 0;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .heading {
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
}

a { color: var(--brand); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-dark); }

.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.container-tight { max-width: 1100px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: .5rem;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 0 .4rem;
}
.section-lead {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.text-center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Navbar ---------- */
.site-nav {
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.navbar-brand { display: flex; align-items: center; gap: .55rem; padding: .1rem 0; }
.navbar-brand .logo-lockup { height: 50px; width: auto; display: block; }
@media (max-width: 400px){ .navbar-brand .logo-lockup { height: 42px; } }
.site-nav .nav-link {
  font-weight: 600; color: var(--ink); padding: .5rem .9rem !important;
  border-radius: 8px;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: var(--brand); background: var(--bg-soft); }
.nav-lang {
  color: var(--accent) !important;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  padding: .4rem .9rem !important;
}
.nav-lang:hover { background: var(--accent); color: #fff !important; }
.nav-cta {
  background: var(--brand); color: #fff !important;
  border-radius: 999px; padding: .5rem 1.15rem !important;
}
.nav-cta:hover { background: var(--brand-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(10,46,92,.94), rgba(15,101,201,.90));
  color: #fff;
  padding: 96px 0 84px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(1200px 400px at 80% -10%, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}
.hero p.lead { color: rgba(255,255,255,.9); font-size: 1.15rem; max-width: 560px; }
.hero .btn-group-hero { margin-top: 1.6rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--brand-dark); font-weight: 700; border-radius: 999px; padding: .7rem 1.5rem; }
.btn-white:hover { background: #eef4fd; color: var(--brand-darker); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); font-weight: 700; border-radius: 999px; padding: .7rem 1.5rem; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.hero-badges {
  display: flex; gap: 1.4rem; flex-wrap: wrap;
  margin-top: 2.2rem; color: rgba(255,255,255,.92); font-weight: 600; font-size: .95rem;
}
.hero-badges i { color: #9dd0ff; margin-right: .4rem; }
.hero-bird {
  width: 100%; max-width: 320px; height: auto; display: block; margin: 0 auto;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.25));
}
@media (max-width: 991px){ .hero-bird { max-width: 210px; margin-top: 1.8rem; } }

/* Flag strip under hero — small flags tiled/repeated like the original */
.flag-strip {
  height: 34px;
  background-color: var(--brand-darker);
  background-image: url('../images/flags.png');
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 34px;
}

/* ---------- Buttons ---------- */
.btn-brand { background: var(--brand); color: #fff; font-weight: 600; border-radius: 999px; padding: .6rem 1.4rem; border: none; }
.btn-brand:hover { background: var(--brand-dark); color: #fff; }
.btn-outline-brand { border: 1.5px solid var(--brand); color: var(--brand); font-weight: 600; border-radius: 999px; padding: .55rem 1.3rem; background: #fff; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px){ .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .card-grid { grid-template-columns: 1fr; } }

.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height: 100%;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0f6; }
.svc-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; font-size: 1.3rem; margin-bottom: 1rem;
}
.svc-media {
  width: 100%; height: 168px; object-fit: cover;
  border-radius: 10px; margin-bottom: 1.1rem;
  background: var(--bg-soft); display: block;
}
.svc-card h4 { font-size: 1.12rem; color: var(--ink); margin: 0 0 .5rem; }
.svc-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Section band heading for insurance */
.band {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; border-radius: var(--radius);
  padding: 1.6rem 1.8rem; text-align: center; margin-bottom: 2rem;
}
.band h2 { color: #fff; margin: 0; font-size: 1.6rem; }
.band p { margin: .35rem 0 0; color: rgba(255,255,255,.9); }

.other-coverages { text-align: center; color: var(--accent); font-weight: 700; margin-top: 1.5rem; }

/* ---------- Location / contact ---------- */
.location-card, .info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; height: 100%;
}
.location-card .lc-body { padding: 1.5rem; }
.location-card h3 { color: var(--brand); margin: 0 0 .4rem; }
.location-card .addr { color: var(--muted); margin: 0 0 .2rem; }
.location-card iframe { width: 100%; height: 260px; border: 0; display: block; }
.info-card { padding: 1.7rem; }
.info-card h3 { color: var(--brand); }
.contact-line { font-size: 1.05rem; margin: .3rem 0; }
.contact-line i { color: var(--brand); width: 22px; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; color: var(--muted); }
.hours-table tr.today td { color: var(--brand); font-weight: 700; }
.hours-table tr.today td:last-child { color: var(--brand); }

/* ---------- Reviews strip ---------- */
.reviews {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; text-align: center; padding: 48px 0; border-radius: var(--radius);
}
.reviews h2 { color: #fff; }
.reviews .stars { color: #ffcf3f; font-size: 1.4rem; margin-bottom: .6rem; }

/* ---------- Contact form ---------- */
.form-control { border-radius: 10px; border: 1px solid var(--line); padding: .7rem .9rem; }
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(15,101,201,.12); }
.form-label { font-weight: 600; font-size: .9rem; color: var(--ink); }

/* ---------- Pay Here ---------- */
.pay-group { margin-bottom: 3rem; }
.pay-group > h2 {
  font-size: 1.35rem; color: var(--ink);
  border-left: 4px solid var(--brand); padding-left: .7rem; margin-bottom: 1.4rem;
}
.pay-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 1.6rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; height: 100%;
  transition: transform .18s ease, box-shadow .18s ease;
}
.pay-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pay-card .logo-wrap {
  height: 90px; display: grid; place-items: center; margin-bottom: 1rem; width: 100%;
}
.pay-card img { max-height: 80px; max-width: 80%; object-fit: contain; }
.pay-card .company { font-weight: 700; margin-bottom: 1rem; color: var(--ink); }
.pay-card .btn-brand { margin-top: auto; }

/* ---------- About ---------- */
.about-hero { background: var(--bg-soft); }
.team-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; height: 100%;
}
.team-card img { width: 100%; height: auto; display: block; background: var(--bg-soft); }
.team-card .tc-body { padding: 1.5rem; }
.team-card h3 { color: var(--brand); margin: 0 0 .2rem; }
.team-card .role { color: var(--muted); font-weight: 600; font-size: .9rem; margin-bottom: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.team-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-darker); color: rgba(255,255,255,.82); padding: 48px 0 28px; }
.site-footer h5 { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: #fff; }
.site-footer .foot-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.foot-logo-chip { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; }
.foot-logo-chip img { height: 46px; width: auto; display: block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 2rem; padding-top: 1.2rem; font-size: .88rem; color: rgba(255,255,255,.6); }

/* Back to top */
#toTop {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  background: var(--brand); color: #fff; border: none; width: 46px; height: 46px;
  border-radius: 50%; box-shadow: var(--shadow-md); cursor: pointer;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease;
  font-size: 1.1rem;
}
#toTop.show { opacity: 1; visibility: visible; }
#toTop:hover { background: var(--brand-dark); transform: translateY(-2px); }

img.graceful { background: var(--bg-soft); }
