/* ============================================
   GFR - Gestión Financiera de Riesgos
   Minimalist Flat Geometric Design
   Overlapping layers · Diagonal blocks · Sharp edges
   ============================================ */

/* ---------- 1. CSS Custom Properties ---------- */
:root {
  --primary: #469AA5;
  --primary-dark: #267D9C;
  --primary-light: #6BB8C2;
  --primary-subtle: rgba(70, 154, 165, 0.07);
  --secondary: #267D9C;
  --accent-coral: #E07A5F;
  --accent-mustard: #D4A843;
  --dark: #1A2B3C;
  --dark-soft: #243647;
  --text: #334155;
  --text-light: #64748B;
  --text-muted: #94A3B8;
  --off-white: #F5F3F0;
  --light-gray: #ECEAE7;
  --border: #DDD9D4;
  --white: #FFFFFF;
  --shadow-sm: none;
  --shadow-md: 0 2px 0 var(--border);
  --shadow-lg: 0 2px 0 var(--primary);
  --shadow-xl: 0 3px 0 var(--primary-dark);
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-xl: 0;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --geo-skew: -3deg;
}

/* ---------- 2. Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

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

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
  margin-bottom: 1rem;
  color: var(--text);
}

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent-coral); }
.text-muted { color: var(--text-muted); }

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

.container-lg {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-sm {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-header .section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-coral);
  margin-bottom: 16px;
  position: relative;
  padding: 6px 16px;
  background: rgba(224, 122, 95, 0.08);
}

.section-header .section-label::after {
  display: none;
}

.section-header h2 {
  margin-bottom: 20px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Diagonal section backgrounds */
.bg-off-white {
  background-color: var(--off-white);
}

.bg-light {
  background-color: var(--light-gray);
}

.bg-dark {
  background-color: var(--dark);
}

/* Diagonal section separator */
.section.bg-off-white::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--off-white);
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

.section.bg-off-white::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--off-white);
  clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%);
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 0;
  transition: all var(--transition);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--primary);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--primary-dark);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--primary-dark);
}

.btn-coral {
  background: var(--accent-mustard);
  color: var(--white);
  border: 2px solid var(--accent-mustard);
}

.btn-coral:hover {
  background: #b8912e;
  border-color: #b8912e;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--accent-coral);
}

.btn-white {
  background: var(--white);
  color: var(--primary-dark);
  border: 2px solid var(--white);
}

.btn-white:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.15);
}

.btn i {
  font-size: 1.1rem;
  transition: transform var(--transition);
}

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

/* ---------- 5. Preloader ---------- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}

.preloader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-logo img {
  height: 60px;
  width: auto;
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: var(--light-gray);
  overflow: hidden;
}

.preloader-bar-inner {
  width: 0;
  height: 100%;
  background: var(--primary);
}

/* ---------- 6. Top Bar ---------- */
.top-bar {
  background: var(--primary-dark);
  padding: 0;
  height: 36px;
  display: flex;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-left a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
}

.top-bar-left a:hover {
  color: var(--primary-light);
}

.top-bar-left i {
  font-size: 0.9rem;
  color: var(--primary-light);
}

/* ---------- 7. Header & Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition);
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}

.header.has-topbar {
  top: 36px;
}

.header.scrolled {
  top: 36px;
}

.header.scrolled .header-cta .btn-primary {
  background: var(--primary);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  transition: padding var(--transition);
}

.header.scrolled .nav-wrapper {
  padding: 12px 0;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 50px;
  width: auto;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 16px;
  transition: all var(--transition);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.nav-link.active::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--primary);
}

/* Dropdown */
.nav-item {
  position: relative;
}

.nav-item.has-dropdown > .nav-link::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  transition: transform var(--transition);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--white);
  box-shadow: 0 4px 0 var(--primary);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  border: 2px solid var(--primary);
}

.nav-item.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}

.nav-dropdown a:hover {
  background: var(--primary);
  color: var(--white);
}

.nav-dropdown a:hover i {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

.nav-dropdown a i {
  font-size: 1.2rem;
  color: var(--primary);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-subtle);
}

.nav-dropdown .dropdown-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

.nav-dropdown a:hover .dropdown-desc {
  color: rgba(255, 255, 255, 0.7);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-cta .btn {
  white-space: nowrap;
  padding: 10px 24px;
  font-size: 0.82rem;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
  transition: all var(--transition);
}

.header.scrolled .menu-toggle span {
  background: var(--dark);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- 8. Hero Slider ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Background images per slide */
.hero-slide .hero-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide:nth-child(1) .hero-bg {
  background-image: url('../img/slide-1.png');
}

.hero-slide:nth-child(2) .hero-bg {
  background-image: url('../img/slide-2.png');
}

.hero-slide:nth-child(3) .hero-bg {
  background-image: url('../img/slide-3.png');
}

.hero-slide:nth-child(4) .hero-bg {
  background-image: url('../img/banner4.png');
}

/* Large diagonal overlay - darker color, left side */
.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 52%;
  height: 100%;
  background: var(--primary-dark);
  clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%);
  opacity: 0.92;
}

/* Second diagonal block - lighter color, adjacent to the right */
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 28%;
  width: 42%;
  height: 100%;
  background: var(--primary);
  clip-path: polygon(25% 0, 100% 0, 72% 100%, 0 100%);
  opacity: 0.80;
}

/* Geometric shapes - subtle white accents */
.hero-shape {
  position: absolute;
  opacity: 0.06;
  background: var(--white);
}

.hero-shape-1 {
  width: 350px;
  height: 350px;
  top: -60px;
  right: -60px;
  transform: rotate(15deg);
}

.hero-shape-2 {
  width: 180px;
  height: 180px;
  bottom: 15%;
  left: 5%;
  transform: rotate(-12deg);
  opacity: 0.08;
}

.hero-shape-3 {
  width: 100px;
  height: 100px;
  top: 35%;
  right: 20%;
  opacity: 0.05;
  border: 3px solid var(--white);
  background: transparent;
  transform: rotate(45deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 28px;
}

.hero-label .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-coral);
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  color: var(--white);
  position: relative;
  display: inline;
}

.hero-title .highlight::after {
  display: none;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Slider controls */
.hero-nav {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 32px;
  z-index: 10;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 32px;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.hero-dot.active {
  width: 56px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-dot-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--accent-coral);
  width: 0;
}

.hero-dot.active .hero-dot-progress {
  animation: dotProgress 6s linear forwards;
}

@keyframes dotProgress {
  from { width: 0; }
  to { width: 100%; }
}

.hero-counter {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 3px;
  font-weight: 700;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 48px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.hero-scroll span {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  writing-mode: vertical-rl;
  font-weight: 600;
}

.hero-scroll-line {
  width: 2px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 50%;
  background: var(--accent-coral);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -50%; }
  100% { top: 150%; }
}

/* ---------- 9. Section Defaults ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 10. Value Proposition ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 44px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  margin-left: -1px;
  margin-top: -1px;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.value-card:hover {
  background: var(--primary);
  z-index: 2;
}

.value-card:hover h4,
.value-card:hover p {
  color: rgba(255, 255, 255, 0.85);
}

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

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  transition: all var(--transition);
}

.value-card:hover .value-icon {
  background: var(--primary);
  color: var(--white);
}

.value-card h4 {
  margin-bottom: 12px;
  font-size: 1.05rem;
  transition: color var(--transition);
}

.value-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
  transition: color var(--transition);
}

/* ---------- 11. Specializations ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.spec-card {
  background: var(--white);
  padding: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  margin-left: -1px;
  display: flex;
  flex-direction: column;
}

.spec-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.spec-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.spec-card-img .spec-number {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--primary-dark);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  padding: 8px 16px;
}

.spec-card-body {
  padding: 32px 36px;
}

.spec-card:hover {
  z-index: 2;
  border-color: var(--primary);
}

.spec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary);
  transition: height var(--transition-slow);
}

.spec-card:hover::before {
  height: 100%;
}

.spec-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: var(--primary);
  opacity: 0;
  transition: opacity var(--transition);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.spec-card:hover::after {
  opacity: 0.05;
}

.spec-card h3 {
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.spec-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.spec-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: gap var(--transition);
}

.spec-link:hover {
  gap: 14px;
}

/* ---------- 12. Stats ---------- */
.stats-section {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

/* Diagonal accent block */
.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  background: var(--primary);
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.08;
}

.stats-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20%;
  height: 100%;
  background: var(--primary-dark);
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 10% 100%);
  opacity: 0.06;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .stat-suffix {
  font-size: 1.5rem;
  color: var(--accent-coral);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- 12b. Clients Grid ---------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.client-logo {
  background: var(--white);
  border: 2px solid var(--border);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  transition: all var(--transition);
}

.client-logo:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 0 var(--primary);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ---------- 12c. Services Page ---------- */

/* Stats bar */
.srv-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--primary);
  margin-top: 48px;
}

.srv-stat {
  padding: 32px 24px;
  text-align: center;
  position: relative;
}

.srv-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.2);
}

.srv-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.srv-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Feature rows (image + content) */
.srv-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.srv-feature-reverse {
  direction: rtl;
}

.srv-feature-reverse > * {
  direction: ltr;
}

.srv-feature-img {
  position: relative;
  overflow: hidden;
  height: 400px;
}

.srv-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.srv-feature-icon-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-size: 80px;
}

.spec-card-icon-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-size: 64px;
}

.srv-feature:hover .srv-feature-img img {
  transform: scale(1.03);
}

.srv-feature-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--primary-dark);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  padding: 12px 20px;
}

.srv-feature-reverse .srv-feature-badge {
  left: auto;
  right: 0;
}

.srv-feature-content h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.srv-feature-subtitle {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.srv-feature-content > p:not(.srv-feature-subtitle) {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
}

.srv-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.srv-feature-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-subtle);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 14px;
  border: 1px solid rgba(70,154,165,0.15);
}

.srv-feature-tags span i {
  font-size: 0.9rem;
}

/* Support services grid */
.srv-support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.srv-support-card {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--white);
  border: 2px solid var(--border);
  transition: all var(--transition);
}

.srv-support-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 0 var(--primary);
}

.srv-support-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.srv-support-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.srv-support-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Process steps */
.srv-process {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.srv-process-step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 0 24px;
}

.srv-process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.srv-process-step h4 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.srv-process-step p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

.srv-process-connector {
  display: flex;
  align-items: center;
  padding-top: 16px;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ---------- 12d. Concept Cards ---------- */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.concept-card {
  background: var(--white);
  border: 2px solid var(--border);
  padding: 32px;
  position: relative;
  transition: all var(--transition);
}

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

.concept-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.concept-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.concept-card > p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.concept-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.concept-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
  padding: 4px 0;
}

.concept-card ul li i {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ---------- 13. Sanctions Preview ---------- */
.sanctions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.sanction-card {
  background: var(--white);
  overflow: hidden;
  border: 2px solid var(--border);
  transition: all var(--transition);
}

.sanction-card:hover {
  z-index: 2;
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 0 var(--primary);
}

.sanction-logo-area {
  background: var(--white);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid var(--border);
}

.sanction-logo {
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.sanction-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.sanction-sector {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 8px;
}

.sanction-header {
  background: var(--primary);
  padding: 20px 28px;
  text-align: center;
  position: relative;
}

/* Geometric accent on sanction header */
.sanction-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: var(--primary-dark);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.3;
}

.sanction-amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}

.sanction-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

.sanction-body {
  padding: 28px;
}

.sanction-reason {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
}

.sanction-reason i {
  color: var(--accent-mustard);
  margin-top: 3px;
  flex-shrink: 0;
}

.sanctions-cta {
  text-align: center;
}

.sanctions-cta p {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 24px;
}

.sanctions-cta strong {
  color: var(--dark);
}

/* ---------- 14. Sectors ---------- */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.sector-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px 20px;
  text-align: center;
  transition: all var(--transition);
  margin-left: -1px;
  margin-top: -1px;
}

.sector-card:hover {
  background: var(--primary);
  border-color: var(--primary);
  z-index: 2;
}

.sector-card:hover h4 {
  color: var(--white);
}

.sector-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  transition: all var(--transition);
}

.sector-card:hover .sector-icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.sector-card h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}

/* ---------- 15. Quote Section ---------- */
.quote-section {
  background: var(--primary-dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Large geometric accent */
.quote-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background: var(--primary);
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
}

.quote-section::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 200px;
  height: 200px;
  background: var(--accent-coral);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.15;
}

.quote-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1.6;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 32px;
}

.quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.quote-author-info strong {
  display: block;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
}

.quote-author-info span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* ---------- 16. CTA Section ---------- */
.cta-section {
  padding: 100px 0;
  background: var(--primary-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Geometric accent */
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -5%;
  width: 120px;
  height: 120px;
  background: var(--primary);
  opacity: 0.06;
  transform: rotate(45deg);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: 10%;
  width: 80px;
  height: 80px;
  background: var(--accent-coral);
  opacity: 0.06;
  transform: rotate(15deg);
}

.cta-section h2 {
  margin-bottom: 20px;
  color: var(--white);
}

.cta-section p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-section .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.cta-section .btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
  box-shadow: 4px 4px 0 rgba(255,255,255,0.3);
}

/* ---------- 17. Footer ---------- */
.footer {
  background: var(--light-gray);
  color: var(--text);
  padding-top: 80px;
  position: relative;
}

/* Diagonal top edge */
.footer::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--light-gray);
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-top: 16px;
  margin-bottom: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 48px;
  width: auto;
}

.footer h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: var(--font-heading);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-light);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 6px;
}

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

.footer-contact-item i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 2px;
}

.footer-contact-item span {
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- 18. Page Hero (Inner Pages) ---------- */
.page-hero {
  background: var(--off-white) url('../img/slide-1.png') center / cover no-repeat;
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Diagonal color blocks over background image */
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 52%;
  height: 100%;
  background: var(--primary-dark);
  clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%);
  opacity: 0.92;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 28%;
  width: 42%;
  height: 100%;
  background: var(--primary);
  clip-path: polygon(25% 0, 100% 0, 72% 100%, 0 100%);
  opacity: 0.80;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

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

.page-hero p {
  color: rgba(255,255,255,0.85);
}

.page-hero .breadcrumb a,
.page-hero .breadcrumb span {
  color: rgba(255,255,255,0.7);
}

.page-hero .breadcrumb a:hover {
  color: var(--white);
}


.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb .separator {
  font-size: 0.7rem;
}

.page-hero h1 {
  margin-bottom: 16px;
  font-weight: 800;
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 600px;
}

/* ---------- 19. About Page ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-intro-content h2 {
  margin-bottom: 24px;
}

.about-intro-content p {
  color: var(--text-light);
  line-height: 1.8;
}

.about-visual {
  background: var(--off-white);
  padding: 48px;
  position: relative;
}

/* Geometric accent on about visual */
.about-visual::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary);
  z-index: -1;
  opacity: 0.15;
}

.about-quote-box {
  background: var(--white);
  padding: 36px;
  border-left: 5px solid var(--primary);
}

.about-quote-box blockquote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin-bottom: 16px;
}

.about-quote-box cite {
  font-style: normal;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.9rem;
}

.diferencial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.diferencial-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px;
  transition: all var(--transition);
  margin-left: -1px;
  margin-top: -1px;
  position: relative;
}

.diferencial-card:hover {
  border-color: var(--primary);
  z-index: 2;
}

.diferencial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--primary);
  transition: width var(--transition);
}

.diferencial-card:hover::before {
  width: 100%;
}

.diferencial-card .card-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.diferencial-card:hover .card-icon {
  background: var(--primary);
  color: var(--white);
}

.diferencial-card h4 {
  margin-bottom: 12px;
}

.diferencial-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ---------- 20. Team Page ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
}

.team-grid .team-card {
  grid-column: span 2;
}

/* Center last row of 2 items: offset by 1 col each */
.team-grid .team-card:nth-last-child(2):nth-child(3n+1) {
  grid-column: 2 / span 2;
}

.team-grid .team-card:last-child:nth-child(3n+2) {
  grid-column: 4 / span 2;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: visible;
  transition: all var(--transition);
  text-align: center;
  cursor: pointer;
  padding: 40px 24px 32px;
  position: relative;
  margin-top: 60px;
}

.team-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 0 var(--primary);
}

.team-card:hover .team-photo img {
  transform: scale(1.08);
}

.team-card:hover .team-photo::after {
  border-color: var(--primary);
}

.team-photo {
  width: 120px;
  height: 120px;
  margin: -100px auto 20px;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
}

.team-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--border);
  border-radius: 50%;
  transition: border-color var(--transition);
  z-index: 1;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
  border-radius: 50%;
}

.team-info {
  padding: 0;
}

.team-info h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.team-role {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-team-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-subtle);
  border: none;
  padding: 8px 20px;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-team-more:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-team-more i {
  font-size: 1rem;
  transition: transform var(--transition);
}

.btn-team-more:hover i {
  transform: translateX(3px);
}

/* Team Modal */
.team-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 43, 60, 0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 24px;
}

.team-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.team-modal {
  background: var(--white);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.3s ease;
}

.team-modal-overlay.active .team-modal {
  transform: translateY(0);
}

.team-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border: 1px solid var(--border);
  cursor: pointer;
  z-index: 2;
  font-size: 1.25rem;
  color: var(--dark);
  transition: all var(--transition);
}

.team-modal-close:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.team-modal-content {
  display: grid;
  grid-template-columns: 280px 1fr;
}

.team-modal-photo {
  background: var(--off-white);
  overflow: hidden;
}

.team-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  min-height: 400px;
}

.team-modal-info {
  padding: 40px;
}

.team-modal-info h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.team-modal-info .team-role {
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.team-modal-bio {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
}

.team-modal-bio p {
  margin-bottom: 12px;
}

.team-modal-credentials {
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-modal-credentials span {
  display: inline-block;
  background: var(--primary-subtle);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0A66C2;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 24px;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-linkedin:hover {
  background: #004182;
}

.btn-linkedin i {
  font-size: 1.15rem;
}

/* ---------- 21. Services Hub ---------- */
.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.services-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.service-feature-item .feature-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.service-feature-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.service-feature-item p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Service detail pages */
.service-detail-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.info-box {
  background: var(--off-white);
  padding: 36px;
  border-left: 5px solid var(--primary);
  position: relative;
}

.info-box::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: var(--primary);
  opacity: 0.05;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.info-box h3 {
  margin-bottom: 20px;
}

.info-box ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--text);
}

.info-box ul li i {
  color: var(--primary);
  margin-top: 4px;
}

.obligados-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  margin-top: 24px;
}

.obligados-table th {
  background: var(--primary-dark);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.obligados-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text);
}

.obligados-table tr:hover td {
  background: var(--primary-subtle);
}

/* ---------- 22. Methodology Page ---------- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--border);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding: 32px 0;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-number {
  width: 64px;
  height: 64px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 8px var(--off-white);
}

.timeline-content {
  flex: 1;
  background: var(--white);
  border: 2px solid var(--border);
  padding: 32px;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
}

.timeline-content h3 {
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.timeline-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.92rem;
  color: var(--text);
}

.timeline-content ul li i {
  color: var(--primary);
  margin-top: 4px;
}

/* ---------- 23. Support Services Page ---------- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.support-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 44px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  margin-left: -1px;
  margin-top: -1px;
}

.support-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: var(--primary);
  transition: height var(--transition-slow);
}

.support-card:hover {
  border-color: var(--primary);
  z-index: 2;
}

.support-card-partner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.support-card-partner span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.partner-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.support-card:hover::before {
  height: 100%;
}

.support-card .card-icon-lg {
  width: 64px;
  height: 64px;
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 24px;
  transition: all var(--transition);
}

.support-card:hover .card-icon-lg {
  background: var(--primary);
  color: var(--white);
}

.support-card h3 {
  margin-bottom: 16px;
}

.support-card p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ---------- 24. Sanctions Page ---------- */
.sanction-full-card {
  background: var(--white);
  border: 2px solid var(--primary);
  overflow: hidden;
  margin-bottom: 32px;
}

.sanction-full-top {
  display: flex;
}

.sanction-full-logo-area {
  background: var(--white);
  padding: 28px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 280px;
  border-right: 2px solid var(--border);
}

.sanction-full-logo {
  height: 60px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.sanction-full-icon {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.sanction-full-sector {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 10px;
}

.sanction-full-header {
  background: var(--primary);
  padding: 28px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  position: relative;
}

.sanction-full-header::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: var(--primary-dark);
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 10% 100%);
  opacity: 0.3;
}

.sanction-full-header .amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.sanction-full-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

.sanction-full-header h3 {
  color: var(--white);
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.sanction-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.sanction-col {
  padding: 36px 40px;
}

.sanction-col.failures {
  background: rgba(212, 168, 67, 0.04);
  border-right: 2px solid var(--border);
}

.sanction-col.solutions {
  background: rgba(70, 154, 165, 0.04);
}

.sanction-col h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sanction-col.failures h4 {
  color: var(--accent-mustard);
}

.sanction-col.solutions h4 {
  color: var(--primary);
}

.sanction-col ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}

.sanction-col.failures ul li i {
  color: var(--accent-mustard);
  margin-top: 3px;
}

.sanction-col.solutions ul li i {
  color: var(--primary);
  margin-top: 3px;
}

/* ---------- 25. Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--off-white);
  transition: all var(--transition);
  border: 1px solid var(--border);
  margin-top: -1px;
}

.contact-info-card:hover {
  background: var(--primary-subtle);
  border-color: var(--primary);
  z-index: 1;
}

.contact-info-card .icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.contact-form {
  background: var(--white);
  border: 2px solid var(--border);
  padding: 40px;
  position: relative;
}

/* Geometric accent */
.contact-form::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary);
  z-index: -1;
  opacity: 0.1;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  transition: all var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

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

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

/* ---------- 26. Urgency Banner ---------- */
.urgency-banner {
  background: var(--accent-mustard);
  padding: 28px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.urgency-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 15%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

.urgency-banner .container > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.urgency-banner p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.urgency-banner strong {
  color: var(--white);
}

.urgency-banner .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Enfoque / Methodology Steps (SARLAFT) */
.enfoque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.enfoque-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px 32px;
  position: relative;
  margin-left: -1px;
  transition: all var(--transition);
}

.enfoque-card:hover {
  border-color: var(--primary);
  z-index: 2;
}

.enfoque-card-top {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.enfoque-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.enfoque-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0;
  padding-top: 10px;
}

.enfoque-card p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.enfoque-card ul {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.enfoque-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}

.enfoque-card ul li i {
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- 26b. WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  z-index: 500;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #1fb855;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ---------- 27. Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 500;
  cursor: pointer;
  border: 2px solid var(--primary);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--primary);
}

/* ---------- 28. Normatividad ---------- */
.norm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.norm-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px;
  transition: all var(--transition);
  margin-left: -1px;
  margin-top: -1px;
}

.norm-card:hover {
  border-color: var(--primary);
  z-index: 2;
}

.norm-card .norm-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.norm-card h4 {
  margin-bottom: 12px;
}

.norm-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ---------- 29. Responsive ---------- */

/* --- 29a. Large desktops → tablets (1200px) --- */
@media (max-width: 1200px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sectors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .srv-feature {
    gap: 40px;
  }

  .srv-feature-img {
    height: 340px;
  }
}

/* --- 29b. Tablets (1024px) --- */
@media (max-width: 1024px) {
  .section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .cta-section {
    padding: 80px 0;
  }

  .quote-section {
    padding: 60px 0;
  }

  /* Navigation → mobile drawer */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 8px;
    transition: right var(--transition);
    border-left: 4px solid var(--primary);
    z-index: 999;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu .nav-link {
    color: var(--text);
    font-size: 1rem;
    width: 100%;
    padding: 12px 0;
  }

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

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 20px;
    display: none;
    min-width: 0;
  }

  .nav-item.has-dropdown.open .nav-dropdown {
    display: block;
  }

  .menu-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  /* Two-column grids → single column */
  .about-intro,
  .services-intro,
  .service-detail-section,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .sanctions-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .sanction-full-top {
    flex-direction: column;
  }

  .sanction-full-logo-area {
    flex: none;
    border-right: none;
    border-bottom: 2px solid var(--border);
    padding: 24px;
  }

  .sanction-comparison {
    grid-template-columns: 1fr;
  }

  /* Team grid → 2 col */
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }

  .team-grid .team-card:nth-last-child(2):nth-child(3n+1) {
    grid-column: auto / span 2;
  }

  .team-grid .team-card:last-child:nth-child(3n+2) {
    grid-column: auto / span 2;
  }

  .team-card {
    padding: 32px 20px 28px;
    margin-top: 50px;
  }

  .team-modal-content {
    grid-template-columns: 220px 1fr;
  }

  .team-modal-photo img {
    min-height: 350px;
  }

  /* Timeline */
  .timeline::before {
    left: 32px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
    gap: 24px;
  }

  .timeline-number {
    flex-shrink: 0;
  }

  .section.bg-off-white::before,
  .section.bg-off-white::after {
    display: none;
  }

  /* Enfoque → 1 col on tablets */
  .enfoque-grid {
    grid-template-columns: 1fr;
  }

  .enfoque-card {
    margin-left: 0;
    margin-top: -1px;
  }

  /* Services feature */
  .srv-feature {
    gap: 32px;
  }

  .srv-feature-img {
    height: 300px;
  }

  /* Info boxes */
  .info-box {
    padding: 28px;
  }

  /* Contact form */
  .contact-form {
    padding: 32px;
  }

  /* Buttons */
  .btn {
    padding: 12px 24px;
    font-size: 0.88rem;
  }

  /* Stat numbers */
  .stat-number {
    font-size: 3rem;
  }

  .stat-number .stat-suffix {
    font-size: 1.25rem;
  }

  /* Quote */
  .quote-text {
    font-size: 1.3rem;
  }

  /* Page hero */
  .page-hero {
    padding: 140px 0 64px;
  }

  .page-hero::before {
    width: 65%;
  }

  .page-hero::after {
    left: 20%;
    width: 55%;
  }

  /* Hero overlays - widen for tablets */
  .hero-bg::before {
    width: 65%;
  }

  .hero-bg::after {
    left: 20%;
    width: 55%;
  }

  /* Hero shapes */
  .hero-shape-1 {
    width: 250px;
    height: 250px;
  }

  .hero-shape-2 {
    width: 130px;
    height: 130px;
  }

  .hero-shape-3 {
    width: 70px;
    height: 70px;
  }

  /* Urgency banner */
  .urgency-banner {
    padding: 24px 0;
  }

  .urgency-banner p {
    font-size: 0.92rem;
  }

  /* Support card */
  .support-card {
    padding: 32px;
  }

  /* Srv stats */
  .srv-stat-number {
    font-size: 1.75rem;
  }
}

/* --- 29c. Mobile landscape / small tablets (768px) --- */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-sm {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-header p {
    font-size: 1rem;
  }

  .cta-section {
    padding: 60px 0;
  }

  /* Top bar compact on mobile */
  .top-bar {
    height: 30px;
    font-size: 0.72rem;
  }

  .top-bar-left {
    gap: 12px;
  }

  .header.has-topbar,
  .header.scrolled {
    top: 30px;
  }

  /* Hero */
  .hero {
    min-height: 600px;
  }

  .hero-content {
    max-width: 100%;
    padding-right: 16px;
  }

  .hero-bg::before {
    width: 100%;
    clip-path: none;
    opacity: 0.60;
  }

  .hero-bg::after {
    display: none;
  }

  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .hero-label {
    margin-bottom: 20px;
    padding: 6px 16px;
    font-size: 0.72rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn {
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  .hero-scroll {
    display: none;
  }

  .hero-nav {
    bottom: 20px;
    gap: 16px;
  }

  .hero-shape-1 {
    width: 180px;
    height: 180px;
    top: -40px;
    right: -40px;
  }

  .hero-shape-2 {
    width: 100px;
    height: 100px;
  }

  .hero-shape-3 {
    display: none;
  }

  /* Grids */
  .value-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .value-card {
    padding: 32px 24px;
  }

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

  .spec-card-body {
    padding: 24px;
  }

  .spec-card-img {
    height: 180px;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .client-logo {
    height: 100px;
    padding: 12px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-number .stat-suffix {
    font-size: 1rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  /* Services page */
  .srv-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .srv-stat:nth-child(2)::after {
    display: none;
  }

  .srv-stat-number {
    font-size: 1.5rem;
  }

  .srv-feature {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .srv-feature-reverse {
    direction: ltr;
  }

  .srv-feature-img {
    height: 240px;
  }

  .srv-feature-content h2 {
    font-size: 1.5rem;
  }

  .srv-support-grid {
    grid-template-columns: 1fr;
  }

  .srv-support-card {
    flex-direction: column;
    gap: 16px;
    padding: 28px;
  }

  .srv-process {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .srv-process-connector {
    transform: rotate(90deg);
    padding-top: 0;
  }

  /* Sectors */
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sector-card {
    padding: 24px 16px;
  }

  /* Sanctions */
  .sanction-amount {
    font-size: 1.6rem;
  }

  .sanction-full-header .amount {
    font-size: 1.8rem;
  }

  /* Diferencial, support, norms */
  .diferencial-grid,
  .support-grid,
  .norm-grid {
    grid-template-columns: 1fr;
  }

  .support-card {
    padding: 28px;
  }

  /* Team */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: none;
  }

  .team-grid .team-card {
    grid-column: auto;
  }

  .team-grid .team-card:nth-last-child(2):nth-child(3n+1),
  .team-grid .team-card:last-child:nth-child(3n+2) {
    grid-column: auto;
  }

  .team-card {
    padding: 28px 16px 24px;
    margin-top: 45px;
  }

  .team-photo {
    width: 100px;
    height: 100px;
    margin-top: -80px;
  }

  .team-info h3 {
    font-size: 1rem;
  }

  .team-role {
    font-size: 0.75rem;
  }

  .btn-team-more {
    font-size: 0.78rem;
    padding: 6px 16px;
  }

  /* Team modal */
  .team-modal-content {
    grid-template-columns: 1fr;
  }

  .team-modal-photo img {
    min-height: 250px;
    max-height: 300px;
  }

  .team-modal-info {
    padding: 28px 24px;
  }

  .team-modal-info h3 {
    font-size: 1.25rem;
  }

  .team-modal-credentials span {
    font-size: 0.72rem;
    padding: 4px 10px;
  }

  /* Quote */
  .quote-text {
    font-size: 1.15rem;
  }

  .quote-section {
    padding: 48px 0;
  }

  /* Page hero */
  .page-hero {
    padding: 120px 0 56px;
  }

  .page-hero::before {
    width: 80%;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  }

  .page-hero::after {
    left: 15%;
    width: 70%;
    clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
  }

  .page-hero h1 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .page-hero p {
    font-size: 0.95rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer::before {
    display: none;
  }

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

  .footer {
    padding: 48px 0 0;
  }

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

  .contact-form {
    padding: 28px;
  }

  .contact-form::after {
    display: none;
  }

  /* Info box */
  .info-box {
    padding: 24px;
  }

  /* Tables */
  .obligados-table th,
  .obligados-table td {
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  /* Urgency banner */
  .urgency-banner {
    padding: 20px 0;
  }

  .urgency-banner .container > div {
    flex-direction: column;
    gap: 16px;
  }

  .urgency-banner p {
    font-size: 0.85rem;
  }

  /* CTA buttons */
  .cta-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }

  /* Enfoque */
  .enfoque-card {
    padding: 28px 24px;
  }

  /* Concept */
  .concept-card {
    padding: 28px;
  }

  /* Breadcrumb */
  .breadcrumb {
    font-size: 0.78rem;
  }

  /* WhatsApp & back to top */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 24px;
    right: 24px;
    font-size: 1.3rem;
  }

  .back-to-top {
    bottom: 84px;
    right: 24px;
    width: 40px;
    height: 40px;
  }
}

/* --- 29d. Mobile portrait (480px) --- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .cta-section {
    padding: 48px 0;
  }

  /* Hero */
  .hero {
    min-height: 520px;
  }

  .hero-bg::before {
    width: 100%;
    clip-path: none;
    opacity: 0.88;
  }

  .hero-bg::after {
    display: none;
  }

  .hero-label {
    font-size: 0.7rem;
    padding: 5px 12px;
    margin-bottom: 16px;
    letter-spacing: 2px;
  }

  .hero-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    margin-bottom: 16px;
  }

  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.6;
  }

  .hero-shape-1 {
    width: 120px;
    height: 120px;
  }

  .hero-shape-2 {
    width: 70px;
    height: 70px;
  }

  .hero-nav {
    gap: 12px;
    bottom: 16px;
  }

  .hero-counter {
    font-size: 0.75rem;
  }

  .hero-dot {
    width: 24px;
  }

  .hero-dot.active {
    width: 40px;
  }

  /* Buttons */
  .btn {
    padding: 10px 20px;
    font-size: 0.82rem;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  /* Sectors */
  .sectors-grid {
    grid-template-columns: 1fr;
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
    gap: 32px;
  }

  .team-card {
    padding: 24px 16px 20px;
    margin-top: 40px;
  }

  .team-photo {
    width: 90px;
    height: 90px;
    margin-top: -70px;
  }

  /* Team modal */
  .team-modal {
    max-height: 95vh;
    margin: 8px;
  }

  .team-modal-photo img {
    min-height: 200px;
    max-height: 250px;
  }

  .team-modal-info {
    padding: 24px 20px;
  }

  .team-modal-info h3 {
    font-size: 1.15rem;
  }

  .team-modal-bio {
    font-size: 0.88rem;
  }

  .btn-linkedin {
    font-size: 0.8rem;
    padding: 8px 18px;
    width: 100%;
    justify-content: center;
  }

  /* Clients */
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .client-logo {
    height: 80px;
    padding: 10px;
  }

  /* Srv stats */
  .srv-stats {
    grid-template-columns: 1fr;
  }

  .srv-stat-number {
    font-size: 1.35rem;
  }

  .srv-feature-img {
    height: 200px;
  }

  .srv-feature-content h2 {
    font-size: 1.3rem;
  }

  .srv-support-card {
    padding: 24px;
  }

  /* Page hero */
  .page-hero {
    padding: 110px 0 48px;
  }

  .page-hero::before {
    width: 100%;
    clip-path: none;
    opacity: 0.88;
  }

  .page-hero::after {
    display: none;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }

  /* Quote */
  .quote-text {
    font-size: 1rem;
  }

  .quote-section {
    padding: 40px 0;
  }

  /* Value cards */
  .value-card {
    padding: 24px 20px;
  }

  /* Sanctions */
  .sanction-amount {
    font-size: 1.35rem;
  }

  .sanction-body {
    padding: 20px;
  }

  .sanction-full-header .amount {
    font-size: 1.5rem;
  }

  /* Info box */
  .info-box {
    padding: 20px;
  }

  .info-box ul li {
    font-size: 0.85rem;
  }

  /* Enfoque */
  .enfoque-card {
    padding: 24px 20px;
  }

  .enfoque-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .enfoque-card h4 {
    font-size: 1.05rem;
  }

  /* Concept */
  .concept-card {
    padding: 24px 20px;
  }

  .concept-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  /* Tables */
  .obligados-table th,
  .obligados-table td {
    padding: 10px 12px;
    font-size: 0.78rem;
  }

  /* Contact */
  .contact-form {
    padding: 24px 20px;
  }

  .contact-info h2 {
    font-size: 1.4rem;
  }

  /* Footer */
  .footer {
    padding: 40px 0 0;
  }

  .footer-bottom {
    font-size: 0.78rem;
  }

  /* Support */
  .support-card {
    padding: 24px;
  }

  /* Diferencial */
  .diferencial-card {
    padding: 28px 20px;
  }

  /* Urgency banner */
  .urgency-banner p {
    font-size: 0.78rem;
  }

  .urgency-banner .btn {
    width: 100%;
    justify-content: center;
  }

  /* WhatsApp & back to top */
  .whatsapp-float {
    width: 46px;
    height: 46px;
    bottom: 20px;
    right: 16px;
    font-size: 1.2rem;
  }

  .back-to-top {
    bottom: 76px;
    right: 16px;
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}

/* ---------- 30. Mobile Menu Overlay ---------- */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(38, 125, 156, 0.25);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
