/* ============================================================
   GLOBAL.CSS — PCU Corporation Design System
   Shared across ALL pages (ES & EN)
   ============================================================ */

/* ── Font Face: Helvetica Neue ─────────────────────────────── */
@font-face {
  font-family: 'Helvetica Neue';
  src: url('assets/fonts/helvetica-neue/HelveticaNeueLight.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Neue';
  src: url('assets/fonts/helvetica-neue/HelveticaNeueRoman.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Neue';
  src: url('assets/fonts/helvetica-neue/HelveticaNeueMedium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Neue';
  src: url('assets/fonts/helvetica-neue/HelveticaNeueBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Neue';
  src: url('assets/fonts/helvetica-neue/HelveticaNeueBlack.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  /* Colors — extracted from Figma */
  --color-primary:        #041C49;
  --color-primary-mid:    #0E2E6C;
  --color-primary-dark:   #0C295F;
  --color-primary-darker: #011334;
  --color-footer-bg:      #0A1222;
  --color-white:          #FFFFFF;
  --color-accent-blue:    #438AEB;
  --color-light-blue:     #D0E5F2;
  --color-header-bg:      #F1F1F1;
  --color-grey-card:      #D9D9D9;
  --color-grey-text:      #666666;
  --color-dark-text:      #212121;
  --color-bg-light:       #EFF2F5;
  --color-border-grey:    #D7D7D7;
  --color-success:        #4CAF50;
  --color-error:          #F44336;
  --color-overlay:        rgba(51, 69, 101, 0.35);

  /* Typography */
  --font-family:          'Helvetica Neue', 'Helvetica', Arial, sans-serif;
  --font-weight-light:    300;
  --font-weight-regular:  400;
  --font-weight-medium:   500;
  --font-weight-bold:     700;

  /* Font sizes — Figma values */
  --text-xs:     14px;
  --text-sm:     17px;
  --text-base:   20px;
  --text-md:     22px;
  --text-lg:     24px;
  --text-xl:     28px;
  --text-2xl:    30px;
  --text-3xl:    36px;
  --text-4xl:    42px;
  --text-5xl:    45px;
  --text-6xl:    50px;
  --text-7xl:    75px;
  --text-8xl:    125px;
  --text-9xl:    157px;

  /* Spacing */
  --space-xs:    8px;
  --space-sm:    16px;
  --space-md:    24px;
  --space-lg:    32px;
  --space-xl:    48px;
  --space-2xl:   64px;
  --space-3xl:   80px;
  --space-4xl:   120px;

  /* Layout */
  --container-max:   1812px;
  --container-pad:   54px;
  --header-height:   95px;
  --border-radius-pill: 100px;
  --border-radius-sm:   15px;
  --border-radius-md:   20px;
  --border-radius-lg:   22px;
  --border-radius-btn:  31.5px;

  /* Transitions */
  --transition-fast:   0.2s ease;
  --transition-base:   0.3s ease;
  --transition-slow:   0.5s ease;
  --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--color-primary);
  background-color: var(--color-white);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-regular);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 { font-size: var(--text-8xl); }
h2 { font-size: var(--text-5xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-xl);  }
h5 { font-size: var(--text-md);  }
h6 { font-size: var(--text-base); }

p {
  line-height: 1.3;
  letter-spacing: -0.04em;
}

strong, b {
  font-weight: var(--font-weight-medium);
}

/* ── Layout Utilities ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: calc(var(--container-max) + var(--container-pad) * 2);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section-padding {
  padding-block: var(--space-4xl);
}

/* ── Section Tag (pill label) ──────────────────────────────── */
.section-tag {
  display: inline-block;
  padding: 12px 26px;
  border: 1px solid var(--color-primary-dark);
  border-radius: var(--border-radius-btn);
  font-size: var(--text-base);
  font-weight: var(--font-weight-regular);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-primary);
  transition: all var(--transition-base);
}

.section-tag--light {
  border-color: var(--color-white);
  color: var(--color-white);
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 36px;
  border: 1px solid var(--color-primary-dark);
  border-radius: var(--border-radius-btn);
  font-family: var(--font-family);
  font-size: var(--text-md);
  font-weight: var(--font-weight-regular);
  letter-spacing: -0.04em;
  color: var(--color-primary);
  background: transparent;
  transition: all var(--transition-base);
  cursor: pointer;
}

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

.btn-outline--light {
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-outline--light:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 36px;
  border: none;
  border-radius: var(--border-radius-btn);
  font-family: var(--font-family);
  font-size: var(--text-md);
  font-weight: var(--font-weight-regular);
  letter-spacing: -0.04em;
  cursor: pointer;
  transition: all var(--transition-base);
}

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

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

.btn-solid--light {
  background: var(--color-white);
  color: var(--color-primary-darker);
}

.btn-solid--light:hover {
  background: var(--color-light-blue);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  font-size: 1.1em;
  transition: transform var(--transition-fast);
}

.btn-outline:hover .btn-arrow,
.btn-solid:hover .btn-arrow {
  transform: translateX(4px);
}

/* ── Scroll Reveal Animations ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.reveal.revealed {
  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; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Accessibility ─────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--color-accent-blue);
  outline-offset: 2px;
}

/* ── Selection ─────────────────────────────────────────────── */
::selection {
  background: var(--color-accent-blue);
  color: var(--color-white);
}

/* ── Responsive Base ───────────────────────────────────────── */
@media (max-width: 1440px) {
  :root {
    --text-8xl: 100px;
    --text-9xl: 120px;
    --text-7xl: 60px;
  }
}

@media (max-width: 1024px) {
  :root {
    --text-8xl: 72px;
    --text-9xl: 90px;
    --text-7xl: 48px;
    --text-6xl: 40px;
    --text-5xl: 36px;
    --text-4xl: 34px;
    --container-pad: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --text-8xl: 48px;
    --text-9xl: 64px;
    --text-7xl: 36px;
    --text-6xl: 32px;
    --text-5xl: 28px;
    --text-4xl: 26px;
    --text-3xl: 26px;
    --text-2xl: 24px;
    --text-xl:  22px;
    --container-pad: 24px;
    --space-4xl: 80px;
  }
}

@media (max-width: 480px) {
  :root {
    --text-8xl: 36px;
    --text-9xl: 48px;
    --text-7xl: 28px;
    --container-pad: 14px;
    --space-4xl: 60px;
  }
}
