/* ===================================================
   CONCRETOS EL ALBAÑIL - base.css
   Estilos compartidos por TODAS las páginas
   Paleta: Azul #04008C, Amarillo #FFB800, Blanco #FFFFFF
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Bebas+Neue&display=swap');

/* ── Variables ── */
:root {
  --blue: #032a6d;
  --blue-dark: #020042;
  --blue-mid: #0A00D1;
  --blue-light: #2517f0;
  --blue-pale: #ECEEFF;
  --yellow: #FFDB00;
  --yellow-dark: #D4B700;
  --yellow-light: #FFE74D;
  --red: #E30000;
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --gray-light: #EAEEf5;
  --gray: #B0BAC8;
  --gray-dark: #6B7990;
  --dark: #032a6d;
  --dark-2: #112244;
  --text: #1C2B45;
  --text-muted: #6B7990;

  --shadow-blue: 0 8px 40px rgba(4, 0, 140, 0.20);
  --shadow-yellow: 0 8px 30px rgba(255, 184, 0, 0.35);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border: 2px solid var(--dark);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--yellow);
}

/* ═══════════════════════════════════
   NAVBAR
═══════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(3, 42, 109, 0.95) 0%, rgba(3, 42, 109, 0.4) 70%, transparent 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
}

.navbar.scrolled {
  height: 75px;
  background: rgba(3, 42, 109, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border: 2px solid var(--yellow);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text .brand {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-logo-text .sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  padding: 10px 18px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--yellow);
}

.nav-links a:hover::after {
  width: 50%;
}

.nav-links a.active {
  color: var(--yellow);
  font-weight: 700;
}

.nav-links a.active::after {
  width: 50%;
}

.nav-cta {
  background: var(--yellow) !important;
  color: var(--blue) !important;
  padding: 10px 22px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px;
  transition: var(--transition) !important;
}

.nav-cta:hover {
  background: var(--yellow-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-yellow);
}

.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  border-radius: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════
   SECTION BASE
═══════════════════════════════════ */
section {
  padding: 100px 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
}

.section-tag::before,
.section-tag::after {
  content: '—';
  margin: 0 8px;
  opacity: 0.4;
}

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

.section-dark {
  background: var(--dark-2);
}

.section-offwhite {
  background: var(--off-white);
}

.text-white {
  color: var(--white) !important;
}

.text-white span {
  color: var(--yellow) !important;
}

.text-blue {
  color: var(--blue) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.15;
}

.section-title span {
  color: var(--blue);
}

.section-subtitle {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════
   BUTTONS
═══════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--blue-dark);
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-yellow);
}

.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 184, 0, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--yellow);
  transform: translateY(-3px);
}

.btn-cta-white {
  background: var(--yellow);
  color: var(--blue-dark);
  padding: 18px 46px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-yellow);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-cta-white:hover {
  background: var(--white);
  color: var(--blue-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(255, 255, 255, 0.35);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--yellow);
  color: var(--yellow);
}

.btn-submit {
  width: 100%;
  background: var(--blue);
  color: var(--white);
  padding: 16px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
  margin-top: 8px;
  text-transform: uppercase;
}

.btn-submit:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

/* ═══════════════════════════════════
   SOCIAL ICONS
═══════════════════════════════════ */
.social-links {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.social-icon:hover {
  background: var(--yellow);
  color: var(--blue-dark);
  border-color: var(--yellow);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 24px rgba(255, 184, 0, 0.4);
}

/* ═══════════════════════════════════
   CTA SECTION
═══════════════════════════════════ */
.cta-section {
  background: url('../images/concretos.jpg') center/cover no-repeat;
  background-attachment: fixed;
  padding: 100px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 27, 51, 0.9) 0%, rgba(4, 0, 140, 0.75) 100%);
  z-index: 0;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.25) 0%, transparent 70%);
  z-index: 0;
}

.cta-section .cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ═══════════════════════════════════
   SERVICE CARD (index + servicios)
═══════════════════════════════════ */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 32px;
  max-width: 1024px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(4, 0, 140, 0.08);
  border-radius: var(--radius-xl);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(4, 0, 140, 0.05);
}

.service-card-img-wrap {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
}

.service-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card-img-wrap img {
  transform: scale(1.05);
}

.service-card-img-wrap .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 27, 51, 0.6) 0%, transparent 60%);
  pointer-events: none;
}

.service-card-content {
  padding: 36px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 10;
}

.service-card:hover {
  border-color: transparent;
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(4, 0, 140, 0.12);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.service-card ul {
  margin-top: 24px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0px;
  color: var(--blue);
  font-weight: 800;
}

.service-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 14px 28px;
  background: var(--blue-pale);
  color: var(--blue-dark);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  width: 100%;
}

.service-link:hover {
  background: var(--yellow);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 184, 0, 0.3);
}

/* ═══════════════════════════════════
   CONTACT SECTION (index + contactenos)
═══════════════════════════════════ */
.contact {
  background: var(--off-white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-light);
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(4, 0, 140, 0.05);
}

.contact-card:hover {
  border-color: var(--blue);
  transform: translateX(4px);
  box-shadow: var(--shadow-blue);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--blue);
}

.contact-card-content h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-card-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-card-content a {
  color: var(--text-muted);
  transition: var(--transition);
}

.contact-card-content a:hover {
  color: var(--blue);
}

.schedule-info {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--gray);
}

.contact-form-wrap {
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 4px 30px rgba(4, 0, 140, 0.07);
}

.contact-form-wrap h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.contact-form-wrap p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--off-white);
  border: 1.5px solid var(--gray-light);
  border-radius: 10px;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(4, 0, 140, 0.10);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select option {
  background: var(--white);
  color: var(--text);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ═══════════════════════════════════
   MAP SECTION
═══════════════════════════════════ */
.map-section {
  background: var(--off-white);
  padding-top: 0;
}

.map-wrap {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  border: 1.5px solid var(--gray-light);
  box-shadow: 0 4px 30px rgba(4, 0, 140, 0.08);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ═══════════════════════════════════
   PAGE HERO (páginas interiores)
═══════════════════════════════════ */
.page-hero {
  position: relative;
  height: 400px;
  background: url('../images/baseado.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 80px;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 27, 51, 0.8) 0%, rgba(4, 0, 140, 0.6) 100%);
  z-index: 0;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 5%;
}

.breadcrumb {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--yellow);
  transition: var(--transition);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .sep {
  margin: 0 8px;
  color: var(--yellow);
}

.page-hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
}

.page-hero h1 span {
  color: var(--yellow);
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

/* ═══════════════════════════════════
   YELLOW STRIP
═══════════════════════════════════ */
.yellow-strip {
  height: 4px;
  background: linear-gradient(90deg, var(--blue-dark), var(--yellow), var(--blue-dark));
  width: 100%;
}

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
footer {
  background: var(--dark);
  border-top: 4px solid var(--yellow);
  padding: 64px 5% 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.footer-brand .brand-name {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-brand .brand-name span {
  color: var(--yellow);
}

.footer-brand .brand-sub {
  font-size: 0.75rem;
  color: var(--yellow);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.85;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.40);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--yellow);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact-item span {
  font-size: 1rem;
  color: var(--yellow);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.40);
  line-height: 1.5;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.40);
  transition: var(--transition);
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.30);
}

.footer-bottom .made-with {
  color: rgba(255, 255, 255, 0.30);
}

.footer-bottom .made-with span {
  color: var(--yellow);
}

/* ═══════════════════════════════════
   WHATSAPP FLOATING BUTTON
═══════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

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

/* ═══════════════════════════════════
   PREMIUM SERVICE LAYOUT (servicios + productos)
═══════════════════════════════════ */
.section-service-premium {
  position: relative;
  overflow: hidden;
  background: var(--white);
  padding: 120px 0;
}

.section-service-premium::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 90%, rgba(10, 0, 209, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.container-premium {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}

.service-flex {
  display: flex;
  align-items: center;
  gap: 80px;
}

.service-flex.reverse {
  flex-direction: row-reverse;
}

.service-visual {
  flex: 1;
  position: relative;
}

.service-info {
  flex: 1;
}

.divider-small {
  width: 50px;
  height: 4px;
  background: var(--yellow);
  margin-bottom: 30px;
}

.service-desc {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.service-desc.text-white-70 {
  color: rgba(255, 255, 255, 0.7);
}

/* ═══════════════════════════════════
   ANIMATIONS
═══════════════════════════════════ */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

@keyframes scrollDown {
  0% {
    opacity: 1;
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }

  100% {
    opacity: 0;
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-badge {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes pulse-slow {
  0% {
    transform: scale(1) translate(0, 0);
  }

  100% {
    transform: scale(1.2) translate(15px, -15px);
  }
}

@keyframes rotate-dots {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes float-rhino {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}

.fade-in-delay-4 {
  transition-delay: 0.4s;
}

/* ═══════════════════════════════════
   RESPONSIVE GLOBAL
═══════════════════════════════════ */
@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-flex,
  .service-flex.reverse {
    flex-direction: column;
    gap: 50px;
  }
}

@media (max-width: 900px) {
  .cta-actions {
    flex-direction: column;
    gap: 24px;
  }

  .social-links {
    order: 2;
  }

  .btn-cta-white {
    order: 1;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  section {
    padding: 50px 6%;
    /* Reducido un poco más el padding vertical */
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 24px;
    flex-direction: column;
    align-items: center;
    /* Centrado para mejor estética móvil */
    gap: 8px;
    border-bottom: 4px solid var(--yellow);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 999;
  }

  .nav-links a {
    color: var(--blue-dark) !important;
    font-size: 1.1rem;
    font-weight: 700;
    width: 100%;
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    transition: var(--transition);
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: var(--blue-pale);
    color: var(--blue) !important;
  }

  .nav-links a.nav-cta {
    background: var(--yellow) !important;
    color: var(--blue-dark) !important;
    margin-top: 12px;
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.3);
  }

  .nav-links a.nav-cta:hover {
    background: var(--blue-dark) !important;
    color: var(--white) !important;
  }

  .nav-links.open {
    display: flex;
  }

  .navbar.scrolled .nav-links {
    top: 75px;
    /* Ajuste para cuando el navbar se encoge al hacer scroll */
  }

  .hamburger {
    display: flex;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {

  .btn-primary,
  .btn-secondary {
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ═══════════════════════════════════
   ICON STYLES
═══════════════════════════════════ */
.btn-icon {
  width: 1.2rem;
  height: 1.2rem;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.note-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 10px;
  color: var(--blue);
  vertical-align: middle;
  display: inline-block;
}

.contact-card-icon svg {
  width: 30px;
  height: 30px;
  color: var(--blue);
}

.mini-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 5px;
  vertical-align: middle;
  display: inline-block;
}

.footer-icon {
  width: 1.2rem;
  height: 1.2rem;
  margin-right: 12px;
  color: var(--yellow);
  flex-shrink: 0;
}

.heart-icon {
  width: 1rem;
  height: 1rem;
  color: #ff3b3b;
  display: inline-block;
  vertical-align: middle;
  margin: 0 4px;
}

.m-icon svg {
  width: 3.5rem;
  height: 3.5rem;
  color: var(--blue);
}

.s-card svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--yellow);
  margin-bottom: 10px;
}

/* ═══════════════════════════════════
   ABOUT SECTION / COMPONENTE GLOBAL
═══════════════════════════════════ */
.about {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--yellow);
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(4, 0, 140, 0.06);
}

.feature-item:hover {
  background: var(--blue-pale);
  transform: translateX(4px);
  box-shadow: var(--shadow-blue);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(4, 0, 140, 0.10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-composition {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.5;
  max-width: 550px;
  perspective: 1200px;
}

.comp-decor {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.comp-circle-1 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(4, 0, 140, 0.08) 0%, transparent 70%);
  top: -40px;
  left: -40px;
  animation: pulse-slow 8s infinite alternate ease-in-out;
}

.comp-circle-2 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.12) 0%, transparent 70%);
  bottom: 0;
  right: -40px;
  animation: pulse-slow 6s infinite alternate-reverse ease-in-out;
}

.comp-dots {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  background-image: radial-gradient(var(--blue) 2px, transparent 2px);
  background-size: 16px 16px;
  opacity: 0.15;
  z-index: 0;
  animation: rotate-dots 30s linear infinite;
}

.comp-img {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 27, 51, 0.15);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  transform-style: preserve-3d;
  cursor: pointer;
}

.comp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.comp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 27, 51, 0.8) 0%, transparent 70%);
  opacity: 0.4;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.comp-img-main {
  top: 0;
  left: 0;
  width: 55%;
  height: 85%;
  z-index: 1;
}

.comp-img-sec {
  top: 5%;
  right: 0;
  width: 40%;
  height: 45%;
  z-index: 2;
  border: 6px solid var(--white);
}

.comp-img-tert {
  bottom: 0;
  right: 10%;
  width: 45%;
  height: 45%;
  z-index: 3;
  border: 6px solid var(--white);
}

.about-composition:hover .comp-img {
  opacity: 0.8;
  filter: grayscale(40%);
  transform: scale(0.98);
}

.about-composition .comp-img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.08) translateY(-10px) translateZ(40px);
  z-index: 20;
  box-shadow: 0 40px 80px rgba(4, 0, 140, 0.25);
  border-color: var(--white);
}

.comp-img:hover img {
  transform: scale(1.15);
}

.comp-img:hover .comp-overlay {
  opacity: 0.7;
}

.comp-badge {
  position: absolute;
  bottom: 5%;
  left: -5%;
  background: var(--white);
  padding: 18px 26px;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(4, 0, 140, 0.12);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 3;
  animation: float-badge 5s ease-in-out infinite;
}

.comp-badge-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 1.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comp-badge-text {
  display: flex;
  flex-direction: column;
}

.comp-badge-text strong {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
}

.comp-badge-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* REGLAS RESPONSIVAS ABOUT */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .about-composition {
    aspect-ratio: 1 / 1;
    max-width: 400px;
    margin: 0 auto;
    height: auto;
  }

  .comp-img-main {
    width: 80%;
    height: 70%;
  }

  /* Ajuste de tamaño para mobile */
  .comp-img-sec {
    width: 60%;
    height: 50%;
    bottom: -5%;
  }

  .comp-badge {
    left: 5%;
    bottom: -2%;
    padding: 14px 20px;
    width: auto;
    max-width: 90%;
  }

  .comp-badge-icon {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }

  .comp-badge-text strong {
    font-size: 1rem;
  }
}