/* ============================================================
   BISCONTI ASSICURAZIONI — Design System
   Minimal · Elegant · Professional
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --color-primary: #0A1628;
  --color-primary-light: #111D33;
  --color-primary-mid: #162440;
  --color-accent: #C9A84C;
  --color-accent-light: #D4B965;
  --color-accent-dark: #B8943A;
  --color-surface: #F8F7F4;
  --color-surface-alt: #F0EEE9;
  --color-white: #FFFFFF;
  --color-text-dark: #1A1A2E;
  --color-text-body: #3A3A4A;
  --color-text-muted: #6B6B7B;
  --color-text-light: rgba(255, 255, 255, 0.92);
  --color-text-light-muted: rgba(255, 255, 255, 0.6);
  --color-border: rgba(201, 168, 76, 0.2);
  --color-border-light: rgba(0, 0, 0, 0.06);
  --color-glass: rgba(10, 22, 40, 0.85);
  --color-glass-light: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;

  /* 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.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.16);
  --shadow-gold: 0 4px 30px rgba(201, 168, 76, 0.15);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.15);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50%;
}

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

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-dark);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p {
  max-width: 65ch;
  line-height: 1.8;
}

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

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

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

.section--dark {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--alt {
  background-color: var(--color-surface-alt);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-label::before,
.section-label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-accent);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  margin: 0 auto;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.section--dark .section-header p {
  color: var(--color-text-light-muted);
}

/* Emphasis in headings */
h2 em, h1 em {
  font-style: normal;
  font-weight: 800;
  color: var(--color-accent);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

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

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(201, 168, 76, 0.08);
}

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

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

.btn--ghost {
  padding: 0.5rem 0;
  color: var(--color-accent);
  font-weight: 600;
  border-radius: 0;
}

.btn--ghost::after {
  content: '→';
  transition: transform var(--transition-base);
}

.btn--ghost:hover::after {
  transform: translateX(4px);
}

.btn--whatsapp {
  background: #25D366;
  color: #fff;
}

.btn--whatsapp:hover {
  background: #20BD5B;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

/* Spin animation for loading */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.spin { animation: spin 1s linear infinite; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background: var(--color-glass);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar__name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.navbar__title {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 2px;
}

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

.navbar__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  letter-spacing: 0.02em;
  transition: color var(--transition-base);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--color-white);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 100%;
}

.navbar__cta {
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #0A1628 0%, #0D1B30 40%, #122240 70%, #0A1628 100%);
  overflow: hidden;
  padding: var(--space-3xl) 0;
}

/* Subtle dot pattern */
.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(201, 168, 76, 0.5) 1px, transparent 0);
  background-size: 40px 40px;
  z-index: 1;
}

/* Geometric grid lines */
.hero__grid-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.3) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
}

/* Glowing orbs */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
}

.hero__glow--1 {
  width: 500px;
  height: 500px;
  background: rgba(201, 168, 76, 0.12);
  top: -15%;
  right: -5%;
  animation: glowFloat 12s ease-in-out infinite alternate;
}

.hero__glow--2 {
  width: 400px;
  height: 400px;
  background: rgba(30, 58, 95, 0.25);
  bottom: -10%;
  left: -8%;
  animation: glowFloat 15s ease-in-out infinite alternate-reverse;
}

.hero__glow--3 {
  width: 300px;
  height: 300px;
  background: rgba(201, 168, 76, 0.06);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowFloat {
  0% { opacity: 0.6; transform: translateY(0) scale(1); }
  50% { opacity: 0.8; }
  100% { opacity: 0.5; transform: translateY(-30px) scale(1.1); }
}

@keyframes glowPulse {
  0% { opacity: 0.04; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.1; transform: translate(-50%, -50%) scale(1.3); }
  100% { opacity: 0.04; transform: translate(-50%, -50%) scale(1); }
}

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(10px);
  background: rgba(201, 168, 76, 0.05);
}

.hero__badge i {
  font-size: 0.75rem;
}

.hero h1 {
  color: var(--color-white);
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: 1.15;
}

.hero h1 em {
  font-style: normal;
  font-weight: 800;
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--color-text-light-muted);
  max-width: 580px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-light-muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
}

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

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  padding: var(--space-3xl) 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: start;
}

.about__content h2 {
  margin-bottom: var(--space-md);
}

/* About Photo */
.about__photo-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about__photo {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.about__photo-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.2rem;
  background: var(--color-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
}

.about__photo-badge i {
  font-size: 1.1rem;
}

.about__highlight-icon {
  color: var(--color-accent);
  font-size: 1.2rem;
  margin-right: 0.5rem;
  opacity: 0.5;
}

/* Stats Row */
.about__stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.about__text {
  color: var(--color-text-body);
  margin-bottom: var(--space-md);
  font-size: 1rem;
}

.about__highlight {
  padding: var(--space-md);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.02));
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: var(--space-lg);
  font-style: normal;
  font-weight: 400;
  color: var(--color-text-dark);
  line-height: 1.7;
}

.about__rui {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

.about__rui a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about__rui a:hover {
  color: var(--color-accent-dark);
}

.stat-card {
  background: var(--color-white);
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border);
}

.stat-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(201, 168, 76, 0.04));
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  font-size: 1.2rem;
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-card__label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  background: var(--color-surface-alt);
  padding: var(--space-3xl) 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.services__grid--bottom {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin: var(--space-md) auto 0;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

/* Service Card Image */
.service-card__image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.service-card:hover .service-card__image img {
  transform: scale(1.08);
}

.service-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.7), rgba(10, 22, 40, 0.1));
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1rem;
}

.service-card__image-overlay i {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.9);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.service-card__body {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

.service-card__tagline {
  font-size: 0.88rem;
  color: var(--color-accent-dark);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.service-card__features {
  list-style: none;
  margin-bottom: var(--space-md);
}

.service-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-body);
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.service-card__features li i {
  color: var(--color-accent);
  font-size: 0.7rem;
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.service-card__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-accent), #b8922e);
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-top: auto;
  transition: transform var(--transition-base), box-shadow var(--transition-base), gap var(--transition-base);
  letter-spacing: 0.02em;
}

.service-card__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
  gap: 0.9rem;
  color: var(--color-white);
}

.service-card__link i {
  font-size: 0.75rem;
  transition: transform var(--transition-base);
}

.service-card__link:hover i {
  transform: translateX(4px);
}

/* ============================================================
   GOLD CARE — SERVICE CARD (Inverted)
   ============================================================ */
.service-card--gold {
  background: linear-gradient(135deg, #0c1a2e 0%, #152a45 100%);
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.service-card--gold:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(201, 168, 76, 0.4);
}

.service-card--gold .service-card__title {
  color: #fff;
}

.service-card--gold .service-card__tagline {
  color: var(--color-accent);
}

.service-card--gold .service-card__desc {
  color: rgba(255, 255, 255, 0.8);
}

.service-card--gold .service-card__features li {
  color: rgba(255, 255, 255, 0.85);
}

.service-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  margin-bottom: var(--space-sm);
  width: fit-content;
}

.service-card__link--gold {
  background: linear-gradient(135deg, var(--color-accent), #d4b84a);
  color: #0a1628 !important;
}

.service-card__link--gold:hover {
  color: #0a1628 !important;
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

/* ============================================================
   PARTNERS CAROUSEL
   ============================================================ */
.partners {
  margin-top: var(--space-lg);
  overflow: hidden;
  position: relative;
}

.partners::before,
.partners::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.partners::before {
  left: 0;
  background: linear-gradient(to right, var(--color-surface-alt), transparent);
}

.partners::after {
  right: 0;
  background: linear-gradient(to left, var(--color-surface-alt), transparent);
}

.partners__track {
  display: flex;
  gap: var(--space-xl);
  animation: scrollPartners 30s linear infinite;
  width: max-content;
  padding: var(--space-md) 0;
}

.partners__track:hover {
  animation-play-state: paused;
}

@keyframes scrollPartners {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partners__slide {
  flex-shrink: 0;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 60px;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all var(--transition-base);
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.partner-logo img {
  max-height: 40px;
  max-width: 130px;
  object-fit: contain;
}

.partner-logo span {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.partner-logo:hover span {
  color: var(--color-accent);
}

/* ============================================================
   APPROACH SECTION
   ============================================================ */
.approach {
  background: linear-gradient(165deg, var(--color-primary) 0%, #0D1B30 100%);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.approach__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(30deg, rgba(201, 168, 76, 0.2) 1px, transparent 1px),
    linear-gradient(-30deg, rgba(201, 168, 76, 0.2) 1px, transparent 1px);
  background-size: 40px 70px;
}

.approach__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  position: relative;
}

.approach__steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(201, 168, 76, 0.3);
  background: rgba(201, 168, 76, 0.06);
  color: var(--color-accent);
  position: relative;
  z-index: 1;
  transition: all var(--transition-base);
}

.step:hover .step__number {
  background: rgba(201, 168, 76, 0.12);
  border-color: var(--color-accent);
  transform: scale(1.05);
}

.step__icon-fa {
  font-size: 1.6rem;
}

.step h3 {
  color: var(--color-white);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--color-text-light-muted);
  font-size: 0.92rem;
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.7;
}

.approach__quote {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.approach__quote blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-style: normal;
  font-weight: 300;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
  position: relative;
}

.approach__quote-icon {
  color: var(--color-accent);
  opacity: 0.3;
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.approach__quote cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  padding: var(--space-3xl) 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(201, 168, 76, 0.04));
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  font-size: 1rem;
}

.contact-item__content {
  display: flex;
  flex-direction: column;
}

.contact-item__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.contact-item__value {
  font-size: 0.95rem;
  color: var(--color-text-dark);
  font-weight: 500;
}

.contact-item__value a {
  color: var(--color-text-dark);
  transition: color var(--transition-fast);
}

.contact-item__value a:hover {
  color: var(--color-accent);
}

.contact__whatsapp {
  margin-top: var(--space-sm);
}

/* Social Links */
.contact__social {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--space-sm);
}

.social-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--color-surface-alt);
  color: var(--color-text-muted);
  transition: all var(--transition-base);
}

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

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

/* Form */
.contact__form {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-md);
}

.contact__form h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.contact__form h3 i {
  color: var(--color-accent);
  margin-right: 0.4rem;
}

.form-group label i {
  color: var(--color-accent);
  margin-right: 0.3rem;
  font-size: 0.75rem;
}

.contact__form > p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-dark);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
  background: var(--color-white);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-submit {
  margin-top: var(--space-md);
}

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

/* Map */
.contact__map {
  margin-top: var(--space-xl);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.contact__map iframe {
  width: 100%;
  height: 350px;
  border: 0;
  filter: saturate(0.8) contrast(1.1);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-primary);
  padding: var(--space-xl) 0 var(--space-md);
  color: var(--color-text-light-muted);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: var(--space-md);
}

.footer__brand {
  max-width: 350px;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.footer__brand-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--color-text-light-muted);
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--space-sm);
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-light-muted);
  font-size: 0.9rem;
  transition: all var(--transition-base);
}

.footer__social a:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}

.footer__link-group a i {
  font-size: 0.6rem;
  margin-right: 0.3rem;
  opacity: 0.5;
}

.footer__links {
  display: flex;
  gap: var(--space-xl);
}

.footer__link-group h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.footer__link-group ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link-group a {
  font-size: 0.85rem;
  color: var(--color-text-light-muted);
  transition: color var(--transition-fast);
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.footer__rui {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__rui i {
  margin-right: 0.3rem;
}

.footer__rui a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: var(--color-glass);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-white);
  transition: color var(--transition-fast);
}

.mobile-menu__link:hover {
  color: var(--color-accent);
}

.mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__grid--bottom {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-xl) 0;
  }

  .navbar__links {
    display: none;
  }

  .navbar__toggle {
    display: flex;
  }

  /* Hero mobile */
  .hero {
    min-height: 100svh;
    padding: 5rem 0 3rem;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    line-height: 1.2;
  }

  .hero__subtitle {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }

  .hero__badge {
    font-size: 0.65rem;
    padding: 0.4rem 1rem;
  }

  .hero__scroll {
    display: none;
  }

  .hero__glow--1 {
    width: 250px;
    height: 250px;
  }

  .hero__glow--2 {
    width: 200px;
    height: 200px;
  }

  .hero__glow--3 {
    width: 150px;
    height: 150px;
  }

  /* About mobile */
  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about__photo-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }

  .about__photo {
    aspect-ratio: 4 / 5;
  }

  .about__stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .stat-card {
    padding: var(--space-md) var(--space-sm);
  }

  .stat-card__number {
    font-size: 1.8rem;
  }

  .stat-card__icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  /* Services mobile */
  .services__grid,
  .services__grid--bottom {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .service-card__image {
    height: 180px;
  }

  .service-card__body {
    padding: var(--space-sm) var(--space-md) var(--space-md);
  }

  /* Partners mobile */
  .partners {
    margin-top: var(--space-lg);
  }

  .partners__track {
    gap: var(--space-lg);
  }

  .partner-logo {
    min-width: 100px;
    height: 45px;
  }

  .partner-logo img {
    max-height: 30px;
  }

  .partners::before,
  .partners::after {
    width: 40px;
  }

  /* Approach mobile */
  .approach__steps {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .approach__steps::before {
    display: none;
  }

  .step__number {
    width: 64px;
    height: 64px;
  }

  .step__icon-fa {
    font-size: 1.3rem;
  }

  /* Contact mobile */
  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

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

  .contact__form {
    padding: var(--space-md);
  }

  .contact__map iframe {
    height: 250px;
  }

  .contact__social {
    justify-content: flex-start;
  }

  /* Footer mobile */
  .footer__inner {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .footer__links {
    flex-direction: column;
    gap: var(--space-md);
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  /* Section headers mobile */
  .section-header h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .section-header p {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }

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

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    padding: 0 var(--space-sm);
  }

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

  .about__photo-wrapper {
    max-width: 280px;
  }

  .about__photo-badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.8rem;
  }

  .stat-card__number {
    font-size: 1.6rem;
  }

  .stat-card__label {
    font-size: 0.7rem;
  }

  .service-card__image {
    height: 150px;
  }

  .contact-item {
    gap: 0.6rem;
  }

  .contact-item__icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 0.85rem;
  }
}
