/* ============================================
   VPI — Value Partners
   Modern Glassmorphism Design System
   ============================================ */

/* ====== CSS VARIABLES ====== */
:root {
  /* Colors */
  --color-bg: #050d1a;
  --color-bg-alt: #0a1628;
  --color-surface: #0f1f35;
  --color-surface-hover: #152a45;
  --color-text: #e8edf4;
  --color-text-muted: #8a9bb5;
  --color-text-dim: #5a6d87;
  --color-accent: #c9a96e;
  --color-accent-light: #dfc291;
  --color-accent-dark: #a78a4e;
  --color-glass: rgba(15, 31, 53, 0.6);
  --color-glass-border: rgba(201, 169, 110, 0.12);
  --color-glass-border-hover: rgba(201, 169, 110, 0.25);
  --color-white: #ffffff;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: 120px;
  --container-width: 1200px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Glass */
  --glass-blur: 20px;
  --glass-bg: rgba(15, 31, 53, 0.55);
  --glass-border: 1px solid rgba(201, 169, 110, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ====== 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);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

em {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-accent);
}

::selection {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* ====== UTILITIES ====== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-base);
}

.glass-card:hover {
  border-color: var(--color-glass-border-hover);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.glass-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(201, 169, 110, 0.08);
  border: 1px solid rgba(201, 169, 110, 0.12);
  color: var(--color-accent);
  flex-shrink: 0;
  transition: var(--transition-base);
}

.glass-icon:hover {
  background: rgba(201, 169, 110, 0.15);
  border-color: rgba(201, 169, 110, 0.25);
}

/* Section Headers */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.label-line {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  line-height: 1.8;
}

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

.section-header.text-center .section-label {
  justify-content: center;
}

.section-header.text-center .section-subtitle {
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  white-space: nowrap;
}

.btn i,
.btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-base);
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-bg);
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.25);
}

.btn--primary:hover {
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.4);
  transform: translateY(-2px);
}

.btn--glass {
  background: rgba(201, 169, 110, 0.08);
  color: var(--color-accent);
  border: 1px solid rgba(201, 169, 110, 0.2);
}

.btn--glass:hover {
  background: rgba(201, 169, 110, 0.15);
  border-color: rgba(201, 169, 110, 0.35);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1rem;
}

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

/* ====== REVEAL ANIMATIONS ====== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* ====== NAVBAR ====== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-base);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(5, 13, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.08);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-mark {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -1px;
}

.logo-v { color: var(--color-white); }
.logo-p { color: var(--color-white); }
.logo-i {
  color: var(--color-accent);
  font-style: italic;
}

/* Navbar slogan next to logo */
.nav-slogan {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--color-text-dim);
  letter-spacing: 0.4px;
  margin-left: 4px;
  transition: var(--transition-base);
}

.nav-slogan__sep {
  display: block;
  width: 1px;
  height: 20px;
  background: rgba(201, 169, 110, 0.25);
  flex-shrink: 0;
}

.navbar.scrolled .nav-slogan {
  color: var(--color-text-muted);
}

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

.nav-link {
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.nav-link:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link--cta {
  margin-left: 8px;
  color: var(--color-accent);
  border: 1px solid rgba(201, 169, 110, 0.25);
  font-weight: 500;
}

.nav-link--cta:hover {
  background: rgba(201, 169, 110, 0.1);
  border-color: rgba(201, 169, 110, 0.4);
  color: var(--color-accent-light);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition-base);
}

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

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

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

/* ====== HERO ====== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 90px 24px 48px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 20s ease-in-out infinite;
}

.hero-orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.15), transparent 70%);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26, 58, 92, 0.4), transparent 70%);
  bottom: -10%;
  left: -5%;
  animation-delay: -7s;
}

.hero-orb--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.08), transparent 70%);
  top: 50%;
  left: 40%;
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(15px, 15px) scale(1.02); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 169, 110, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 110, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---- Hero Side-by-Side Layout ---- */
.hero-layout {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 56px;
}

.hero-left {
  flex-shrink: 0;
}

.hero-right {
  flex: 1;
  padding-left: clamp(40px, 5vw, 80px);
  border-left: 1px solid rgba(201, 169, 110, 0.1);
  margin-left: clamp(40px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 20px;
}

/* ---- VPI Acronym Typography ---- */
.vpi-acronym {
  display: flex;
  flex-direction: column;
}

.vpi-line {
  display: flex;
  align-items: baseline;
  line-height: 1.08;
  font-size: clamp(3.5rem, 7.5vw, 6.5rem);
}

/* Staggered horizontal offset — larger cascade */
.vpi-line:nth-child(2) {
  padding-left: clamp(1.8rem, 4vw, 4rem);
}

.vpi-line:nth-child(3) {
  padding-left: clamp(3.6rem, 8vw, 8rem);
}

.vpi-letter {
  font-weight: 700;
  color: var(--color-white);
  display: inline;
  font-size: inherit;
}

.vpi-letter--accent {
  color: var(--color-accent);
  font-style: italic;
}

.vpi-word {
  font-weight: 400;
  color: var(--color-white);
  font-size: inherit;
}

.vpi-line--cycling {
  position: relative;
}

/* ---- Cycling Animation (inline-grid for perfect baseline alignment) ---- */
.vpi-cycling-wrapper {
  display: inline-grid;
  vertical-align: baseline;
  font-size: inherit;
}

.vpi-cycling__word {
  grid-area: 1 / 1;
  font-size: inherit;
  font-weight: 400;
  font-style: italic;
  line-height: inherit;
  color: var(--color-accent);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  filter: blur(6px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter  0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

.vpi-cycling__word--active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.vpi-cycling__word--exit {
  opacity: 0;
  transform: translateY(-8px);
  filter: blur(6px);
}

/* Subtle accent underline for the cycling line */
.vpi-line--cycling::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent) 0%, transparent 80%);
  opacity: 0.12;
  border-radius: 1px;
}

/* ---- Hero subtitle under VPI ---- */
.hero-subtitle {
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  color: var(--color-text-muted);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 0;
  margin-top: 4px;
}

/* ---- Hero stats on right ---- */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat__number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.hero-stat__suffix {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-accent);
}

.hero-stat__label {
  font-size: 0.82rem;
  color: var(--color-text-dim);
  margin-top: 4px;
  letter-spacing: 0.3px;
  max-width: 220px;
  line-height: 1.4;
}

.hero-stat__divider {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 169, 110, 0.2), transparent);
}

/* ---- Hero bottom — centered buttons ---- */
.hero-bottom {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

.hero-scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-dim);
  writing-mode: vertical-lr;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ====== ABOUT ====== */
.about {
  background:
    radial-gradient(ellipse at 0% 50%, rgba(201, 169, 110, 0.03) 0%, transparent 50%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.1);
}

.about-image-placeholder svg {
  width: 100%;
  height: auto;
  display: block;
}

.about-float-card {
  position: absolute;
  bottom: 24px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

.about-float-card--top {
  bottom: auto;
  left: auto;
  top: 24px;
  right: -20px;
  animation-delay: -3s;
}

.about-float-card i,
.about-float-card svg {
  color: var(--color-accent);
  width: 24px;
  height: 24px;
}

.about-float-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-white);
}

.about-float-card span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

.about-text strong {
  color: var(--color-text);
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.value-item h4 {
  font-size: 0.95rem;
  color: var(--color-white);
  font-weight: 600;
  margin-bottom: 2px;
}

.value-item p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.value-icon i,
.value-icon svg {
  width: 20px;
  height: 20px;
}

/* ====== PARTNERS ====== */
.partners {
  background:
    radial-gradient(ellipse at 100% 50%, rgba(26, 58, 92, 0.15) 0%, transparent 60%);
}

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

.partner-card {
  padding: 0;
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  overflow: hidden;
  position: relative;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0.2;
}

.partner-photo {
  position: relative;
  overflow: hidden;
}

.partner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  min-height: 420px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Eduardo's image: he occupies bottom-center of image */
.partner-card:nth-child(2) .partner-photo img {
  object-position: center 30%;
}

.partner-card:hover .partner-photo img {
  transform: scale(1.03);
}

/* Subtle gradient overlay on photo */
.partner-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(5, 13, 26, 0.4), transparent);
  pointer-events: none;
}

.partner-info {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.partner-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 4px;
}

.partner-role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.partner-bio {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.partner-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
}

.social-link i,
.social-link svg {
  width: 18px;
  height: 18px;
}

/* ====== SERVICES ====== */
.services {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 169, 110, 0.04) 0%, transparent 50%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  padding: 40px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(201, 169, 110, 0.06);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.1), rgba(201, 169, 110, 0.05));
  margin-bottom: 24px;
}

.service-icon i,
.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 12px;
}

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

.service-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  margin-top: 24px;
  opacity: 0.4;
  transition: var(--transition-base);
}

.service-card:hover .service-line {
  width: 60px;
  opacity: 0.7;
}

/* ====== PORTFOLIO ====== */
.portfolio {
  background:
    radial-gradient(ellipse at 0% 100%, rgba(26, 58, 92, 0.12) 0%, transparent 50%);
}

/* Featured Project */
.portfolio-featured {
  margin-bottom: 48px;
}

.featured-card {
  padding: 0;
  overflow: hidden;
  position: relative;
}

/* Full-width stacked layout: carousel top, content bottom */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.featured-visual {
  position: relative;
  overflow: hidden;
}

/* ---- Paradiso Carousel ---- */
.paradiso-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.paradiso-carousel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--color-bg-alt);
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.paradiso-carousel__slide--active {
  opacity: 1;
  transform: scale(1);
}

/* Dark vignette for better dots visibility */
.paradiso-carousel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 13, 26, 0.45) 0%, transparent 25%);
  pointer-events: none;
  z-index: 1;
}

.paradiso-carousel__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.paradiso-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.paradiso-carousel__dot--active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  width: 28px;
  border-radius: 4px;
}

/* Featured content below carousel */
.featured-content {
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
}

.featured-content-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

.featured-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.featured-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 6px;
}

.featured-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 16px;
}

.featured-content > p {
  font-size: 0.93rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.featured-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.featured-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.featured-highlights i,
.featured-highlights svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  padding: 0;
  overflow: hidden;
  transition: var(--transition-base);
}

.portfolio-card:hover {
  transform: translateY(-4px);
}

.portfolio-card-image {
  height: 200px;
  overflow: hidden;
}

.portfolio-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-bg-alt), var(--color-surface));
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-placeholder i,
.portfolio-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  opacity: 0.2;
}

.portfolio-card-content {
  padding: 28px;
}

.portfolio-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.portfolio-card-content h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-white);
  margin-bottom: 8px;
}

.portfolio-card-content p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ====== CTA ====== */
.cta-section {
  padding: 80px 0;
}

.cta-card {
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201, 169, 110, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(26, 58, 92, 0.1) 0%, transparent 50%);
}

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

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto 32px;
}

/* ====== CONTACT ====== */
.contact {
  background:
    radial-gradient(ellipse at 100% 100%, rgba(201, 169, 110, 0.04) 0%, transparent 50%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon i,
.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-white);
  margin-bottom: 2px;
}

.contact-item span {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

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

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

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

.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text);
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid rgba(201, 169, 110, 0.1);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition-base);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-dim);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(201, 169, 110, 0.35);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.08);
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a9bb5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.contact-form select option {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

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

.contact-form .btn {
  margin-top: 8px;
}

/* ====== FOOTER ====== */
.footer {
  padding: 80px 0 0;
  border-top: 1px solid rgba(201, 169, 110, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.logo-mark--footer {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-accent) !important;
  font-size: 0.85rem !important;
  margin-top: 4px;
}

.footer-links-group h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

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

.footer-links-group a,
.footer-links-group li {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.footer-links-group a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(201, 169, 110, 0.06);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .hero-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .hero-right {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    border-top: 1px solid rgba(201, 169, 110, 0.1);
    padding-top: 32px;
  }

  .hero-stats {
    flex-direction: row;
    gap: 32px;
    flex-wrap: wrap;
  }

  .hero-stat__divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(201, 169, 110, 0.2), transparent);
  }

  .partners-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin: 0 auto;
  }

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

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

  /* Hide slogan on smaller screens */
  .nav-slogan {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
  }

  /* Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-slogan {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(5, 13, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 24px;
    gap: 4px;
    transition: right var(--transition-base);
    border-left: 1px solid rgba(201, 169, 110, 0.08);
  }

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

  .nav-link {
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav-link--cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  /* Grids */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual {
    order: -1;
    max-width: 400px;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .partner-card {
    grid-template-columns: 0.4fr 1fr;
  }

  .partner-photo img {
    min-height: 340px;
  }

  /* Eduardo mobile: show more of his body, crop from bottom up */
  .partner-card:nth-child(2) .partner-photo img {
    object-position: center 35%;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  /* Hero */
  .hero-layout {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }

  .hero-right {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    border-top: 1px solid rgba(201, 169, 110, 0.1);
    padding-top: 28px;
  }

  .hero-stats {
    flex-direction: row;
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero-stat__number {
    font-size: 2.4rem;
  }

  .hero-stat__suffix {
    font-size: 1.5rem;
  }

  .hero-stat__label {
    font-size: 0.85rem;
    max-width: 180px;
  }

  .hero-stat__divider {
    display: none;
  }

  .hero-scroll-indicator {
    display: none;
  }

  /* CTA */
  .cta-card {
    padding: 48px 32px;
  }

  /* Featured */
  .featured-content {
    padding: 28px 24px;
  }

  .featured-highlights {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .vpi-line {
    font-size: 2.6rem !important;
  }

  .vpi-line:nth-child(2) { padding-left: 1rem !important; }
  .vpi-line:nth-child(3) { padding-left: 2rem !important; }

  .hero-stat__number {
    font-size: 2.2rem;
  }

  .hero-stat__suffix {
    font-size: 1.4rem;
  }

  .hero-stat__label {
    font-size: 0.82rem;
  }

  .partner-card {
    grid-template-columns: 1fr;
  }

  .partner-photo img {
    min-height: 280px;
    max-height: 340px;
  }

  /* Eduardo on very small screens */
  .partner-card:nth-child(2) .partner-photo img {
    object-position: center 40%;
  }

  .partner-info {
    padding: 28px 24px;
  }

  .contact-form {
    padding: 28px;
  }

  .hero-bottom .btn {
    width: 100%;
    justify-content: center;
  }
}
