/* ============================================
   STEPHANIE COLORES BUENO - EXECUTIVE WEBSITE
   P&G-Inspired Professional Design System
   ============================================ */

:root {
  /* P&G-Inspired Blue Palette */
  --primary-blue: #003E7E;        /* P&G corporate blue */
  --deep-blue: #002855;           /* Executive depth */
  --accent-blue: #0052A3;         /* Modern touch */
  --light-blue: #E8F1F8;          /* Subtle backgrounds */
  
  /* Supporting Premium Colors */
  --gold: #B8860B;                /* Executive accent */
  --burgundy: #7D3C3C;            /* Warmth */
  --charcoal: #2D3748;            /* Professional text */
  --slate: #64748B;               /* Secondary text */
  
  /* Neutrals - Executive Refinement */
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --light-gray: #F1F5F9;
  --line: #E2E8F0;
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  
  /* Spacing - Generous (Executive feel) */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 72px;
  
  /* Shadows - Subtle */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
}

/* ============================================
   RESET & BASE
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY - Executive Hierarchy
   ============================================ */

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--deep-blue);
  margin-bottom: var(--space-sm);
}

h1.h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

h2 {
  font-size: 2.25rem;
  margin-bottom: var(--space-md);
  color: var(--primary-blue);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-sm);
  color: var(--charcoal);
}

.lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: var(--space-lg);
}

.subhead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--white);
  margin-bottom: var(--space-lg);
  font-weight: 400;
}

small {
  font-size: 0.875rem;
  color: var(--slate);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-blue);
}

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-small {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

.wrap {
  max-width: 900px;
}

/* ============================================
   NAVIGATION - P&G Blue
   ============================================ */

.header {
  background: var(--primary-blue);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  gap: var(--space-md);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--white);
  font-size: 1.125rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.brand:hover {
  opacity: 0.9;
  color: var(--white);
}

.brand small {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--burgundy) 100%);
  border-radius: 8px;
  display: block;
}

.navlinks {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.navlinks a {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.navlinks a:hover,
.navlinks a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--gold);
}

.navcta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 6px;
  font-weight: 600;
  border: 2px solid transparent !important;
  transition: all 0.2s;
}

.navcta:hover {
  background: var(--burgundy);
  transform: translateY(-1px);
}

.mobilebtn {
  display: none;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}

.mobilepanel {
  display: none;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobilepanel a {
  color: rgba(255,255,255,0.9);
  padding: 10px 0;
  font-weight: 500;
}

/* ============================================
   HERO SECTION - P&G Blue Identity
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--deep-blue) 100%);
  color: var(--white);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  display: block;
}

.herocta {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.mini {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-lg);
}

.mini i {
  color: var(--gold);
  font-style: normal;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.metric {
  background: rgba(255,255,255,0.08);
  padding: var(--space-md);
  border-radius: 8px;
  border-left: 4px solid var(--gold);
}

.metric strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.metric span {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

/* ============================================
   BUTTONS - Executive Style
   ============================================ */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary,
.btn.primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-primary:hover,
.btn.primary:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.btn-secondary,
.btn {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.btn-secondary:hover,
.btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

/* For buttons on white background */
.section-white .btn {
  color: var(--primary-blue);
  border-color: var(--line);
  background: var(--white);
}

.section-white .btn:hover {
  border-color: var(--primary-blue);
  background: var(--off-white);
}

/* ============================================
   CARDS - Refined, Professional
   ============================================ */

.card {
  background: var(--white);
  border-radius: 12px;
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pill {
  display: inline-block;
  padding: 6px 14px;
  background: var(--light-blue);
  color: var(--primary-blue);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 20px;
  margin-bottom: var(--space-sm);
}

/* ============================================
   GRIDS - Responsive Layouts
   ============================================ */

.grid {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* ============================================
   LISTS - Executive Style
   ============================================ */

.list {
  list-style: none;
  padding: 0;
}

.list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.6;
}

.list li:last-child {
  border-bottom: none;
}

.list strong {
  color: var(--primary-blue);
  font-weight: 600;
}

/* ============================================
   SPLIT LAYOUT - Photo + Content
   ============================================ */

.split {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: var(--space-md);
  align-items: start;
}

.photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   FORMS - Professional
   ============================================ */

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

.input {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input label {
  font-weight: 600;
  color: var(--charcoal);
  font-size: 0.95rem;
}

.input input,
.input select,
.input textarea {
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: border-color 0.2s;
  background: var(--white);
}

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

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

.help {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.5;
}

.notice {
  background: var(--light-blue);
  border-left: 4px solid var(--primary-blue);
  padding: var(--space-sm);
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.6;
}

/* ============================================
   FOOTER - Professional
   ============================================ */

.footer {
  background: var(--deep-blue);
  color: rgba(255,255,255,0.8);
  padding: var(--space-xl) 0 var(--space-md);
  margin-top: var(--space-xl);
}

.footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}

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

.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.cols strong {
  color: var(--white);
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
}

.cols small {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-md);
  margin-top: var(--space-lg);
  text-align: center;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: var(--space-sm);
  background: var(--primary-blue);
  color: var(--white);
  text-decoration: none;
}

.skip:focus {
  left: 0;
}

/* ============================================
   RESPONSIVE - Mobile Optimization
   ============================================ */

@media (max-width: 768px) {
  h1.h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .navlinks {
    display: none;
  }
  
  .mobilebtn {
    display: block;
  }
  
  .mobilepanel[data-mobile-panel] {
    display: none;
  }
  
  .mobilepanel[data-mobile-panel].active {
    display: flex;
  }
  
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }
  
  .split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .metrics {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: var(--space-lg) 0;
  }
  
  .hero {
    padding: var(--space-lg) 0;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .header,
  .footer,
  .btn {
    display: none;
  }
  
  body {
    color: #000;
    background: #fff;
  }
}