@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --background: #ffffff;
  --foreground: #1e2a38;
  --primary: #00a0aa;
  --primary-dark: #007f80;
  --primary-foreground: #ffffff;
  --muted: #f0f6f6;
  --muted-foreground: #5e7a7a;
  --border: #e2e8f0;
  --card: #ffffff;
  --accent: #00b8c4;
  --radius: 0.5rem;
  --card-shadow: 0 10px 40px -10px rgba(0,160,170,0.15);
  --card-shadow-hover: 0 20px 50px -10px rgba(0,160,170,0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.font-heading { font-family: 'Montserrat', sans-serif; }

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #00ccd6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all 0.5s;
  padding: 1rem 0;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 0.5rem 0;
}
.navbar .nav-inner { display: flex; align-items: center; justify-content: space-between; }
.navbar .logo img { height: 5rem; width: auto; transition: height 0.5s; }
.navbar.scrolled .logo img { height: 4rem; }
.navbar .nav-links { display: flex; gap: 2rem; }
.navbar .nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500; font-size: 0.9rem;
  color: var(--background);
  transition: color 0.3s;
  position: relative; padding-bottom: 4px;
}
.navbar.scrolled .nav-links a { color: var(--foreground); }
.navbar .nav-links a:hover { color: var(--primary); }
.navbar .nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px; background: var(--primary);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.navbar .nav-links a:hover::after { transform: scaleX(1); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--background); margin: 5px 0; transition: 0.3s; }
.navbar.scrolled .mobile-toggle span { background: var(--foreground); }
.mobile-menu { display: none; }

@media (max-width: 768px) {
  .navbar .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .mobile-menu.active {
    display: block; background: var(--card);
    border-radius: 0.5rem; padding: 1rem; margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid var(--border);
  }
  .mobile-menu a {
    display: block; padding: 0.75rem 0; color: var(--foreground);
    font-family: 'Montserrat', sans-serif; font-weight: 500;
    transition: all 0.3s;
  }
  .mobile-menu a:hover { color: var(--primary); transform: translateX(8px); }
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg .overlay { position: absolute; inset: 0; background: rgba(0,160,170,0.65); }
.hero-bg .blur-layer { position: absolute; inset: 0; backdrop-filter: blur(1px); }
.hero-bg .gradient-layer {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,160,170,0.5) 0%, transparent 50%, rgba(0,160,170,0.7) 100%);
}
.hero-content { position: relative; z-index: 10; text-align: center; }
.hero-content .hero-logo { height: 16rem; width: auto; margin: 0 auto 1rem; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3)); }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-buttons a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: 0.9rem; text-transform: uppercase;
  color: white; padding: 0.75rem 1.5rem;
  backdrop-filter: blur(4px); transition: all 0.3s;
}
.hero-buttons a:hover { background: rgba(255,255,255,0.1); }
.hero-buttons a.bordered { border: 1px solid rgba(255,255,255,0.6); }
.hero .scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
}
.hero .scroll-indicator .mouse {
  width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.5);
  border-radius: 999px; display: flex; justify-content: center; padding-top: 8px;
}
.hero .scroll-indicator .mouse .dot {
  width: 4px; height: 8px; background: rgba(255,255,255,0.7); border-radius: 999px;
  animation: pulse 2s infinite;
}
.hero .fade-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 18rem;
  background: linear-gradient(to top, var(--background), transparent);
}

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes bounce { 0%,100% { transform: translateY(0) translateX(-50%); } 50% { transform: translateY(-8px) translateX(-50%); } }

@media (max-width: 640px) {
  .hero-content .hero-logo { height: 8rem; }
}

/* ===== ABOUT ===== */
.about { padding: 3rem 0 4rem; position: relative; overflow: hidden; }
.about .wave-bg {
  position: absolute; inset: 0; opacity: 0.35;
  background-size: cover; background-position: center;
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-bottom: 4rem; }
.about-label { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--primary); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 1rem; }
.about h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2.5rem; text-transform: uppercase; letter-spacing: -0.02em; margin-bottom: 1.5rem; line-height: 1.1; }
.about p { color: var(--muted-foreground); font-size: 1rem; line-height: 1.8; margin-bottom: 1rem; text-align: justify; }
.about p strong { color: var(--foreground); font-weight: 600; }

.highlights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 1.5rem; }
.highlight-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 500; color: var(--foreground); }
.highlight-item .check { color: var(--primary); font-size: 1.1rem; }

.about-slider { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.about-slider img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: opacity 1s; }
.about-slider img.hidden { opacity: 0; }
.about-slider .corner-tl { position: absolute; top: 0; left: 0; width: 4rem; height: 4rem; border-left: 4px solid var(--primary); border-top: 4px solid var(--primary); }
.about-slider .corner-br { position: absolute; bottom: 0; right: 0; width: 4rem; height: 4rem; border-right: 4px solid var(--primary); border-bottom: 4px solid var(--primary); }
.slider-controls { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem; display: flex; align-items: center; justify-content: space-between; }
.slider-btn { width: 40px; height: 40px; background: rgba(255,255,255,0.8); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.2rem; color: var(--foreground); transition: 0.3s; }
.slider-btn:hover { background: var(--background); }
.slider-dots { display: flex; gap: 0.5rem; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--border); background: rgba(255,255,255,0.7); cursor: pointer; transition: 0.3s; }
.slider-dot.active { background: var(--primary); }
.equipe-badge {
  position: absolute; bottom: -2rem; left: -2rem;
  background: var(--primary); color: var(--primary-foreground);
  padding: 1.5rem 2rem;
}
.equipe-badge span:first-child { display: block; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2.5rem; }
.equipe-badge span:last-child { font-family: 'Montserrat', sans-serif; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; opacity: 0.9; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.value-card {
  border: 2px solid var(--border); padding: 2.5rem;
  transition: all 0.5s; position: relative; overflow: hidden; background: var(--card);
}
.value-card:hover { border-color: rgba(0,160,170,0.5); transform: translateY(-12px); box-shadow: var(--card-shadow-hover); }
.value-card .accent-bar { position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: var(--primary); transform: scaleY(0); transition: transform 0.5s; transform-origin: top; }
.value-card:hover .accent-bar { transform: scaleY(1); }
.value-card .icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1.5rem; transition: transform 0.5s; }
.value-card:hover .icon { transform: scale(1.1) rotate(3deg); }
.value-card h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.value-card .divider { width: 3rem; height: 2px; background: rgba(0,160,170,0.3); margin-bottom: 1rem; transition: all 0.7s; }
.value-card:hover .divider { width: 100%; background: var(--primary); }
.value-card p { color: var(--muted-foreground); font-size: 0.9rem; line-height: 1.7; }

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .equipe-badge { bottom: -1rem; left: 0.5rem; padding: 1rem 1.5rem; }
  .equipe-badge span:first-child { font-size: 1.5rem; }
}
@media (max-width: 768px) {
  .about h2 { font-size: 1.5rem; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ===== SOLUTIONS ===== */
.solutions { padding: 3rem 0 4rem; position: relative; overflow: hidden; }
.solutions .wave-bg {
  position: absolute; inset: 0; opacity: 0.25;
  background-size: cover; background-position: bottom center;
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}
.solutions .section-header { max-width: 56rem; margin: 0 auto 3rem; text-align: center; }
.solutions .section-header .label-line { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.solutions .section-header .label-line .line { flex: 1; height: 1px; background: var(--border); }
.solutions .section-header .label-line span { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.8rem; color: var(--primary); text-transform: uppercase; letter-spacing: 0.3em; }
.solutions .section-header h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2.5rem; text-transform: uppercase; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.solutions .section-header p { color: var(--muted-foreground); font-size: 1rem; max-width: 40rem; margin: 0 auto; }
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; z-index: 1; }
.solution-card {
  border: 2px solid var(--border); padding: 2.5rem;
  transition: all 0.5s; position: relative; overflow: hidden; background: var(--card);
}
.solution-card:hover { border-color: rgba(0,160,170,0.5); transform: translateY(-12px); box-shadow: var(--card-shadow-hover); }
.solution-card .accent-bar { position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: var(--primary); transform: scaleY(0); transition: transform 0.5s; transform-origin: top; }
.solution-card:hover .accent-bar { transform: scaleY(1); }
.solution-card .icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1.5rem; transition: transform 0.5s; }
.solution-card:hover .icon { transform: scale(1.1) rotate(6deg); }
.solution-card h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; line-height: 1.4; }
.solution-card .divider { width: 3rem; height: 2px; background: rgba(0,160,170,0.3); margin-bottom: 1rem; transition: all 0.7s; }
.solution-card:hover .divider { width: 100%; background: var(--primary); }
.solution-card p { color: var(--muted-foreground); font-size: 0.8rem; line-height: 1.7; }

@media (max-width: 1024px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .solutions-grid { grid-template-columns: 1fr; } .solutions .section-header h2 { font-size: 1.5rem; } }

/* ===== PROJECTS ===== */
.projects { position: relative; overflow: hidden; }
.projects-inner { display: flex; min-height: 500px; }
.projects-left {
  width: 35%; position: relative; z-index: 10;
  background: rgba(30,42,56,0.9); display: flex; flex-direction: column;
  justify-content: center; padding: 3rem 4rem;
}
.projects-left .label { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.2em; font-size: 1.5rem; margin-bottom: 0.5rem; }
.projects-left h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2.5rem; color: var(--background); text-transform: uppercase; margin-bottom: 1rem; line-height: 1.1; }
.projects-left .desc { color: rgba(255,255,255,0.8); font-size: 0.95rem; line-height: 1.7; margin-bottom: 2rem; background: #323943; padding: 0.5rem; }
.project-nav { display: flex; gap: 0.5rem; }
.project-nav button {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.2rem; transition: all 0.3s;
}
.project-nav .prev-btn { background: var(--background); color: var(--foreground); border: none; }
.project-nav .next-btn { background: transparent; color: var(--background); border: 2px solid rgba(255,255,255,0.5); }
.project-nav button:hover { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }

.projects-right { width: 65%; position: relative; overflow: hidden; }
.projects-right .overlay { position: absolute; inset: 0; background: rgba(30,42,56,0.85); }
.projects-cards { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); height: 100%; }
.project-card { position: relative; overflow: hidden; cursor: pointer; min-height: 300px; border-right: 1px solid rgba(255,255,255,0.1); }
.project-card:last-child { border-right: none; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.project-card:hover img { transform: scale(1.1); }
.project-card .gradient { position: absolute; bottom: 0; left: 0; right: 0; height: 10rem; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 40%, transparent 100%); }
.project-card .info { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; }
.project-card .info h3 { color: var(--background); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.project-card .info p { color: rgba(255,255,255,0.6); font-family: 'Montserrat', sans-serif; font-size: 0.7rem; margin-top: 0.25rem; letter-spacing: 0.03em; }
.project-card .hover-overlay { position: absolute; inset: 0; background: rgba(0,160,170,0); transition: background 0.5s; }
.project-card:hover .hover-overlay { background: rgba(0,160,170,0.2); }

@media (max-width: 1024px) {
  .projects-inner { flex-direction: column; }
  .projects-left { width: 100%; padding: 2rem; }
  .projects-left h2 { font-size: 1.5rem; }
  .projects-right { width: 100%; min-height: 300px; }
  .projects-cards { grid-template-columns: 1fr; }
  .project-card:nth-child(n+2) { display: none; }
}

/* ===== MAP ===== */
.map-section { background: var(--foreground); padding-top: 4rem; }
.map-section .section-header { text-align: center; margin-bottom: 2rem; }
.map-section .label { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.15em; font-size: 1.1rem; margin-bottom: 0.5rem; }
.map-section h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--background); text-transform: uppercase; }
.map-section p { color: rgba(255,255,255,0.7); max-width: 36rem; margin: 0.5rem auto 0; font-size: 0.9rem; }
.map-container { width: 100%; height: 190px; overflow: hidden; border-radius: 0.375rem; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ===== CLIENTS ===== */
.clients { padding: 3rem 0 5rem; position: relative; overflow: hidden; }
.clients .wave-bg {
  position: absolute; inset: 0; opacity: 0.2;
  background-size: cover; background-position: center;
  mask-image: linear-gradient(to bottom, transparent 5%, black 25%, black 75%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 5%, black 25%, black 75%, transparent 95%);
}
.clients .section-header { text-align: center; max-width: 48rem; margin: 0 auto 3rem; position: relative; z-index: 1; }
.clients .section-header .label { font-family: 'Montserrat', sans-serif; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; }
.clients .section-header h2 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 2.5rem; margin-top: 0.5rem; margin-bottom: 1rem; }
.clients .section-header p { color: var(--muted-foreground); font-size: 1rem; }
.clients-logos { background: var(--background); border-radius: 1rem; padding: 2rem; box-shadow: var(--card-shadow); max-width: 56rem; margin: 0 auto; position: relative; z-index: 1; }
.clients-logos img { width: 100%; height: auto; }

/* ===== CONTACT ===== */
.contact { position: relative; overflow: hidden; background: var(--foreground); }
.contact .gradient-transition {
  position: absolute; top: -8rem; left: 0; right: 0; height: 10rem;
  background: linear-gradient(to bottom, var(--background) 0%, var(--foreground) 100%);
  pointer-events: none; z-index: 10;
}
.contact-inner { padding: 8rem 0 4rem; position: relative; }
.contact .wave-bg {
  position: absolute; inset: 0; opacity: 0.15;
  background-size: cover; background-position: top center;
}
.contact .section-header { text-align: center; max-width: 48rem; margin: 0 auto 3rem; position: relative; z-index: 1; }
.contact .section-header .label-line { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1rem; }
.contact .section-header .label-line .line { width: 3rem; height: 1px; background: rgba(0,160,170,0.4); }
.contact .section-header .label-line span { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.75rem; }
.contact .section-header h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2.5rem; color: var(--primary-foreground); text-transform: uppercase; }
.contact .section-header h2 span { color: var(--primary); }
.contact .section-header p { color: rgba(255,255,255,0.6); font-size: 1rem; margin-top: 1rem; }
.contact-cards { display: flex; max-width: 56rem; margin: 0 auto; position: relative; z-index: 1; }
.contact-card { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; padding: 2rem 1.5rem; }
.contact-card + .contact-card { border-left: 1px solid rgba(0,160,170,0.2); }
.contact-card .icon-circle { width: 3rem; height: 3rem; border-radius: 50%; background: rgba(0,160,170,0.1); display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.contact-card:hover .icon-circle { background: var(--primary); transform: scale(1.1); }
.contact-card .icon-circle svg { width: 20px; height: 20px; color: var(--primary); transition: color 0.3s; }
.contact-card:hover .icon-circle svg { color: var(--primary-foreground); }
.contact-card h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--primary-foreground); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.contact-card p { color: rgba(255,255,255,0.7); font-size: 0.85rem; white-space: pre-line; line-height: 1.6; }

@media (max-width: 640px) {
  .contact-cards { flex-direction: column; }
  .contact-card + .contact-card { border-left: none; border-top: 1px solid rgba(0,160,170,0.2); }
  .contact .section-header h2 { font-size: 1.5rem; }
}

/* ===== FOOTER ===== */
.site-footer { position: relative; overflow: hidden; }
.site-footer .bg { position: absolute; inset: 0; }
.site-footer .bg img { width: 100%; height: 100%; object-fit: cover; }
.site-footer .bg .overlay { position: absolute; inset: 0; background: rgba(30,42,56,0.9); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem; padding: 3rem 0; position: relative; z-index: 1; }
.footer-grid .logo-col img { height: 3.5rem; width: auto; margin-bottom: 0.75rem; }
.footer-grid .logo-col p { color: rgba(255,255,255,0.6); font-size: 0.8rem; }
.footer-grid h4 { color: var(--background); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-grid ul li { margin-bottom: 0.5rem; }
.footer-grid ul li a { color: rgba(255,255,255,0.7); font-size: 0.8rem; transition: color 0.3s; }
.footer-grid ul li a:hover { color: var(--primary); }
.footer-grid .contact-col p { color: rgba(255,255,255,0.7); font-size: 0.8rem; line-height: 1.6; }
.footer-grid .contact-col .label { color: var(--background); font-weight: 500; font-size: 0.8rem; margin-bottom: 0.25rem; margin-top: 1rem; }
.footer-grid .contact-col .label:first-child { margin-top: 0; }
.social-links { display: flex; gap: 0.75rem; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.social-links a:hover { background: var(--primary); }
.social-links a svg { width: 18px; height: 18px; color: var(--background); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== SUBPAGES (Política / Canal) ===== */
.subpage-hero {
  position: relative; display: flex; align-items: center; justify-content: center;
  overflow: hidden; min-height: 340px;
}
.subpage-hero .bg { position: absolute; inset: 0; }
.subpage-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.subpage-hero .bg .overlay { position: absolute; inset: 0; background: rgba(0,160,170,0.65); }
.subpage-hero .bg .blur-layer { position: absolute; inset: 0; backdrop-filter: blur(1px); }
.subpage-hero .bg .gradient-layer { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,160,170,0.5) 0%, transparent 50%, rgba(0,160,170,0.7) 100%); }
.subpage-hero .topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 20; padding: 1.25rem 0; }
.subpage-hero .topbar .inner { display: flex; align-items: center; justify-content: space-between; }
.subpage-hero .topbar .logo img { height: 5rem; width: auto; }
.subpage-hero .topbar .back { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.7); font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 0.85rem; transition: color 0.3s; }
.subpage-hero .topbar .back:hover { color: white; }
.subpage-hero .title-area { position: relative; z-index: 10; text-align: center; padding: 0 1rem; max-width: 56rem; }
.subpage-hero .title-area .label-line { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.subpage-hero .title-area .label-line .line { flex: 1; height: 1px; background: rgba(255,255,255,0.3); }
.subpage-hero .title-area .label-line span { color: rgba(255,255,255,0.8); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.3em; }
.subpage-hero .title-area h1 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2.5rem; text-transform: uppercase; }
.subpage-hero .title-area h1 .white { color: white; }
.subpage-hero .title-area h1 .gradient { background: linear-gradient(135deg, hsl(185,100%,65%) 0%, hsl(185,100%,80%) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.subpage-hero .title-area .divider { margin: 1.25rem auto 0; width: 5rem; height: 3px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.5), transparent); }
.subpage-hero .fade-bottom { position: absolute; bottom: 0; left: 0; right: 0; height: 6rem; background: linear-gradient(to top, var(--background), transparent); }

.subpage-content { padding: 3.5rem 0 5rem; }
.subpage-content .inner { max-width: 48rem; margin: 0 auto; padding: 0 1rem; }
.subpage-content p { color: rgba(30,42,56,0.75); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }
.subpage-content p strong { color: var(--foreground); }
.subpage-content .border-left-block { border-left: 4px solid var(--primary); padding-left: 1.5rem; margin-bottom: 3rem; }
.subpage-content .section-label { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--primary); margin-bottom: 1.5rem; }
.subpage-content .principles-list { margin-bottom: 3rem; }
.subpage-content .principle-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.subpage-content .principle-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); margin-top: 0.5rem; flex-shrink: 0; }
.subpage-content .principle-item p { margin: 0; }
.subpage-content .mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.subpage-content .mvv-card h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.85rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.subpage-content .mvv-card h3 svg { color: var(--primary); width: 16px; height: 16px; }
.subpage-content .mvv-card p { color: rgba(30,42,56,0.65); font-size: 0.8rem; }
.subpage-content .docs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.subpage-content .doc-card { display: flex; align-items: center; gap: 1rem; border: 1px solid var(--border); border-radius: 0.5rem; padding: 1rem; transition: border-color 0.3s; }
.subpage-content .doc-card:hover { border-color: rgba(0,160,170,0.4); }
.subpage-content .doc-card svg { color: var(--primary); flex-shrink: 0; width: 20px; height: 20px; }
.subpage-content .doc-card .title { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.85rem; }
.subpage-content .doc-card .subtitle { color: rgba(30,42,56,0.4); font-size: 0.75rem; }
.subpage-content .contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.5rem; }

.subpage-footer { background: var(--foreground); padding: 1.5rem 0; text-align: center; }
.subpage-footer p { color: rgba(255,255,255,0.6); font-size: 0.8rem; }

@media (max-width: 640px) {
  .subpage-hero .title-area h1 { font-size: 1.5rem; }
  .subpage-content .mvv-grid { grid-template-columns: 1fr; }
  .subpage-content .docs-grid { grid-template-columns: 1fr; }
  .subpage-content .contact-grid { grid-template-columns: 1fr; }
}
