/* ============================================================
   22° SUR — MAIN STYLESHEET
   ============================================================ */

/* ---- VARIABLES ---- */
:root {
  --navy:        #1b3c6e;
  --navy-dark:   #0f2744;
  --navy-mid:    #1e4580;
  --green:       #3aab35;
  --green-hover: #2d8a29;
  --green-light: #4dc947;
  --cream:       #f5f2ec;
  --gray-light:  #eeeeef;
  --gray-mid:    #d4d4d4;
  --text-dark:   #1a1a2e;
  --text-body:   #444460;
  --white:       #ffffff;
  --shadow-sm:   0 2px 12px rgba(0,0,0,.08);
  --shadow-md:   0 6px 30px rgba(0,0,0,.12);
  --shadow-lg:   0 12px 50px rgba(0,0,0,.18);
  --radius:      6px;
  --transition:  0.3s ease;
  --font-main:   'Inter', sans-serif;
  --font-display:'Barlow Condensed', sans-serif;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---- UTILITY ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--navy-dark);
  padding: 10px 0;
  position: relative;
  z-index: 200;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar-left a {
  color: rgba(255,255,255,.7);
  font-size: 13px;
  transition: color var(--transition);
}
.topbar-left a:hover { color: var(--green); }
.topbar-divider {
  color: rgba(255,255,255,.3);
  font-size: 13px;
}
.topbar-search {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar-search input {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  padding: 4px 14px;
  color: white;
  font-size: 13px;
  width: 160px;
  outline: none;
  transition: var(--transition);
}
.topbar-search input::placeholder { color: rgba(255,255,255,.4); }
.topbar-search input:focus { background: rgba(255,255,255,.15); border-color: var(--green); }
.topbar-search button {
  color: rgba(255,255,255,.6);
  font-size: 13px;
  transition: color var(--transition);
}
.topbar-search button:hover { color: var(--green); }
.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 13px;
}
.topbar-phone-icon { color: var(--green); }
.topbar-right a { color: white; transition: color var(--transition); }
.topbar-right a:hover { color: var(--green); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-image {
  width: 170px;
  max-height: 56px;
  object-fit: contain;
}
.logo-svg {
  width: 110px;
  height: 46px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-degrees {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.logo-sur {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Main Nav */
.main-nav { flex: 1; }
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-item { position: relative; }
.nav-item.has-dropdown { padding-bottom: 10px; margin-bottom: -10px; }
.nav-link {
  display: block;
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dark);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--green); }
.nav-bracket { color: var(--green); font-weight: 700; }
.nav-item.active .nav-link { color: var(--green); }
.nav-arrow {
  font-size: 10px;
  margin-left: 4px;
  transition: transform var(--transition);
}
.nav-item.has-dropdown:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  pointer-events: none;
  border-top: 3px solid var(--green);
  z-index: 300;
}
.nav-item.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  font-size: 14px;
  color: var(--text-dark);
  transition: background var(--transition), color var(--transition);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover { background: var(--navy); color: white; }
.dropdown-menu li a i {
  width: 16px;
  color: var(--green);
  font-size: 13px;
}
.dropdown-menu li a:hover i { color: white; }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.system-access-btn,
.header-phone-icon, .header-mail-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: background var(--transition);
}
.system-access-btn:hover,
.header-phone-icon:hover,
.header-mail-icon:hover { background: var(--green); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 4px 0;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   FIXED ELEMENTS
   ============================================================ */

/* Cotizar fixed button (left) */
.btn-fixed-cotizar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: var(--green);
  color: white;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 var(--radius) var(--radius) 0;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 90;
  box-shadow: var(--shadow-md);
  transition: background var(--transition), padding var(--transition);
  writing-mode: horizontal-tb;
}
.btn-fixed-cotizar:hover { background: var(--green-hover); padding-left: 22px; }

/* Contact fixed tab (right) */
.btn-fixed-contact {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(90deg) translateX(50%);
  background: var(--green);
  color: white;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius) var(--radius) 0 0;
  transform-origin: right center;
  z-index: 90;
  box-shadow: var(--shadow-md);
  transition: background var(--transition);
  white-space: nowrap;
  right: -36px;
}
.btn-fixed-contact:hover { background: var(--green-hover); }

/* WhatsApp float */
.btn-whatsapp {
  position: fixed;
  bottom: 28px;
  left: 24px;
  background: #25D366;
  color: white;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  z-index: 90;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-whatsapp:hover { transform: scale(1.1); box-shadow: var(--shadow-lg); }

/* Scroll to top */
.btn-scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--navy);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), background var(--transition);
  box-shadow: var(--shadow-sm);
}
.btn-scroll-top.visible { opacity: 1; visibility: visible; }
.btn-scroll-top:hover { background: var(--green); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  text-transform: uppercase;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--green);
  color: white;
}
.btn-primary:hover { background: var(--green-hover); box-shadow: 0 6px 20px rgba(58,171,53,.35); }
.btn-hero {
  background: var(--green);
  color: white;
  margin-top: 28px;
}
.btn-hero:hover { background: var(--green-hover); box-shadow: 0 8px 24px rgba(58,171,53,.4); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: white; }
.btn-submit {
  width: 100%;
  justify-content: center;
  background: var(--navy);
  color: white;
  padding: 15px;
  font-size: 15px;
  border-radius: var(--radius);
  margin-top: 8px;
}
.btn-submit:hover { background: var(--green); }

/* ============================================================
   SECTION COMMON STYLES
   ============================================================ */
section { position: relative; }
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.section-label span { color: var(--green); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  color: white;
}
.section-title.dark { color: var(--text-dark); }
.section-title.light { color: white; }
.section-subtitle {
  margin-top: 12px;
  font-size: 16px;
  color: var(--text-body);
  max-width: 580px;
}
.section-header.center .section-subtitle { margin: 12px auto 0; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}
.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,25,50,.78) 0%, rgba(27,60,110,.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  padding: 0 24px;
  max-width: 820px;
}
.hero-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 14px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-divider {
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  margin: 20px auto;
}
.hero-subtitle {
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.7;
  opacity: .9;
}

/* Slider controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.15);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255,255,255,.25);
  transition: background var(--transition);
}
.slider-btn:hover { background: var(--green); border-color: var(--green); }
.slider-prev { left: 28px; }
.slider-next { right: 28px; }
.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.dot.active { background: var(--green); transform: scale(1.25); }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  background: var(--navy);
  padding: 80px 0 90px;
}
.services-section .section-label { color: var(--green-light); }
.services-section .section-title { color: white; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: var(--navy-mid);
  border-radius: 10px;
  padding: 36px 24px 30px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-bg {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.service-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 20px;
}
.service-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-title {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  line-height: 1.3;
}
.service-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  margin-bottom: 18px;
}
.service-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.service-link:hover { gap: 10px; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: var(--cream);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.about-map-bg {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'%3E%3Cpath d='M30 30 Q50 10 70 25 Q90 40 110 20 Q130 5 150 25 Q170 45 190 30' stroke='%231b3c6e' stroke-width='0.5' fill='none' opacity='0.12'/%3E%3Cpath d='M10 60 Q30 45 60 55 Q80 65 100 45 Q120 30 150 50 Q170 65 200 55' stroke='%231b3c6e' stroke-width='0.5' fill='none' opacity='0.12'/%3E%3C/svg%3E");
  background-size: cover;
  opacity: 0.6;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-desc {
  color: var(--text-body);
  font-size: 15px;
  margin-bottom: 16px;
}
.about-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 30px 0 32px;
  padding: 24px 0;
  border-top: 1px solid var(--gray-mid);
  border-bottom: 1px solid var(--gray-mid);
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--text-body);
  letter-spacing: .5px;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-mid);
  flex-shrink: 0;
}
.about-image {
  position: relative;
}
.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--navy);
  color: white;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}
.about-badge i { font-size: 26px; color: var(--green); }
.about-badge strong { display: block; font-size: 16px; font-weight: 700; }
.about-badge span { font-size: 12px; opacity: .7; }

/* ============================================================
   WHY SECTION
   ============================================================ */
.why-section { padding: 90px 0; background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.why-card {
  padding: 40px 30px;
  border-right: 1px solid var(--gray-light);
  transition: background var(--transition);
}
.why-card:last-child { border-right: none; }
.why-card:hover { background: var(--gray-light); }
.why-icon {
  width: 60px;
  height: 60px;
  background: var(--navy);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.why-card:hover .why-icon { background: var(--green); color: white; }
.why-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.why-card p { font-size: 14px; color: var(--text-body); line-height: 1.65; }

/* ============================================================
   AREAS SECTION
   ============================================================ */
.areas-section {
  min-height: 500px;
  background: url('https://22sur.cl/web/assets/img/areas.jpeg') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 90px 0;
}
.areas-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 25, 50, 0.78);
}
.areas-inner { position: relative; z-index: 1; }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.area-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
  backdrop-filter: blur(6px);
}
.area-card:hover { background: rgba(58,171,53,.15); transform: translateY(-5px); }
.area-icon {
  width: 60px;
  height: 60px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
}
.area-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}
.area-card p {
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin-bottom: 16px;
}
.area-contact {
  font-size: 12.5px;
  color: var(--green-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.area-contact:hover { color: white; }

/* ============================================================
   INDUSTRIES SECTION
   ============================================================ */
.industries-section { padding: 90px 0; background: var(--gray-light); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.industry-item {
  background: white;
  border-radius: 10px;
  padding: 28px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.industry-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.industry-icon {
  width: 56px;
  height: 56px;
  background: var(--navy);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 14px;
  transition: background var(--transition);
}
.industry-item:hover .industry-icon { background: var(--green); color: white; }
.industry-item span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

/* ============================================================
   AGENTS SECTION
   ============================================================ */
.agents-section { padding: 90px 0; background: white; }
.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.agent-card {
  border: 2px solid var(--gray-light);
  border-radius: 10px;
  padding: 36px 28px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.agent-card:hover { border-color: var(--navy); box-shadow: var(--shadow-md); }
.agent-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-light);
}
.agent-logo i { font-size: 28px; color: var(--navy); }
.agent-logo span {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
}
.agent-card p { font-size: 14px; color: var(--text-body); line-height: 1.65; margin-bottom: 16px; }
.agent-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.agent-stats span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.agent-stats i { color: var(--green); }

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-section { padding: 90px 0; background: white; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}
.blog-body { padding: 22px; background: white; }
.blog-date {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.blog-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 10px;
}
.blog-excerpt {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 16px;
}
.blog-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: color var(--transition);
}
.blog-link:hover { color: var(--green); }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section { padding: 90px 0; background: var(--cream); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}
.office-list { margin: 28px 0 32px; display: flex; flex-direction: column; gap: 28px; }
.office-item { display: flex; gap: 18px; }
.office-icon {
  width: 46px;
  height: 46px;
  background: var(--navy);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.office-details h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.office-details p {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 4px;
}
.office-details i { color: var(--navy); margin-right: 6px; width: 14px; }
.office-details a { color: var(--navy); transition: color var(--transition); }
.office-details a:hover { color: var(--green); }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: background var(--transition);
}
.social-links a:hover { background: var(--green); }
.contact-map {
  height: 420px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.contact-map iframe { border: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.7); }
.footer-top { padding: 70px 0 50px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .footer-logo .logo-degrees { font-size: 28px; color: white; }
.footer-brand .footer-logo .logo-sur { font-size: 16px; color: var(--green); }
.footer-brand p {
  font-size: 14px;
  margin-top: 14px;
  line-height: 1.7;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--green); }
.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green);
  display: inline-block;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 13.5px;
  color: rgba(255,255,255,.6);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color var(--transition), gap var(--transition);
}
.footer-links a:hover { color: var(--green); gap: 10px; }
.footer-links i { font-size: 10px; color: var(--green); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
}
.footer-contact i {
  color: var(--green);
  margin-top: 3px;
  flex-shrink: 0;
  width: 14px;
}
.footer-contact a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-contact a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}
.footer-bottom-inner a { color: var(--green); }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,20,40,.75);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: white;
  border-radius: 12px;
  max-width: 660px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
  transform: scale(0.94) translateY(20px);
  transition: transform 0.35s ease;
  box-shadow: var(--shadow-lg);
}
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  background: var(--gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--text-dark);
  transition: background var(--transition);
}
.modal-close:hover { background: var(--navy); color: white; }
.modal-header { text-align: center; margin-bottom: 20px; }
.modal-logo { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin-bottom: 8px; }
.modal-logo-image {
  width: 170px;
  max-height: 70px;
  object-fit: contain;
}
.modal-logo .logo-degrees { font-size: 24px; }
.modal-logo .logo-sur { font-size: 13px; }
.modal-header h2 { font-size: 22px; font-weight: 800; color: var(--text-dark); }
.modal-header p { font-size: 14px; color: var(--text-body); margin-top: 4px; }
.modal-notice {
  background: rgba(27,60,110,.06);
  border-left: 3px solid var(--navy);
  border-radius: 4px;
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-body);
  margin-bottom: 22px;
}
.modal-notice i { color: var(--navy); font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* Form */
.modal-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: border-color var(--transition);
  background: white;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #aab; }
.form-status {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius);
  margin-top: 4px;
  display: none;
}
.form-status.success { background: rgba(58,171,53,.1); color: var(--green); display: block; }
.form-status.error { background: rgba(220,50,50,.1); color: #c00; display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card { border-bottom: 1px solid var(--gray-light); }
  .why-card:nth-child(2) { border-right: none; }
  .why-card:nth-child(3), .why-card:nth-child(4) { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-image img { height: 320px; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .agents-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-map { height: 320px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

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

  /* Mobile Nav */
  .hamburger { display: flex; }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 100%);
    height: 100vh;
    background: white;
    padding: 80px 28px 40px;
    box-shadow: var(--shadow-lg);
    transition: right 0.35s ease;
    overflow-y: auto;
    z-index: 99;
  }
  .main-nav.open { right: 0; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 0; }
  .nav-link {
    font-size: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-light);
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border-top: none;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    display: none;
    padding-left: 16px;
    margin-top: 0;
  }
  .nav-item.has-dropdown.dropdown-open .dropdown-menu { display: block; }

  .header-actions { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .btn-fixed-cotizar { display: none; }
  .btn-fixed-contact { display: none; }

  .why-grid { grid-template-columns: 1fr; }
  .why-card { border-right: none; }
  .agents-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .about-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 40px; height: 1px; }
  .modal-box { padding: 28px 20px; }
  .slider-btn { display: none; }
}

/* ============================================================
   INNER PAGES — PAGE HERO / BANNER
   ============================================================ */
.page-hero {
  min-height: 340px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  position: relative;
  padding-bottom: 50px;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11,25,50,.55) 0%, rgba(11,25,50,.85) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  color: white;
}
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  margin: 8px 0 16px;
  line-height: 1.1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--green); transition: color var(--transition); }
.breadcrumb a:hover { color: white; }
.breadcrumb i { font-size: 10px; }
.breadcrumb span { color: rgba(255,255,255,.5); }

/* ============================================================
   INNER SECTIONS
   ============================================================ */
.inner-section { padding: 80px 0; }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-navy  { background: var(--navy); }

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section { background: var(--navy); padding: 70px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat-card {
  text-align: center;
  padding: 30px 20px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  transition: background var(--transition), transform var(--transition);
}
.stat-card:hover { background: rgba(255,255,255,.06); transform: translateY(-4px); }
.stat-icon {
  font-size: 28px;
  color: var(--green);
  margin-bottom: 14px;
}
.stat-big-num {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: white;
  line-height: 1;
}
.stat-big-label {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  letter-spacing: .5px;
  margin-top: 6px;
  display: block;
}

/* ============================================================
   MVV (Misión, Visión, Valores)
   ============================================================ */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.mvv-card {
  background: white;
  border-radius: 10px;
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.mvv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.mvv-icon {
  width: 56px; height: 56px;
  background: var(--navy);
  color: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.mvv-card h3 { font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.mvv-card p  { font-size: 14.5px; color: var(--text-body); line-height: 1.7; }
.values-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.values-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-body); }
.values-list i { color: var(--green); font-size: 14px; }

/* ============================================================
   SERVICE DETAIL ROWS (servicios.html)
   ============================================================ */
.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--gray-light);
}
.service-detail-row:last-child { border-bottom: none; }
.service-detail-row.reverse { direction: rtl; }
.service-detail-row.reverse > * { direction: ltr; }
.service-detail-img { position: relative; border-radius: 10px; overflow: hidden; }
.service-detail-img img { width: 100%; height: 300px; object-fit: cover; }
.service-detail-num {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: rgba(255,255,255,.25);
  line-height: 1;
}
.service-detail-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.service-detail-icon.navy { background: var(--navy); color: var(--green); }
.service-detail-icon.green { background: var(--green); color: white; }
.service-detail-content h3 { font-size: 26px; font-weight: 800; color: var(--text-dark); margin-bottom: 14px; }
.service-detail-content p { font-size: 15px; color: var(--text-body); line-height: 1.7; margin-bottom: 16px; }
.service-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 24px; }
.service-features li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-dark); }
.service-features i { color: var(--green); }
.search-results-info {
  margin-bottom: 24px;
  padding: 12px 16px;
  border-left: 4px solid var(--green);
  background: rgba(58,171,53,.08);
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
}

/* ============================================================
   SERVICE SINGLE PAGE (servicio-*.html)
   ============================================================ */
.service-single-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 50px;
  align-items: start;
}
.service-highlights {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 24px 0 32px;
  padding: 20px;
  background: var(--gray-light);
  border-radius: 8px;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}
.highlight-item i { color: var(--green); font-size: 18px; }
.sidebar-card {
  background: var(--navy);
  color: white;
  border-radius: 10px;
  padding: 28px;
  margin-bottom: 20px;
}
.sidebar-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-card h4 i { color: var(--green); }
.features-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.features-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,.8); line-height: 1.4; }
.features-list i { color: var(--green); font-size: 14px; margin-top: 2px; flex-shrink: 0; }
.sidebar-cta {
  background: var(--gray-light);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
}
.sidebar-cta p { font-size: 14px; color: var(--text-body); margin-bottom: 14px; font-weight: 600; }
.w-full { width: 100%; justify-content: center; }

/* FCL / LCL Grid */
.fcl-lcl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}
.fcl-lcl-grid.three-col { grid-template-columns: repeat(3, 1fr); }
.fcl-card { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
.fcl-header {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
}
.fcl-header.navy { background: var(--navy); }
.fcl-header.green { background: var(--green); }
.fcl-header i { font-size: 24px; }
.fcl-header h3 { font-size: 18px; font-weight: 700; }
.fcl-body { padding: 24px; background: white; }
.fcl-body p { font-size: 14px; color: var(--text-body); line-height: 1.65; margin-bottom: 16px; }
.fcl-body ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.fcl-body li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-dark); }
.fcl-body i { color: var(--green); }

/* Process Steps */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 48px;
}
.process-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--gray-mid);
  line-height: 1;
  margin-bottom: 12px;
}
.step-icon {
  width: 64px; height: 64px;
  background: var(--navy);
  color: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin: 0 auto 14px;
  transition: background var(--transition);
}
.process-step:hover .step-icon { background: var(--green); color: white; }
.process-step h4 { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--text-body); line-height: 1.6; }
.process-arrow {
  color: var(--green);
  font-size: 20px;
  padding-top: 80px;
  flex-shrink: 0;
}

/* Related Services */
.related-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.related-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  color: white;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: background var(--transition), transform var(--transition);
}
.related-card:hover { background: var(--green); transform: translateY(-4px); }
.related-card i { font-size: 28px; color: var(--green); }
.related-card:hover i { color: white; }
.related-card span { font-size: 14px; font-weight: 600; }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: var(--navy);
  padding: 60px 0;
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip-text h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}
.cta-strip-text p { color: rgba(255,255,255,.7); font-size: 15px; }
.cta-strip-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-cta-white {
  background: white;
  color: var(--navy);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-cta-white:hover { background: var(--green); color: white; transform: translateY(-2px); }
.btn-cta-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,.4);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.btn-cta-outline:hover { border-color: var(--green); background: var(--green); transform: translateY(-2px); }

/* ============================================================
   BLOG PAGE LAYOUT
   ============================================================ */
.blog-page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.blog-featured-img { height: 280px; overflow: hidden; position: relative; }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured-img .blog-category { position: absolute; top: 14px; left: 14px; }
.blog-featured-content { padding: 28px 28px 28px 0; }
.blog-featured-title { font-size: 22px; font-weight: 800; color: var(--text-dark); margin: 10px 0 14px; line-height: 1.35; }
.blog-featured-content p { font-size: 14px; color: var(--text-body); line-height: 1.7; margin-bottom: 20px; }
.blog-grid-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.page-btn {
  width: 40px; height: 40px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  color: var(--text-dark);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.page-btn:hover, .page-btn.active { background: var(--navy); color: white; border-color: var(--navy); }
.page-next { width: auto; padding: 0 14px; }

/* Blog Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
  background: white;
  border-radius: 10px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green);
  display: inline-block;
}
.widget-search { display: flex; gap: 8px; }
.widget-search input {
  flex: 1;
  padding: 9px 14px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius);
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition);
}
.widget-search input:focus { border-color: var(--navy); }
.widget-search button {
  background: var(--navy);
  color: white;
  width: 38px; height: 38px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.widget-search button:hover { background: var(--green); }
.widget-categories { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.widget-categories a {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13.5px; color: var(--text-body);
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-light);
  transition: color var(--transition);
}
.widget-categories a:hover { color: var(--green); }
.widget-categories i { margin-right: 8px; color: var(--navy); }
.widget-categories span {
  background: var(--navy);
  color: white;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
}
.widget-recent { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.widget-recent li { display: flex; gap: 12px; }
.widget-recent img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.widget-recent a { font-size: 13px; font-weight: 600; color: var(--text-dark); line-height: 1.4; display: block; margin-bottom: 4px; transition: color var(--transition); }
.widget-recent a:hover { color: var(--green); }
.widget-recent span { font-size: 11.5px; color: var(--green); }
.sidebar-cta-widget .sidebar-cta {
  background: var(--navy);
  color: white;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}
.sidebar-cta-widget i { font-size: 32px; color: var(--green); margin-bottom: 10px; display: block; }
.sidebar-cta-widget h4 { font-size: 16px; font-weight: 700; color: white; margin-bottom: 8px; }
.sidebar-cta-widget p { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 16px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-form-box {
  background: white;
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.contact-form-box h3 {
  font-size: 20px; font-weight: 800; color: var(--text-dark);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px;
}
.contact-form-box h3 i { color: var(--green); }
.contact-form-box p { font-size: 14px; color: var(--text-body); }
.contact-direct { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.contact-direct h4 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.direct-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}
.direct-btn:hover { background: var(--navy); color: white; }
.direct-btn.green { border-color: #25D366; color: #25D366; }
.direct-btn.green:hover { background: #25D366; color: white; }
.maps-section { padding: 0 0 80px; }
.maps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
.map-label {
  font-size: 15px; font-weight: 700; color: var(--text-dark);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}
.map-label i { color: var(--green); }
.map-embed { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }

/* ============================================================
   RESPONSIVE — INNER PAGES
   ============================================================ */
@media (max-width: 1100px) {
  .service-single-inner { grid-template-columns: 1fr; }
  .service-detail-row { grid-template-columns: 1fr; gap: 30px; }
  .service-detail-row.reverse { direction: ltr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-page-layout { grid-template-columns: 1fr; }
  .blog-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .contact-page-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .mvv-grid { grid-template-columns: 1fr; }
  .fcl-lcl-grid { grid-template-columns: 1fr; }
  .fcl-lcl-grid.three-col { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; align-items: center; }
  .process-arrow { transform: rotate(90deg); padding: 0; }
  .related-services { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-content { padding: 20px; }
  .blog-grid-inner { grid-template-columns: 1fr; }
  .blog-sidebar { grid-template-columns: 1fr; }
  .maps-grid { grid-template-columns: 1fr; }
  .service-features { grid-template-columns: 1fr; }
  .cta-strip-inner { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   FOOTER — LOGO
   ============================================================ */

.footer-logo-img {
  height: 100px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

/* ============================================================
   AREAS - NOSOTROS
   ============================================================ */

.area-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.area-card p {
  text-align: justify;
  flex-grow: 1;
}

.area-contact {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}


/* ============================================================
   CARRUSEL - LOGOS
   ============================================================ */

.logos-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 40px;
}

.logos-track {
  display: flex;
  width: max-content;
  animation: scrollLogos 25s linear infinite;
}

.logos-track img {
  height: 60px;
  margin: 0 40px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.logos-track img:hover {
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scrollLogos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/* ============================================================
   MAPA - CONTACTO
   ============================================================ */
.map-full {
  width: 100vw;
  height: 500px;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.map-full iframe {
  width: 100vw;
  height: 500px;
  border: 0;
  display: block;
  filter: grayscale(100%);
}

.map-label {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}