/* ============================================
   SANTCOM - F-D MOCKUP DESIGN SYSTEM
   main.css?v=28
   ============================================ */

/* ----------------------------------------
   RESET & BASE
   ---------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --navy: #043444;
    --coral: #FF6041;
    --cyan: #00D3DE;
    --white: #ffffff;
    --offwhite: #f8f6f5;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --pad-x: 80px;
    --section-pad: 100px;
}
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-body); font-weight: 400; color: var(--navy); background: var(--white); overflow-x: hidden; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ----------------------------------------
   GHOST BUTTON
   ---------------------------------------- */
.btn-ghost { display: inline-block; padding: 15px 17px; border: 2px solid var(--coral); border-radius: 0; background: transparent; color: var(--coral); font-family: var(--font-body); font-weight: 700; font-size: 14px; letter-spacing: 0.5px; cursor: pointer; transition: background 0.3s ease, color 0.3s ease; }
.btn-ghost:hover { background: var(--coral); color: var(--white); }
.btn-ghost--white { border-color: var(--white); color: var(--white); }
.btn-ghost--white:hover { background: var(--white); color: var(--navy); }

/* ----------------------------------------
   SCROLL REVEAL
   ---------------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); filter: blur(4px); transition: opacity 0.6s ease-out, transform 0.6s ease-out, filter 0.6s ease-out; }
.reveal.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ----------------------------------------
   1. HEADER
   ---------------------------------------- */
.site-header { position: absolute; top: 0; left: 0; width: 100%; z-index: 1000; padding: 24px var(--pad-x); display: flex; align-items: center; justify-content: space-between; transition: background 0.4s ease, padding 0.3s ease; }
.site-header.is-fixed { position: fixed; background: rgba(4, 52, 68, 0.92); animation: fadeInDown 0.4s ease-out; }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.header-logo svg { height: 40px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 36px; }
.header-nav a { font-family: var(--font-body); font-weight: 400; font-size: 17px; color: var(--white); transition: opacity 0.25s ease; }
.header-nav a:hover { opacity: 0.7; }
.header-cta { padding: 10px 20px; border: 2px solid var(--coral); border-radius: 0; background: transparent; color: var(--coral); font-family: var(--font-body); font-weight: 700; font-size: 14px; cursor: pointer; transition: background 0.3s ease, color 0.3s ease; }
.header-cta:hover { background: var(--coral); color: var(--white); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav overlay */
.mobile-nav { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--navy); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 32px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.mobile-nav.is-open { opacity: 1; pointer-events: all; }
.mobile-nav a { font-family: var(--font-body); font-weight: 400; font-size: 24px; color: var(--white); }

/* ----------------------------------------
   LANGUAGE SWITCHER
   ---------------------------------------- */
.lang-switcher { position: fixed; top: 12px; right: 12px; z-index: 1001; display: flex; gap: 4px; }
.lang-switcher button { background: rgba(4, 52, 68, 0.6); border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.7); font-family: var(--font-body); font-size: 11px; font-weight: 600; padding: 4px 10px; cursor: pointer; transition: all 0.3s ease; }
.lang-switcher button.active { background: var(--coral); border-color: var(--coral); color: var(--white); }
.lang-switcher button:hover { border-color: var(--white); color: var(--white); }

/* ----------------------------------------
   2. HERO (homepage)
   ---------------------------------------- */
.hero { position: relative; min-height: 850px; background: var(--navy); overflow: hidden; display: flex; align-items: flex-end; }
.hero-image { position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; background-image: url('../img/generated/hero_banner.jpg'); -webkit-background-size: cover; background-size: cover; background-position: center; z-index: 1; }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50%; background: linear-gradient(to top, rgba(4, 52, 68, 0.8) 0%, transparent 100%); pointer-events: none; z-index: 1; }
.hero-content { position: relative; z-index: 2; padding: 0 var(--pad-x) 80px; max-width: 700px; }
.hero-content h1 { font-family: var(--font-heading); font-weight: 500; font-size: 62px; line-height: 62px; color: var(--coral); margin-bottom: 20px; }
.hero-content p { font-size: 16px; color: var(--white); margin-bottom: 32px; line-height: 1.6; }

/* ----------------------------------------
   3. HISTORY / STATS
   ---------------------------------------- */
.history { background: var(--white); padding: var(--section-pad) var(--pad-x); }
.history-grid { display: flex; gap: 60px; margin-bottom: 80px; }
.history-left { flex: 1; }
.history-left h2 { font-family: var(--font-heading); font-weight: 500; font-size: 60px; line-height: 60px; color: var(--navy); }
.history-right { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.history-right p { font-size: 16px; color: rgba(4, 52, 68, 0.7); line-height: 1.7; margin-bottom: 32px; }
.stats-title { font-family: var(--font-heading); font-weight: 500; font-size: 32px; color: var(--navy); text-align: center; margin-bottom: 40px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-heading); font-weight: 600; font-size: 65px; line-height: 65px; color: var(--coral); margin-bottom: 8px; }
.stat-label { font-family: var(--font-heading); font-weight: 500; font-size: 18px; color: var(--navy); line-height: 1.3; }

/* ----------------------------------------
   4. 50/50 SPLIT
   ---------------------------------------- */
.split { display: flex; min-height: 900px; }
.split-image { flex: 1; background-size: cover; background-position: center 20%; min-height: 400px; }
.split-content { flex: 1; padding: 80px; display: flex; flex-direction: column; justify-content: center; }
.split--coral .split-content { background: var(--coral); }
.split--coral h2 { font-family: var(--font-heading); font-weight: 500; font-size: 60px; line-height: 60px; color: var(--white); margin-bottom: 24px; }
.split--coral p { font-size: 16px; color: var(--white); line-height: 1.7; margin-bottom: 32px; max-width: 480px; }

/* ----------------------------------------
   5. SERVICES
   ---------------------------------------- */
.services { background: var(--offwhite); padding: var(--section-pad) var(--pad-x); }
.services-heading { font-family: var(--font-heading); font-weight: 500; font-size: 60px; line-height: 60px; color: var(--navy); margin-bottom: 60px; max-width: 700px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.service-card { background: var(--white); }
.service-card-image { position: relative; height: 300px; overflow: hidden; }
.service-card-image img { width: 100%; height: 100%; object-fit: cover; }
.service-card-title { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 20px; background: rgba(4, 52, 68, 0.85); font-family: var(--font-heading); font-weight: 500; font-size: 20px; color: var(--white); }
.service-card-body { padding: 24px; }
.service-card-body p { font-size: 16px; color: rgba(4, 52, 68, 0.7); line-height: 1.6; margin-bottom: 16px; }
.service-card-body a { font-weight: 600; font-size: 14px; color: var(--coral); transition: opacity 0.25s ease; }
.service-card-body a:hover { opacity: 0.7; }

/* ----------------------------------------
   6. SPLIT REVERSED (navy variant)
   ---------------------------------------- */
.split--navy .split-content { background: var(--navy); }
.split--navy h2 { font-family: var(--font-heading); font-weight: 500; font-size: 60px; line-height: 60px; color: var(--white); margin-bottom: 24px; }
.split--navy p { font-size: 16px; color: rgba(255, 255, 255, 0.7); line-height: 1.7; margin-bottom: 32px; max-width: 480px; }

/* ----------------------------------------
   7. CORAL ACCENT BAR
   ---------------------------------------- */
.accent-bar { background: var(--coral); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px var(--pad-x); }
.accent-bar p { font-family: var(--font-body); font-weight: 700; font-size: 26px; color: var(--white); letter-spacing: 1px; }
.client-logos { display: flex; justify-content: center; align-items: center; gap: 60px; flex-wrap: wrap; margin-top: 25px; }
.client-logos img { height: 120px; width: auto; opacity: 0.8; transition: opacity 0.3s ease; filter: brightness(0) invert(1); }
.client-logos img:hover { opacity: 1; }

/* ----------------------------------------
   8. BOTTOM CTA HERO
   ---------------------------------------- */
.cta-hero { position: relative; min-height: 650px; background-image: url('../img/generated/cta_hero_option_D.jpg'); -webkit-background-size: cover; background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.cta-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60%; background: linear-gradient(to top, rgba(4, 52, 68, 0.85) 0%, transparent 100%); pointer-events: none; z-index: 1; }
.cta-hero-content { position: relative; z-index: 2; padding: 0 var(--pad-x) 80px; max-width: 700px; }
.cta-hero-content h2 { font-family: var(--font-heading); font-weight: 500; font-size: 55px; line-height: 55px; color: var(--white); margin-bottom: 32px; }

/* ----------------------------------------
   9. FOOTER
   ---------------------------------------- */
.site-footer { background: var(--navy); padding: 80px var(--pad-x) 40px; }
.footer-logo { margin-bottom: 60px; }
.footer-logo svg { height: 40px; width: auto; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-col-heading { font-family: var(--font-body); font-weight: 700; font-size: 18px; letter-spacing: 3px; text-transform: uppercase; color: var(--coral); margin-bottom: 20px; }
.footer-col p { font-size: 14px; color: rgba(255, 255, 255, 0.6); line-height: 1.7; font-weight: 300; }
.footer-col a { display: block; font-size: 14px; color: rgba(255, 255, 255, 0.6); font-weight: 400; margin-bottom: 12px; transition: color 0.25s ease; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 14px; color: rgba(255, 255, 255, 0.4); }

/* ----------------------------------------
   SUBPAGE HERO
   ---------------------------------------- */
.page-hero { position: relative; min-height: 400px; background: var(--navy); display: flex; align-items: flex-end; padding: 0 var(--pad-x) 60px; }
.page-hero h1 { font-family: var(--font-heading); font-weight: 500; font-size: 55px; line-height: 60px; color: var(--coral); max-width: 700px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.7); margin-top: 16px; max-width: 600px; line-height: 1.6; }

/* ----------------------------------------
   SUBPAGE CONTENT SECTIONS
   ---------------------------------------- */
.content-section { padding: var(--section-pad) var(--pad-x); }
.content-section--white { background: var(--white); }
.content-section--offwhite { background: var(--offwhite); }
.content-section--navy { background: var(--navy); color: var(--white); }
.content-section--navy p { color: rgba(255,255,255,0.7); }
.content-section h2 { font-family: var(--font-heading); font-weight: 500; font-size: 48px; line-height: 52px; color: var(--navy); margin-bottom: 24px; }
.content-section--navy h2 { color: var(--white); }
.content-section p { font-size: 16px; color: rgba(4, 52, 68, 0.7); line-height: 1.7; margin-bottom: 24px; max-width: 700px; }

/* ----------------------------------------
   CARD GRID (reusable for subpages)
   ---------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.card { background: var(--white); padding: 40px 32px; border-left: 3px solid var(--coral); }
.card--navy { background: rgba(255,255,255,0.05); border-left-color: var(--coral); }
.card h3 { font-family: var(--font-heading); font-weight: 500; font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.card--navy h3 { color: var(--white); }
.card p { font-size: 15px; color: rgba(4, 52, 68, 0.7); line-height: 1.6; margin-bottom: 0; }
.card--navy p { color: rgba(255,255,255,0.6); }

/* ----------------------------------------
   BLOG CARDS
   ---------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 40px; }
.blog-card { background: var(--white); overflow: hidden; }
.blog-card-image { height: 200px; background: linear-gradient(135deg, var(--navy), var(--coral)); }
.blog-card-body { padding: 24px; }
.blog-card-body .category { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--coral); margin-bottom: 8px; }
.blog-card-body h3 { font-family: var(--font-heading); font-weight: 500; font-size: 20px; color: var(--navy); margin-bottom: 12px; line-height: 1.3; }
.blog-card-body p { font-size: 14px; color: rgba(4, 52, 68, 0.6); line-height: 1.6; margin-bottom: 16px; }
.blog-card-body a { font-weight: 600; font-size: 14px; color: var(--coral); }

/* ----------------------------------------
   CONTACT FORM
   ---------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 700px; margin-top: 40px; }
.form-grid .full-width { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 14px 16px; border: 1px solid rgba(4, 52, 68, 0.2); border-radius: 0; font-family: var(--font-body); font-size: 15px; color: var(--navy); background: var(--white); transition: border-color 0.3s ease; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: none; border-color: var(--coral); }
.form-grid textarea { min-height: 120px; resize: vertical; }
.form-grid label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; }
.form-consent input[type="checkbox"] { margin-top: 4px; }
.form-consent label { font-size: 13px; color: rgba(4, 52, 68, 0.6); line-height: 1.5; }
.btn-submit { display: inline-block; padding: 15px 40px; background: var(--coral); border: none; border-radius: 0; color: var(--white); font-family: var(--font-body); font-weight: 700; font-size: 14px; letter-spacing: 0.5px; cursor: pointer; transition: background 0.3s ease; margin-top: 24px; }
.btn-submit:hover { background: #E8532E; }

/* ----------------------------------------
   PROGRESS BARS (vision page)
   ---------------------------------------- */
.progress-item { margin-bottom: 24px; }
.progress-label { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--navy); }
.progress-bar { height: 6px; background: rgba(4, 52, 68, 0.1); overflow: hidden; }
.progress-fill { height: 100%; background: var(--coral); transition: width 1.5s ease-out; }

/* ----------------------------------------
   TWO COLUMN LAYOUT
   ---------------------------------------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

/* ============================================
   RESPONSIVE - TABLET (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    :root { --pad-x: 40px; --section-pad: 60px; }
    .header-nav { display: none; }
    .hamburger { display: flex; }
    .mobile-nav { display: flex; }
    .hero { min-height: 600px; }
    .hero::after { height: 100%; background: linear-gradient(to top, rgba(4, 52, 68, 0.9) 0%, rgba(4, 52, 68, 0.5) 100%); }
    .hero-content h1 { font-size: 36px; line-height: 36px; text-shadow: 0 2px 12px rgba(4, 52, 68, 0.8); }
    .hero-content .btn-ghost { text-shadow: 0 1px 8px rgba(4, 52, 68, 0.6); box-shadow: 0 0 20px rgba(4, 52, 68, 0.4); }
    .history-grid { flex-direction: column; gap: 32px; }
    .history-left h2 { font-size: 36px; line-height: 36px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .split { flex-direction: column; min-height: auto; }
    .split-image { height: 400px; min-height: 400px; }
    .split-content { padding: 60px var(--pad-x); }
    .split--coral h2, .split--navy h2 { font-size: 36px; line-height: 36px; }
    .split--reversed { flex-direction: column-reverse; }
    .services-heading { font-size: 36px; line-height: 36px; }
    .services-grid { grid-template-columns: 1fr; }
    .cta-hero { min-height: 450px; }
    .cta-hero::after { height: 100%; background: linear-gradient(to top, rgba(4, 52, 68, 0.92) 0%, rgba(4, 52, 68, 0.55) 100%); }
    .cta-hero-content h2 { font-size: 36px; line-height: 36px; text-shadow: 0 2px 12px rgba(4, 52, 68, 0.8); }
    .cta-hero-content .btn-ghost { text-shadow: 0 1px 8px rgba(4, 52, 68, 0.6); box-shadow: 0 0 20px rgba(4, 52, 68, 0.4); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .page-hero { min-height: 350px; }
    .page-hero h1 { font-size: 36px; line-height: 40px; }
    .two-col { grid-template-columns: 1fr; gap: 32px; }
    .form-grid { grid-template-columns: 1fr; }
}

/* ============================================
   RESPONSIVE - MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    :root { --pad-x: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 30px; line-height: 30px; }
    .page-hero h1 { font-size: 28px; line-height: 32px; }
}
