/* ==========================================================================
   SILVER WOLF INSURANCE - EXECUTIVE & SOBRIETY STYLESHEET
   Refined Corporate Design System | Clean, Solid & Executive Aesthetic
   ========================================================================== */

/* --- Design Tokens & Color Palette --- */
:root {
  /* Brand Green Spectrum */
  --primary: #008730;
  --primary-dark: #006825;
  --primary-light: #00a83e;
  --primary-subtle: rgba(0, 135, 48, 0.08);

  /* Deep Financial & Royal Blue */
  --accent: #0284c7;
  --accent-dark: #0369a1;
  --accent-light: #38bdf8;

  /* Official Messenger Blue */
  --messenger: #0084FF;
  --messenger-hover: #006cd4;

  /* Official WhatsApp Green */
  --whatsapp: #25D366;
  --whatsapp-hover: #1fa851;

  /* Surfaces & Backgrounds (Light Default) */
  --bg-dark: #070b14;
  --bg-dark-surface: #0e1626;
  --bg-dark-card: #152033;
  --bg-dark-elevated: #1e2c44;

  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-header: rgba(255, 255, 255, 0.96);
  --bg-card: #ffffff;
  --bg-card-alt: #f8fafc;

  /* Typography Colors (High Contrast) */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #ffffff;
  --text-dim: #94a3b8;
  --text-gold: #d97706;

  /* Borders & Dividers */
  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-color: #e2e8f0;

  /* Border Radii (Subtle, Not Circular) */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 12px 30px rgba(7, 11, 20, 0.12), 0 4px 10px rgba(7, 11, 20, 0.05);

  /* Form controls */
  --input-bg: #f8fafc;
  --input-border: #cbd5e1;
  --input-text: #0f172a;

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Fonts - Executive, Serious & Institutional */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Montserrat', var(--font-main);
  --font-display: 'Montserrat', var(--font-main);
  
  --container-max: 1240px;
}

/* ==========================================================================
   HIGH-CONTRAST EXECUTIVE DARK THEME (OPTIONAL)
   ========================================================================== */
[data-theme="dark"] {
  --primary: #00a83e;
  --primary-dark: #008730;
  --primary-light: #34d399;
  --primary-subtle: rgba(52, 211, 153, 0.12);

  --bg-body: #070b14;
  --bg-surface: #0e1626;
  --bg-surface-elevated: #152033;
  --bg-header: rgba(14, 22, 38, 0.96);
  --bg-card: #0f192b;
  --bg-card-alt: #152033;

  /* High Contrast Dark Typography */
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;

  /* Borders & Dividers */
  --border-light: rgba(255, 255, 255, 0.12);
  --border-color: rgba(255, 255, 255, 0.12);

  /* Form controls */
  --input-bg: #0b1220;
  --input-border: rgba(255, 255, 255, 0.18);
  --input-text: #ffffff;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

/* ==========================================================================
   ELEGANT LOADING SCREEN (SPLASH PRELOADER)
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-dark);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.preloader-logo {
  height: 64px;
  width: auto;
  animation: preloaderPulse 1.8s ease-in-out infinite;
}

.preloader-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: preloaderSpin 0.9s linear infinite;
}

.preloader-text {
  color: var(--text-dim);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

@keyframes preloaderSpin {
  to { transform: rotate(360deg); }
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.04); opacity: 1; }
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --- Section Formatting --- */
.section {
  padding: 6rem 0;
  position: relative;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
}

/* ==========================================================================
   BUTTONS SYSTEM (SOLID, ELEGANT & REFINED RADIUS)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.btn svg {
  width: 1.1rem;
  height: 1.1rem;
  min-width: 1.1rem;
  fill: currentColor;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

.btn-messenger {
  background-color: var(--messenger);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-messenger:hover {
  background-color: var(--messenger-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background-color: white;
  color: var(--bg-dark);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   TOP EXECUTIVE BAR
   ========================================================================== */
.topbar {
  background-color: var(--bg-dark);
  color: var(--text-dim);
  font-size: 0.85rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-dark);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  transition: var(--transition);
}

.topbar-item svg {
  width: 0.95rem;
  height: 0.95rem;
  min-width: 0.95rem;
  fill: var(--primary-light);
  flex-shrink: 0;
}

.topbar-item:hover {
  color: white;
}

.topbar-item:hover svg {
  fill: white;
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.topbar-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  min-width: 1.85rem;
  border-radius: var(--radius-xs);
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.topbar-social-link svg {
  width: 0.85rem;
  height: 0.85rem;
  min-width: 0.85rem;
  fill: currentColor;
  flex-shrink: 0;
}

.topbar-social-link:hover {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   EXECUTIVE NAVBAR
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-header);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header.scrolled {
  background-color: var(--bg-header);
  box-shadow: var(--shadow-sm);
  padding: 0.2rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-logo:hover img {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-main);
  position: relative;
  padding: 0.4rem 0;
  letter-spacing: 0.3px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-light);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Bilingual Language Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-xs);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lang-btn.active {
  background-color: var(--primary);
  color: white;
}

.lang-btn:hover:not(.active) {
  color: var(--text-main);
}

.lang-btn .flag {
  font-size: 0.9rem;
  line-height: 1;
}

/* Theme Toggle Button (Dark / Light Mode) */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.theme-toggle-btn .icon-moon {
  display: block;
}

.theme-toggle-btn .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle-btn .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle-btn .icon-sun {
  display: block;
  fill: #f59e0b;
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  transform: translateY(-1px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  padding: 8px;
  cursor: pointer;
  z-index: 1002;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: 1px;
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION (HIGH VISIBILITY VIDEO BACKGROUND)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
  background-color: var(--bg-dark);
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  opacity: 0.9;
  filter: contrast(1.05) brightness(0.95);
  pointer-events: none;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.2) 0%, rgba(7, 11, 20, 0.45) 55%, rgba(7, 11, 20, 0.88) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 7.5rem 1.5rem;
}

/* Prominent Hero Brand Emblem (Positioned in Bottom Darker Hero Area) */
.hero-brand-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.75rem;
  margin-bottom: 0;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-emblem-img {
  height: 105px;
  max-width: 340px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.85));
  transition: transform 0.3s ease;
}

.hero-emblem-img:hover {
  transform: scale(1.04);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 1.35rem;
  letter-spacing: -0.025em;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.85);
}

.hero-title span {
  color: var(--primary-light);
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.95);
  max-width: 740px;
  margin: 0 auto 2.5rem auto;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-features-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 4;
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(8px);
  padding: 1.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  text-align: center;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.2px;
}

.hero-feature-item svg {
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  fill: var(--primary-light);
  flex-shrink: 0;
}

/* ==========================================================================
   PRESIDENTIAL LEADERSHIP SPOTLIGHT (JUAN ARRAIZ)
   ========================================================================== */
.about-section {
  background-color: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  text-align: center;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-dark-surface);
}

.about-image-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-image-card:hover img {
  transform: scale(1.02);
}

/* Embedded Official Logo Badge on Photo (+30% larger) */
.about-photo-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0) 0%, rgba(7, 11, 20, 0.88) 35%, rgba(7, 11, 20, 0.98) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 2;
}

.about-badge-logo {
  height: 85px !important;
  max-width: 280px !important;
  width: auto !important;
  object-fit: contain !important;
  aspect-ratio: auto !important;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.8));
  transition: transform 0.3s ease;
}

.about-image-card:hover .about-badge-logo {
  transform: scale(1.05);
}

.about-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 0.35rem;
  letter-spacing: -0.5px;
}

.about-title-role {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
  display: inline-block;
  letter-spacing: 0.2px;
}

.about-bio {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

/* Executive Pillars */
.executive-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--bg-card-alt);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  border-left: 3.5px solid var(--primary);
}

.pillar-icon {
  width: 1.85rem;
  height: 1.85rem;
  min-width: 1.85rem;
  border-radius: var(--radius-xs);
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pillar-icon svg {
  width: 0.95rem;
  height: 0.95rem;
  min-width: 0.95rem;
  fill: var(--primary);
  flex-shrink: 0;
}

.pillar-content strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.pillar-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Licensed States */
.licensed-states-box {
  background-color: var(--bg-card-alt);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.licensed-states-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.licensed-states-title svg {
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  fill: var(--primary);
  flex-shrink: 0;
}

.states-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.state-badge {
  background-color: var(--bg-surface);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.state-badge::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
  font-size: 0.75rem;
}

.state-badge:hover {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.state-badge:hover::before {
  color: white;
}

.about-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   SERVICES SECTION (12 CLEAN EXECUTIVE CARDS)
   ========================================================================== */
.services-section {
  background-color: var(--bg-body);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 2.25rem 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.service-icon-wrapper {
  width: 3.25rem;
  height: 3.25rem;
  min-width: 3.25rem;
  border-radius: var(--radius-xs);
  background: rgba(0, 135, 48, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  transition: var(--transition);
}

.service-icon-wrapper svg {
  width: 1.6rem;
  height: 1.6rem;
  min-width: 1.6rem;
  fill: var(--primary);
  flex-shrink: 0;
}

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

.service-card:hover .service-icon-wrapper svg {
  fill: white;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  margin-top: auto;
}

.service-link svg {
  width: 0.9rem;
  height: 0.9rem;
  min-width: 0.9rem;
  fill: currentColor;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.service-link:hover {
  color: var(--primary-dark);
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   CONTACT SECTION (FIXED ICONS & DUAL SOLID BUTTONS)
   ========================================================================== */
.contact-section {
  background-color: var(--bg-dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: stretch;
}

.contact-info-card {
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-header h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  letter-spacing: -0.5px;
}

.contact-info-header p {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

/* STRICT ICON SIZING (PREVENTS GIGANTIC OVERFLOW) */
.contact-detail-icon {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  border-radius: var(--radius-xs);
  background: rgba(0, 135, 48, 0.15);
  border: 1px solid rgba(0, 135, 48, 0.3);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.contact-detail-icon svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  fill: #34d399 !important;
  flex-shrink: 0 !important;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.contact-detail-text a, .contact-detail-text span {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
}

.contact-detail-text a:hover {
  color: #34d399;
}

/* Contact Social Icons Box */
.contact-socials-box strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.contact-social-icons {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  flex-wrap: wrap !important;
}

/* STRICT SOCIAL BUTTON SIZING */
.contact-social-btn {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  border-radius: var(--radius-xs) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  transition: var(--transition) !important;
  flex-shrink: 0 !important;
}

.contact-social-btn svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
}

.contact-social-btn:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  transform: translateY(-2px);
}

/* Contact Info Card Brand Header */
.contact-brand-header {
  margin-bottom: 1.5rem;
}

.contact-brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

/* Form Container */
.contact-form-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
  color: var(--text-main);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-header {
  margin-bottom: 2rem;
}

.form-brand-badge {
  margin-bottom: 1rem;
}

.form-badge-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.form-header h3 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  letter-spacing: -0.5px;
}

.form-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-main);
}

.form-label span {
  color: #ef4444;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  color: var(--input-text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  background-color: var(--bg-card);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}

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

/* Dual Submit Buttons (Solid, Non-circular) */
.form-buttons-group {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form-status {
  grid-column: span 2;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  display: none;
  text-align: center;
}

.form-status.success {
  display: block;
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-status.error {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   FLOATING MULTI-CHANNEL CONCIERGE WIDGET (SOLID SQUARED / ROUNDED)
   ========================================================================== */
.floating-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.floating-toggle-btn {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition);
}

.floating-toggle-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.floating-toggle-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

.floating-menu {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.floating-widget.active .floating-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-menu-header {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.4rem;
  margin-bottom: 0.25rem;
}

.floating-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-xs);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  transition: var(--transition);
}

.floating-item svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.floating-item.messenger {
  color: var(--messenger);
  background-color: rgba(0, 132, 255, 0.08);
}
.floating-item.messenger svg { fill: var(--messenger); }
.floating-item.messenger:hover { background-color: var(--messenger); color: white; }
.floating-item.messenger:hover svg { fill: white; }

.floating-item.whatsapp {
  color: #128c7e;
  background-color: rgba(37, 211, 102, 0.08);
}
.floating-item.whatsapp svg { fill: var(--whatsapp); }
.floating-item.whatsapp:hover { background-color: var(--whatsapp); color: white; }
.floating-item.whatsapp:hover svg { fill: white; }

.floating-item.phone {
  color: var(--accent);
  background-color: rgba(2, 132, 199, 0.08);
}
.floating-item.phone svg { fill: var(--accent); }
.floating-item.phone:hover { background-color: var(--accent); color: white; }
.floating-item.phone:hover svg { fill: white; }

.floating-item.email {
  color: var(--primary);
  background-color: rgba(0, 135, 48, 0.08);
}
.floating-item.email svg { fill: var(--primary); }
.floating-item.email:hover { background-color: var(--primary); color: white; }
.floating-item.email:hover svg { fill: white; }

/* ==========================================================================
   FOOTER (CENTERED COPYRIGHT ONLY)
   ========================================================================== */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-dim);
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.35rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2rem;
  height: 2px;
  background-color: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.92rem;
  color: var(--text-dim);
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center; /* Cleanly centered */
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
}

.footer-bottom p {
  color: var(--text-dim);
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-image-wrapper {
    max-width: 440px;
    margin: 0 auto;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background-color: var(--bg-surface);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.35rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border-color);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-actions {
    display: flex;
    gap: 0.5rem;
  }
  
  .nav-actions .btn {
    display: none;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta-group .btn {
    width: 100%;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .form-buttons-group {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .floating-widget {
    bottom: 1.25rem;
    right: 1.25rem;
  }
}
