/*
 * Stylesheet for El Gallo Insurance
 * Inspired by the Grabyinsur layout style — professional, modern, conversion-focused.
 */

/* ===== CSS VARIABLES ===== */
:root {
  --primary:       #c62828;
  --primary-dark:  #a01e1e;
  --gold:          #ffb300;
  --dark:          #1a2535;
  --dark-2:        #2d3e50;
  --light:         #ffffff;
  --bg:            #f8f9fa;
  --text:          #4a5568;
  --border:        #e2e8f0;
  --shadow:        0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover:  0 8px 30px rgba(0,0,0,0.15);
  --radius:        12px;
  --radius-sm:     8px;
  --font:          'Montserrat', sans-serif;
  --transition:    0.25s ease;
  --container:     1200px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--light); line-height: 1.7; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== SECTION UTILITIES ===== */
.section { padding: 5rem 0; }
.bg-light { background: var(--bg); }

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3rem;
}

.section-label {
  display: inline-block;
  background: rgba(198, 40, 40, 0.08);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section-desc { color: var(--text); font-size: 1rem; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font);
  border-radius: 50px;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 40, 40, 0.35);
}
.btn-primary.full-width {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.4rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--font);
  border-radius: 50px;
  border: 2px solid var(--primary);
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-nav-cta:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
}

/* ===== NAVBAR ===== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  background: var(--light);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--dark);
  flex-shrink: 0;
}
.brand-icon { color: var(--primary); font-size: 1.5rem; }
.brand-accent { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  margin-left: auto;
}

.nav-link {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--dark-2);
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(198, 40, 40, 0.06);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  margin-left: 0.5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, #243447 60%, #1e3a5f 100%);
  color: #fff;
  overflow: hidden;
  padding: 5rem 0 4rem;
  min-height: 580px;
  display: flex;
  align-items: center;
}

/* Decorative shapes */
.shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.shape-1 {
  width: 550px;
  height: 550px;
  background: rgba(198, 40, 40, 0.12);
  top: -180px;
  right: -100px;
}
.shape-2 {
  width: 320px;
  height: 320px;
  background: rgba(255, 179, 0, 0.07);
  bottom: -120px;
  left: -60px;
}
.shape-3 {
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.04);
  top: 50%;
  left: 38%;
  transform: translateY(-50%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 179, 0, 0.12);
  color: var(--gold);
  border: 1px solid rgba(255, 179, 0, 0.3);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #fff;
}
.hero-title .highlight { color: var(--gold); }

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Quick Quote Card */
.quick-quote-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.quick-quote-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.quick-quote-card p {
  color: var(--text);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}
.hero-form select,
.hero-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
  outline: none;
  transition: border-color var(--transition);
  background: var(--bg);
  appearance: none;
}
.hero-form select:focus,
.hero-form input:focus {
  border-color: var(--primary);
  background: #fff;
}

/* ===== FEATURES STRIP ===== */
.features-strip {
  background: var(--dark);
  padding: 1.75rem 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
}
.feature-item i {
  font-size: 1.75rem;
  color: var(--gold);
  flex-shrink: 0;
}
.feature-item div {
  display: flex;
  flex-direction: column;
}
.feature-item strong { font-size: 0.9rem; font-weight: 700; color: #fff; }
.feature-item span  { font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 340px;
}
.about-badge-box {
  width: 270px;
  height: 270px;
  background: linear-gradient(135deg, var(--primary) 0%, #8b1c1c 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(198, 40, 40, 0.3);
  animation: blob 7s ease-in-out infinite;
}
@keyframes blob {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  50%       { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}
.years-badge { text-align: center; color: #fff; }
.years-num {
  display: block;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
}
.years-text {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0.9;
  margin-top: 0.4rem;
}

.about-content .section-label { display: inline-block; margin-bottom: 0.75rem; }
.about-content .section-title { text-align: left; }
.about-content p { margin-bottom: 0.75rem; }

.about-highlights {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.about-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.93rem;
  color: var(--text);
}
.about-highlights li i { color: var(--primary); margin-top: 0.25rem; flex-shrink: 0; }
.about-highlights li em { font-style: normal; font-weight: 700; color: var(--dark); }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.5rem;
}
.service-card {
  display: block;
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform var(--transition);
  transform-origin: top;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleY(1); }

.service-icon {
  width: 54px;
  height: 54px;
  background: rgba(198, 40, 40, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  transition: background var(--transition);
}
.service-card:hover .service-icon { background: var(--primary); }
.service-icon i { font-size: 1.4rem; color: var(--primary); transition: color var(--transition); }
.service-card:hover .service-icon i { color: #fff; }

.service-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 0.4rem; }
.service-card p  { font-size: 0.845rem; color: var(--text); margin-bottom: 1.1rem; }

.service-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition);
}
.service-card:hover .service-link { gap: 0.6rem; }

/* ===== STATS ===== */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, #a01e1e 100%);
  padding: 4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-number-row {
  display: flex;
  align-items: flex-end;
  gap: 2px;
}
.stat-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-suffix {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* ===== TESTIMONIALS ===== */
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.stars {
  color: var(--gold);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 2px;
}
.testimonial-card p {
  font-size: 0.93rem;
  color: var(--text);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
  flex-shrink: 0;
}
.testimonial-author div { display: flex; flex-direction: column; }
.testimonial-author strong { font-size: 0.875rem; color: var(--dark); }
.testimonial-author span  { font-size: 0.78rem;  color: var(--text); }

.testimonials-nav {
  display: none;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.t-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--light);
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.t-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ===== CTA BANNER ===== */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, #243447 100%);
  color: #fff;
  padding: 5rem 0;
  overflow: hidden;
}
.cta-shape-1 {
  width: 420px; height: 420px;
  background: rgba(198, 40, 40, 0.1);
  top: -160px; right: -80px;
}
.cta-shape-2 {
  width: 260px; height: 260px;
  background: rgba(255, 179, 0, 0.06);
  bottom: -80px; left: -50px;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 0.5rem; }
.cta-inner p  { color: rgba(255, 255, 255, 0.72); max-width: 480px; }
.cta-actions  { display: flex; gap: 1rem; flex-wrap: wrap; flex-shrink: 0; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  margin-top: 0.5rem;
}

.social-links { display: flex; gap: 0.75rem; }
.social-links a {
  width: 36px; height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.875rem;
  transition: background var(--transition);
}
.social-links a:hover { background: var(--primary); }

.footer-col h4 {
  font-size: 0.925rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--primary);
}
.footer-col-h4-second { margin-top: 1.75rem !important; }

.footer-col ul { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition), padding-left var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }

.contact-list { display: flex; flex-direction: column; gap: 0.8rem; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
}
.contact-list li i { color: var(--gold); margin-top: 0.2rem; flex-shrink: 0; width: 14px; }
.contact-list li a { color: rgba(255, 255, 255, 0.6); transition: color var(--transition); }
.contact-list li a:hover { color: var(--gold); }

.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255, 255, 255, 0.4); }

/* ===== LANGUAGE TOGGLE ===== */
body:not(.es) .es { display: none; }
body.es p:not(.es) { display: none; }

/* ===== FORMS (for other pages) ===== */
form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--light);
  box-shadow: var(--shadow);
}
form label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--dark);
}
form input,
form select,
form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--transition);
  background: var(--bg);
}
form input:focus,
form select:focus,
form textarea:focus { border-color: var(--primary); background: #fff; }
form button {
  background: var(--primary);
  color: #fff;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-family: var(--font);
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--transition);
}
form button:hover { background: var(--primary-dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .hero-card  { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-visual { min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .testimonials-track { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .testimonials-nav { display: flex; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-inner { position: relative; }
  .btn-nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 3.5rem 0 3rem; min-height: auto; }
  .hero-subtitle { max-width: 100%; }
  .features-grid { grid-template-columns: 1fr; gap: 1rem; }
  .services-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-inner p { margin: 0 auto; }
  .cta-actions { justify-content: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; justify-content: center; }
  .section { padding: 3.5rem 0; }
}

/* ===== INSUZ-INSPIRED HOMEPAGE ===== */
body.homepage {
  --primary: #29eefa;
  --primary-dark: #14c9d7;
  --gold: #efce4a;
  --dark: #090808;
  --dark-2: #2c3232;
  --bg: #f6f7f9;
  --text: #686d75;
  --border: #e5e9eb;
  --font: "Manrope", sans-serif;
  background: #fff;
  color: var(--text);
}

.homepage h1,
.homepage h2,
.homepage h3,
.homepage h4,
.homepage h5,
.homepage h6 {
  font-family: "Montserrat", sans-serif;
}

.homepage .section-label {
  background: rgba(41, 238, 250, 0.2);
  color: #0b8d99;
}

.homepage .btn-primary {
  background: var(--dark);
  border-color: var(--dark);
  border-radius: 4px;
}

.homepage .btn-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
  box-shadow: 0 8px 20px rgba(41, 238, 250, 0.28);
}

.homepage #site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
}

.topbar-insuz {
  background: #2c3232;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.58rem;
  padding-bottom: 0.58rem;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.topbar-rating i {
  color: var(--gold);
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: #2c3232;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: transform var(--transition), background var(--transition);
}

.topbar-social a:hover {
  background: var(--primary);
  transform: translateY(-1px);
}

.topbar-right {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}

.topbar-right li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-right i {
  color: rgba(255, 255, 255, 0.96);
}

.topbar-right a {
  color: rgba(255, 255, 255, 0.9);
}

.topbar-right a:hover {
  color: var(--primary);
}

.homepage .navbar-insuz {
  background: #fff;
  box-shadow: 0 10px 28px rgba(9, 8, 8, 0.08);
}

.homepage .nav-inner-insuz {
  min-height: 86px;
  height: auto;
  gap: 1.35rem;
  justify-content: space-between;
}

.homepage .brand {
  font-size: 1.72rem;
  letter-spacing: -0.01em;
}

.homepage .brand-icon {
  color: var(--primary);
  font-size: 1.55rem;
}

.homepage .brand-accent {
  color: var(--dark);
}

.nav-main-shell {
  background: #efefef;
  border-radius: 3px;
  padding: 0.3rem 0.95rem;
  margin-left: auto;
  flex: 0 1 auto;
  max-width: none;
}

.homepage .nav-links {
  margin-left: 0;
  justify-content: flex-start;
  gap: 0.3rem;
}

.homepage .nav-link {
  color: #2f353e;
  font-weight: 600;
  border-radius: 3px;
  white-space: nowrap;
  padding: 0.55rem 0.9rem;
  font-size: 0.88rem;
}

.homepage .nav-link.active,
.homepage .nav-link:hover {
  color: #11161b;
  background: rgba(41, 238, 250, 0.2);
}

.nav-call {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 0.9rem;
  border-left: 1px solid #ebeeef;
}

.nav-call-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #1f1f1f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  position: relative;
}

.nav-call-icon::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid #e7e7e7;
  border-radius: 50%;
}

.nav-call-content {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-call-content span {
  font-size: 0.74rem;
  font-weight: 700;
  color: #6f7780;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.nav-call-content a {
  color: #090808;
  font-weight: 700;
  font-size: 0.9rem;
}

.homepage .hero-insuz {
  min-height: 690px;
  padding: 0;
  background: #111;
  display: block;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 16, 21, 0.86) 5%, rgba(13, 16, 21, 0.52) 44%, rgba(13, 16, 21, 0.68) 100%);
}

.hero-mesh {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-mesh-1 {
  width: 520px;
  height: 520px;
  left: -190px;
  bottom: -210px;
  background: radial-gradient(circle, rgba(41, 238, 250, 0.25) 0%, rgba(41, 238, 250, 0.04) 60%, transparent 68%);
}

.hero-mesh-2 {
  width: 380px;
  height: 380px;
  right: 6%;
  top: 12%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.02) 68%, transparent 76%);
}

.homepage .hero-inner-insuz {
  position: relative;
  z-index: 2;
  min-height: 690px;
  display: grid;
  grid-template-columns: 58px minmax(0, 760px);
  gap: 2.4rem;
  align-items: center;
}

.hero-pagination {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-pagination span {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-pagination span.active {
  background: rgba(41, 238, 250, 0.2);
  border-color: var(--primary);
  color: #fff;
}

.homepage .hero-badge {
  background: rgba(41, 238, 250, 0.16);
  color: #97f7ff;
  border-color: rgba(41, 238, 250, 0.34);
}

.homepage .hero-title {
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  line-height: 1.08;
  max-width: 790px;
  margin-bottom: 1.35rem;
}

.homepage .hero-title .highlight {
  color: var(--primary);
}

.homepage .hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: rgba(255, 255, 255, 0.84);
  max-width: 690px;
}

.homepage .hero-actions {
  margin-top: 2.15rem;
  align-items: center;
}

.homepage .hero-insuz .btn-primary {
  background: #fff;
  color: #141414;
  border: 2px solid #34393f;
  border-radius: 3px;
  padding: 0.92rem 2.2rem;
  box-shadow: 7px -4px 0 0 rgba(41, 238, 250, 0.95);
}

.homepage .hero-insuz .btn-primary:hover {
  box-shadow: none;
  color: #090808;
}

.hero-video-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.hero-video-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--primary);
  color: #101415;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 1.15rem;
}

.hero-video-icon::before {
  content: "";
  position: absolute;
  inset: -9px 2px 3px -4px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
}

.hero-video-link:hover {
  color: var(--primary);
}

.homepage .features-floating {
  background: transparent;
  margin-top: -82px;
  padding: 0 0 2.5rem;
  position: relative;
  z-index: 30;
}

.features-panel {
  border: 2px solid #d8dcde;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 22px 55px rgba(9, 8, 8, 0.16);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.homepage .features-panel .feature-item {
  color: var(--dark);
  padding: 1.8rem 1.7rem;
  min-height: 150px;
}

.homepage .features-panel .feature-item + .feature-item {
  border-left: 1px solid #eceff1;
}

.homepage .features-panel .feature-item i {
  color: #0d9eaa;
  background: #e5f4f5;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.homepage .features-panel .feature-item strong {
  font-size: 1.03rem;
}

.homepage .features-panel .feature-item span {
  color: #667079;
  font-size: 0.9rem;
  margin-top: 0.15rem;
}

.homepage .about-section {
  padding-top: 3rem;
}

.homepage .about-badge-box {
  background: linear-gradient(145deg, #252c2c 0%, #101414 100%);
  box-shadow: 0 20px 50px rgba(9, 8, 8, 0.33);
}

.homepage .about-highlights li i {
  color: #0da5b1;
}

.homepage .service-card::before {
  background: var(--primary);
}

.homepage .service-icon {
  background: #e7f4f5;
}

.homepage .service-icon i {
  color: #0f99a5;
}

.homepage .service-card:hover .service-icon {
  background: var(--primary);
}

.homepage .service-card:hover .service-icon i {
  color: #101112;
}

.homepage .service-link {
  color: #0c96a2;
}

.homepage .stats-section {
  background: linear-gradient(145deg, #111213 0%, #2c3232 100%);
}

.homepage .stat-suffix {
  color: var(--primary);
}

.homepage .author-avatar {
  background: #111516;
}

.homepage .cta-banner {
  background: linear-gradient(140deg, #111314 0%, #2d3333 100%);
}

.homepage .cta-shape-1 {
  background: rgba(41, 238, 250, 0.12);
}

.homepage .cta-shape-2 {
  background: rgba(255, 255, 255, 0.07);
}

.homepage .site-footer {
  background: #101213;
}

.homepage .social-links a:hover {
  background: var(--primary);
  color: #0d1012;
}

@media (max-width: 1240px) {
  .nav-main-shell {
    margin-left: 0;
  }
}

@media (max-width: 1024px) {
  .topbar-right {
    display: none;
  }

  .nav-call {
    display: none;
  }

  .homepage .hero-inner-insuz {
    grid-template-columns: 1fr;
    padding-top: 7.4rem;
    padding-bottom: 8.8rem;
    min-height: 600px;
  }

  .hero-pagination {
    display: none;
  }

  .features-panel {
    grid-template-columns: 1fr;
  }

  .homepage .features-panel .feature-item + .feature-item {
    border-left: 0;
    border-top: 1px solid #eceff1;
  }
}

@media (max-width: 768px) {
  .topbar-insuz {
    display: none;
  }

  .homepage .nav-inner-insuz {
    min-height: 70px;
  }

  .nav-main-shell {
    background: transparent;
    padding: 0;
    flex: 0 1 auto;
    max-width: none;
  }

  .homepage .nav-links {
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem;
  }

  .homepage .brand {
    font-size: 1.4rem;
  }

  .homepage .hero-inner-insuz {
    padding-top: 6.5rem;
    padding-bottom: 7.5rem;
  }

  .homepage .hero-title {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .homepage .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-video-icon {
    width: 66px;
    height: 66px;
  }

  .homepage .features-floating {
    margin-top: -60px;
  }
}

@media (max-width: 480px) {
  .topbar-left {
    width: 100%;
    justify-content: space-between;
  }

  .homepage .hero-insuz .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .homepage .features-panel .feature-item {
    padding: 1.35rem 1rem;
  }
}

/* ===== INNER PAGES ===== */
.inner-page .inner-hero {
  position: relative;
  padding: 5.5rem 0 4rem;
  background-image:
    linear-gradient(95deg, rgba(12, 16, 19, 0.82), rgba(22, 31, 37, 0.72)),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.inner-page .inner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 85%, rgba(41, 238, 250, 0.16), transparent 45%);
  pointer-events: none;
}

.inner-page .inner-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.inner-page .inner-hero h1 {
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.12;
  margin-bottom: 0.8rem;
  color: #fff;
}

.inner-page .inner-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0;
}

.inner-page .inner-main {
  padding: 3.4rem 0 4.5rem;
  background: linear-gradient(180deg, #f4f8f9 0%, #eef3f5 100%);
}

.inner-page .inner-main > section {
  width: min(100%, var(--container));
  margin: 0 auto 1.6rem;
  padding: clamp(1.5rem, 2.8vw, 2.4rem);
  border: 1px solid #dfe7ea;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 24, 30, 0.06);
}

.inner-page .inner-main > section:last-child {
  margin-bottom: 0;
}

.inner-page .inner-main > section h2 {
  color: #10181e;
  margin-bottom: 0.8rem;
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
}

.inner-page .inner-main > section p {
  color: #4d5965;
  margin-bottom: 0.85rem;
}

.inner-page .inner-main > section ul {
  margin: 0.9rem 0 0;
  padding: 0;
}

.inner-page .inner-main > section ul li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.45rem;
  color: #4d5965;
}

.inner-page .inner-main > section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #12b8c7;
}

.inner-page .inner-main form {
  max-width: none;
  margin: 1.35rem 0 0;
  box-shadow: none;
  border: 1px solid #dce4e9;
  border-radius: 10px;
  background: #fbfcfd;
}

.inner-page .inner-main form button {
  background: #121a20;
  border-radius: 4px;
}

.inner-page .inner-main form button:hover {
  background: var(--primary);
  color: #0f1418;
}

@media (max-width: 768px) {
  .inner-page .inner-hero {
    padding: 4rem 0 2.8rem;
  }

  .inner-page .inner-main {
    padding: 2.3rem 0 3rem;
  }
}


/* ===========================================================
   ===== LOGO + DARK HEADER + SLIDE-OUT MOBILE MENU =====
   (Appended for logo refresh – overrides earlier rules)
   =========================================================== */

/* --- Site logo image sizing --- */
.brand-logo {
  height: 56px;
  width: auto;
  display: block;
  max-width: 100%;
  object-fit: contain;
}

.homepage .brand-logo {
  height: 64px;
}

/* Footer logo: NO white box. Logo's white "GALLO" reads against dark footer. */
.footer-brand .brand-logo {
  height: 60px;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

/* --- Dark header (so the logo's white "GALLO" text is visible) --- */
.navbar,
.navbar-insuz,
.homepage .navbar-insuz {
  background: #1a2535;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

/* Nav links: light text on dark navbar */
.nav-link,
.homepage .nav-link {
  color: #e9ecf1;
}

.nav-link:hover,
.nav-link.active,
.homepage .nav-link:hover,
.homepage .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* The "shell" pill behind the nav links was light grey – make it transparent on dark */
.nav-main-shell {
  background: transparent;
}

/* "Quick Call" block on the right: light text */
.nav-call-content span {
  color: rgba(255, 255, 255, 0.7);
}
.nav-call-content a {
  color: #fff;
}
.nav-call-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Hamburger lines: white on dark */
.hamburger span {
  background: #fff;
}

/* --- Slide-out mobile menu (drawer from the right) --- */
@media (max-width: 768px) {
  /* Drawer panel — high specificity + !important to beat earlier rules */
  ul.nav-links,
  .navbar ul.nav-links,
  .homepage ul.nav-links,
  body .nav-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.25rem !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(82vw, 320px) !important;
    height: 100vh !important;
    margin: 0 !important;
    background: #1a2535 !important;
    padding: 5rem 1.5rem 2rem !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.35) !important;
    transform: translateX(100%) !important;
    transition: transform 0.32s ease !important;
    z-index: 1300 !important;
    overflow-y: auto !important;
    list-style: none !important;
    justify-content: flex-start !important;
  }

  ul.nav-links.open,
  .navbar ul.nav-links.open,
  .homepage ul.nav-links.open,
  body .nav-links.open {
    transform: translateX(0) !important;
  }

  /* Larger, full-width tap targets inside the drawer */
  .nav-links li {
    width: 100% !important;
    list-style: none !important;
  }
  .nav-links .nav-link,
  .homepage .nav-links .nav-link {
    display: block !important;
    width: 100% !important;
    padding: 0.85rem 1rem !important;
    font-size: 1rem !important;
    border-radius: 6px !important;
    color: #e9ecf1 !important;
    background: transparent !important;
    text-align: left !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 1 !important;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    text-decoration: none !important;
  }
  .nav-links .nav-link:active,
  .homepage .nav-links .nav-link:active {
    background: rgba(255, 255, 255, 0.12) !important;
  }

  /* Backdrop overlay (added by JS).
     Sits BELOW the header so the drawer (inside the header) stays clickable.
     The header itself is z-index 1000-1200 with its own stacking context. */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 900;
  }
  .nav-backdrop.show {
    opacity: 1;
    pointer-events: auto;
  }

  /* Lock body scroll while drawer is open */
  body.nav-open {
    overflow: hidden;
  }

  /* Hamburger sits above drawer/backdrop */
  .hamburger {
    position: relative;
    z-index: 1400;
  }

  /* Mobile logo size */
  .brand-logo,
  .homepage .brand-logo {
    height: 44px;
  }
  .footer-brand .brand-logo {
    height: 48px;
  }
}


/* Footer credit link */
.footer-credit-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 2px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}
.footer-credit-link:hover {
  color: var(--primary);
  text-decoration-color: var(--primary);
}
