/* ═══════════════════════════════════════════════
   UNITYWEAR UNIVERSAL — about.css (About Page)
   ═══════════════════════════════════════════════ */

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

:root {
  --brand-blue: #050977;
  --brand-dark: #111111;
  --brand-white: #fafafa;
  --text-dark: #222222;
  --text-muted: #666666;
  --bg-light: #f5f5f5;
  --radius: 8px;
  --transition: 0.35s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); background: var(--brand-white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 5%; }
.section { padding: 6vw 0; }
.bg-white { background: #fff; }
.bg-light { background: var(--bg-light); }
.section-title { font-family: 'Josefin Sans', sans-serif; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 2.5rem; text-align: center; }
.centered { text-align: center; color: #fff; }
.centered h2 { font-family: 'Josefin Sans', sans-serif; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.centered p { font-size: clamp(1rem, 2vw, 1.35rem); opacity: 0.9; max-width: 700px; margin: 0 auto; line-height: 1.8; }

/* ══ NAVBAR ══ */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 0; transition: background var(--transition), box-shadow var(--transition), padding var(--transition); }
#navbar.scrolled { background: rgba(255,255,255,0.97); box-shadow: var(--shadow); padding: 0.6rem 0; }
.nav-container { display: flex; align-items: center; justify-content: space-between; max-width: 1280px; margin: 0 auto; padding: 0 5%; }
.nav-logo { display: flex; align-items: center; }
.nav-logo .logo-dark { height: 52px; display: block; }
.nav-logo .logo-light { height: 52px; display: none; }
#navbar.scrolled .logo-dark { display: none; }
#navbar.scrolled .logo-light { display: block; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: #fff; font-weight: 500; font-size: 0.95rem; position: relative; transition: color var(--transition); }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 2px; background: var(--brand-blue); transition: width var(--transition); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
#navbar.scrolled .nav-links a { color: var(--text-dark); }
.has-dropdown { position: relative; }
.has-dropdown::after { content: ''; position: absolute; top: 100%; left: -12px; right: -12px; height: 16px; }
.dropdown { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(-8px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity var(--transition), transform var(--transition); min-width: 140px; overflow: hidden; }
.has-dropdown:hover .dropdown { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.dropdown li a { display: block; padding: 0.7rem 1.2rem; color: var(--text-dark) !important; font-size: 0.9rem; transition: background var(--transition); }
.dropdown li a:hover { background: var(--bg-light); color: var(--brand-blue) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all var(--transition); }
#navbar.scrolled .nav-toggle span { background: var(--text-dark); }

/* ══ PAGE HERO ══ */
#page-hero { height: 100vh; min-height: 500px; background-size: cover; background-position: center; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(5,9,119,0.65), rgba(0,0,0,0.4)); }
.hero-content { position: relative; z-index: 2; color: #fff; padding: 0 8%; max-width: 1000px; animation: fadeInUp 1.1s ease forwards; }
.hero-content h1 { font-family: 'Josefin Sans', sans-serif; font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.1; margin-bottom: 0.8rem; }
.hero-tagline { font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 600; opacity: 0.95; margin-bottom: 1rem; color: #fff; }
.hero-description { font-size: clamp(0.9rem, 1.5vw, 1.1rem); opacity: 0.85; line-height: 1.6; margin-bottom: 2.2rem; max-width: 600px; }
.btn-hero { display: inline-block; background: var(--brand-blue); color: #fff; padding: 0.8rem 2rem; border-radius: 50px; font-weight: 600; border: 2px solid var(--brand-blue); transition: all var(--transition); }
.btn-hero:hover { background: transparent; border-color: #fff; }

/* ══ TWO COL ══ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: center; }
.img-col img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 520px; object-fit: cover; object-position: top; }
.text-col .label { display: inline-block; background: rgba(5,9,119,0.1); color: var(--brand-blue); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 50px; margin-bottom: 0.8rem; }
.text-col h2 { font-family: 'Josefin Sans', sans-serif; font-size: clamp(1.5rem, 2.5vw, 2.2rem); margin-bottom: 1.2rem; color: var(--brand-blue); }
.text-col p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; text-align: justify; }
.owner-info { margin-top: 1.5rem; text-align: center; }
.owner-info h3 { font-family: 'Josefin Sans', sans-serif; color: var(--brand-blue); font-size: 1.4rem; margin-bottom: 0.2rem; }
.owner-info p { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }

/* ══ TIMELINE (Alternating) ══ */
.title-accent { color: var(--brand-blue); }

.tl-container { position: relative; max-width: 860px; margin: 0 auto 3rem; padding: 2rem 0; }
.tl-container::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: rgba(5,9,119,0.15); transform: translateX(-50%); pointer-events: none; }

.tl-item { display: grid; grid-template-columns: 1fr 48px 1fr; gap: 0 24px; margin-bottom: 56px; align-items: flex-start; }
.tl-item:last-child { margin-bottom: 0; }

.tl-mid { display: flex; justify-content: center; padding-top: 12px; position: relative; z-index: 2; }
.tl-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--brand-blue); border: 3px solid #fff; box-shadow: 0 0 0 4px rgba(5,9,119,0.2); flex-shrink: 0; }

.tl-side { display: flex; flex-direction: column; gap: 0.7rem; }
.tl-left .tl-side { align-items: flex-end; }
.tl-right .tl-side { align-items: flex-start; }

.tl-year { font-family: 'Josefin Sans', sans-serif; font-size: 2rem; font-weight: 700; color: var(--brand-blue); line-height: 1; }

.tl-card { background: #fff; border: 1.5px solid rgba(5,9,119,0.12); border-radius: 10px; padding: 1.2rem 1.5rem; box-shadow: 0 4px 18px rgba(0,0,0,0.07); max-width: 290px; transition: box-shadow var(--transition), transform var(--transition); }
.tl-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.12); transform: translateY(-3px); }
.tl-left .tl-card { text-align: right; }
.tl-right .tl-card { text-align: left; }
.tl-card h4 { font-family: 'Josefin Sans', sans-serif; color: var(--brand-blue); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; }
.tl-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.75; }

.tl-empty { min-height: 1px; }

/* ══ INFO GRID ══ */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.info-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border-left: 4px solid var(--brand-blue); transition: transform var(--transition); }
.info-card:hover { transform: translateY(-4px); }
.info-card h4 { font-family: 'Josefin Sans', sans-serif; color: var(--brand-blue); margin-bottom: 0.5rem; font-size: 0.95rem; }
.info-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ══ PARALLAX SECTIONS ══ */
.parallax-section { position: relative; background-size: cover; background-position: center; background-attachment: fixed; padding: 8vw 0; }
.parallax-overlay { position: absolute; inset: 0; background: rgba(30,30,30,0.55); }

/* ══ VALUES GRID ══ */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value-card { position: relative; height: 320px; border-radius: var(--radius); overflow: hidden; background-size: cover; background-position: center; cursor: pointer; }
.value-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.45); transition: background var(--transition); }
.value-card:hover .value-overlay { background: rgba(5,9,119,0.65); }
.value-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; z-index: 2; }
.value-label h3 { font-family: 'Josefin Sans', sans-serif; color: #fff; font-size: 1.2rem; transform: translateY(8px); transition: transform var(--transition); }
.value-card:hover .value-label h3 { transform: translateY(0); }

/* ══ UNIQUE EDGE ══ */
.edge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.edge-card { background: #fff; border-radius: var(--radius); padding: 2rem 1.5rem; box-shadow: var(--shadow); text-align: center; transition: transform var(--transition), box-shadow var(--transition); }
.edge-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.edge-number { font-family: 'Josefin Sans', sans-serif; font-size: 2.5rem; font-weight: 700; color: rgba(5,9,119,0.12); line-height: 1; margin-bottom: 0.5rem; }
.edge-card h4 { color: var(--brand-blue); font-size: 0.95rem; line-height: 1.5; }

/* ══ FOOTER ══ */
#footer { background: var(--brand-dark); color: #ccc; padding-top: 5vw; }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr 2fr 2fr; gap: 3rem; padding-bottom: 3rem; }
.footer-col h4 { font-family: 'Josefin Sans', sans-serif; font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col hr { border-color: rgba(255,255,255,0.15); margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a, .footer-col a { color: #aaa; transition: color var(--transition); }
.footer-col ul a:hover, .footer-col a:hover { color: #fff; }
.footer-col p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 0.7rem; color: #aaa; }
.footer-col strong { color: #ddd; }
.map-wrap { position: relative; padding-bottom: 66.66%; overflow: hidden; border-radius: var(--radius); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); text-align: center; padding: 1.2rem 0; font-size: 0.85rem; color: #666; }

/* ══ SOCIAL FLOAT ══ */
.social-float { position: fixed; bottom: 24px; left: 24px; z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.social-btn { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.12); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; transition: transform var(--transition), background var(--transition); border: 1px solid rgba(255,255,255,0.25); }
.social-btn:hover { transform: scale(1.2); }
.social-btn img { width: 18px; height: 18px; }
.social-btn.linkedin img  { filter: invert(31%) sepia(80%) saturate(2713%) hue-rotate(188deg) brightness(94%); }
.social-btn.instagram img { filter: invert(39%) sepia(83%) saturate(7471%) hue-rotate(316deg) brightness(97%); }
.social-btn.whatsapp img  { filter: invert(31%) sepia(97%) saturate(644%) hue-rotate(94deg) brightness(94%); }
#back-to-top { position: fixed; bottom: 24px; right: 24px; z-index: 999; width: 44px; height: 44px; background: var(--brand-blue); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity var(--transition), transform var(--transition); box-shadow: var(--shadow); }
#back-to-top.visible { opacity: 1; pointer-events: all; }
#back-to-top:hover { transform: translateY(-4px); }

/* ══ ANIMATIONS ══ */
@keyframes fadeInUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .edge-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-container { flex-wrap: wrap; }
  #navbar.menu-open { background: #ffffff; max-height: 100vh; overflow-y: auto; }
  #navbar.menu-open .logo-light { display: none; }
  #navbar.menu-open .logo-dark { display: block; }
  #navbar.menu-open .nav-toggle span { background: var(--text-dark); }
  .nav-links { display: none; width: 100%; background: transparent; flex-direction: column; padding: 1.5rem 0 1rem 0; gap: 1rem; box-shadow: none; }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text-dark) !important; }
  .nav-toggle { display: flex; }
  .two-col { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 36px 1fr; gap: 0 16px; }
  .tl-container::before { left: 18px; transform: none; }
  .tl-empty { display: none; }
  .tl-left .tl-mid, .tl-right .tl-mid { grid-column: 1; grid-row: 1; }
  .tl-left .tl-side, .tl-right .tl-side { grid-column: 2; align-items: flex-start; }
  .tl-left .tl-card { text-align: left; }
  .tl-year { font-size: 1.5rem; }
  .img-col img { height: 300px; }
  .values-grid { grid-template-columns: 1fr; }
  .edge-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .parallax-section { background-attachment: scroll; }
  .dropdown { display: none; position: static; transform: none; opacity: 1; pointer-events: all; box-shadow: none; background: var(--bg-light); border-radius: var(--radius); padding: 0.5rem 0; margin-top: 0.5rem; }
  .has-dropdown.active .dropdown { display: block; }
  .has-dropdown { display: flex; flex-direction: column; }
  .social-float {
    flex-direction: row;
    bottom: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    justify-content: center;
    padding: 12px 0;
    gap: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
  }
  .social-btn {
    background: var(--brand-blue);
    border: none;
  }
  #back-to-top {
    bottom: 80px;
  }
}
@media (max-width: 480px) {
  .info-grid { grid-template-columns: 1fr; }
  .edge-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}
