/* ==========================================================================
   IC Global Service House — Shared Stylesheet
   Used by all sub-pages. Landing page (landing.html) uses inline CSS.
   ========================================================================== */


/* ==========================================================================
   1. CSS VARIABLES
   ========================================================================== */

:root {
  --ink: #0F0F0F;
  --ink-soft: #2E2E2E;
  --ink-mute: #5A5A5A;
  --paper: #FAF7F4;
  --paper-warm: #F2EBE3;
  --paper-deep: #E8DED1;
  --bordeaux: #800000;
  --bordeaux-deep: #5A0000;
  --bordeaux-soft: #A14B57;
  --bordeaux-tint: #F1E0E2;
  --whatsapp: #25D366;
  --whatsapp-deep: #1FAD53;
  --line: rgba(15, 15, 15, 0.12);
  --line-strong: rgba(15, 15, 15, 0.28);
}


/* ==========================================================================
   2. RESET + BASE
   ========================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
main, header, footer { position: relative; z-index: 1; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(44px, 6.4vw, 92px); }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
h3 { font-size: clamp(20px, 2.2vw, 28px); }
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bordeaux);
}


/* ==========================================================================
   3. LUXE HEADER
   ========================================================================== */

.luxe-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease, padding 0.3s ease;
  padding: 14px 0;
}
.luxe-header.scrolled {
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255,255,255,0.08);
  padding: 10px 0;
}
/* Sub-pages start with solid background */
.luxe-header.solid {
  background: rgba(15,15,15,0.96);
  border-bottom-color: rgba(255,255,255,0.08);
}
.luxe-header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 max(5%, 24px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}
.luxe-logo {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.05;
  color: #FFFFFF;
  transition: opacity 0.25s ease;
}
.luxe-logo:hover { opacity: 0.85; }
.luxe-logo-top {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}
.luxe-logo-bottom {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
}
.luxe-nav {
  display: flex;
  gap: 38px;
  justify-content: center;
}
.luxe-nav-item {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}
.luxe-nav-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--bordeaux);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.luxe-nav-item:hover { color: #FFFFFF; }
.luxe-nav-item:hover::after { transform: scaleX(1); }
.luxe-utilities { display: flex; align-items: center; gap: 24px; }
.luxe-lang { display: inline-flex; align-items: center; gap: 6px; }
.luxe-lang-item {
  background: transparent;
  border: 0;
  padding: 4px 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: color 0.2s ease;
}
.luxe-lang-item:hover { color: #FFFFFF; }
.luxe-lang-item.active { color: #FFFFFF; font-weight: 700; }
.luxe-lang-sep { color: rgba(255,255,255,0.25); font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.luxe-social { display: inline-flex; align-items: center; gap: 12px; padding-left: 20px; border-left: 1px solid rgba(255,255,255,0.18); }
.luxe-social-link {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: all 0.25s ease;
}
.luxe-social-link:hover { color: #FFFFFF; border-color: var(--bordeaux); background: var(--bordeaux); }
.luxe-social-link svg { display: block; }
.luxe-burger {
  display: none;
  background: transparent;
  border: 0;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.luxe-burger span {
  display: block;
  height: 2px;
  background: #FFFFFF;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.luxe-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.luxe-burger.open span:nth-child(2) { opacity: 0; }
.luxe-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1024px) {
  .luxe-header-inner { gap: 24px; }
  .luxe-nav { gap: 24px; }
  .luxe-nav-item { font-size: 12px; }
  .luxe-utilities { gap: 16px; }
  .luxe-social { padding-left: 14px; gap: 8px; }
}
@media (max-width: 860px) {
  .luxe-header { padding: 16px 0; }
  .luxe-header.scrolled { padding: 12px 0; }
  .luxe-header-inner { grid-template-columns: auto auto; }
  .luxe-nav, .luxe-utilities { display: none; }
  .luxe-burger { display: flex; }
  .luxe-header.menu-open { background: rgba(15,15,15,0.97); backdrop-filter: blur(14px); }
  .luxe-header.menu-open .luxe-header-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas: "logo burger" "nav nav" "utilities utilities";
    gap: 0;
  }
  .luxe-header.menu-open .luxe-logo { grid-area: logo; }
  .luxe-header.menu-open .luxe-burger { grid-area: burger; justify-self: end; }
  .luxe-header.menu-open .luxe-nav {
    grid-area: nav;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 24px 0 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 14px;
  }
  .luxe-header.menu-open .luxe-nav-item { padding: 10px 0; font-size: 16px; }
  .luxe-header.menu-open .luxe-utilities {
    grid-area: utilities;
    display: flex;
    justify-content: space-between;
    padding: 14px 0 6px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
}


/* ==========================================================================
   4. FOOTER
   ========================================================================== */

footer {
  background: var(--ink);
  color: rgba(250,247,244,0.7);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .logo-wordmark-top { color: var(--paper); }
.footer-brand .logo-wordmark-bottom { color: var(--bordeaux-soft); }
.footer-brand p { margin-top: 20px; font-size: 14px; max-width: 320px; line-height: 1.55; }
.footer-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bordeaux-soft);
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(250,247,244,0.7); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--bordeaux-soft); }
.footer-bottom {
  border-top: 1px solid rgba(250,247,244,0.15);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  gap: 16px;
}
.logo-wordmark { display: inline-flex; flex-direction: column; line-height: 1.05; }
.logo-wordmark-top { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 26px; letter-spacing: 0.01em; color: var(--ink); }
.logo-wordmark-bottom { font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 11px; letter-spacing: 0.24em; color: var(--bordeaux); margin-top: 6px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } .container { padding: 0 20px; } }


/* ==========================================================================
   5. WHATSAPP FLOAT
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  background: var(--whatsapp);
  color: #fff;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 100;
  transition: transform 0.25s;
  text-decoration: none;
  animation: bob 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); animation-play-state: paused; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  opacity: 0.5;
  animation: ring 2s infinite;
}
@keyframes ring { to { transform: scale(1.4); opacity: 0; } }


/* ==========================================================================
   6. SUBPAGE HERO (.sp-hero)
   ========================================================================== */

.sp-hero {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(128,0,0,0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(90,0,0,0.4) 0%, transparent 55%),
    linear-gradient(135deg, #1A0608 0%, #0A0A0A 40%, #0F0F0F 100%);
  padding: 140px 0 80px;
}
.sp-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px;
}
.sp-breadcrumb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.sp-hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.sp-hero h1 {
  color: #FFFFFF;
  font-size: clamp(42px, 5vw, 72px);
}
.sp-hero-lead {
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  max-width: 580px;
  margin-top: 20px;
  line-height: 1.55;
}


/* ==========================================================================
   7. SUBPAGE CONTENT SECTION (.sp-section)
   ========================================================================== */

.sp-section {
  padding: 96px 0;
}
.sp-section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.sp-section-lead {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.65;
}


/* ==========================================================================
   8. SUBPAGE FEATURE GRID (.sp-grid / .sp-card)
   ========================================================================== */

.sp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--line);
}
.sp-card {
  padding: 36px 32px;
  border: none;
}
.sp-card:nth-child(odd)  { background: #FFFFFF; }
.sp-card:nth-child(even) { background: var(--paper-warm); }
.sp-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--bordeaux);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.sp-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 12px;
}
.sp-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .sp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sp-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   9. SUBPAGE ICON LIST (.sp-list)
   ========================================================================== */

.sp-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 640px;
}
.sp-list-item {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
}
.sp-list-dot {
  width: 8px;
  height: 8px;
  background: var(--bordeaux);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}
.sp-list-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}


/* ==========================================================================
   10. SUBPAGE CALL TO ACTION (.sp-cta)
   ========================================================================== */

.sp-cta {
  padding: 80px 0;
  background: var(--ink);
  text-align: center;
}
.sp-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}
.sp-cta h2 {
  color: #FFFFFF;
}
.sp-cta p {
  color: rgba(250,247,244,0.65);
  margin: 20px 0 36px;
  font-size: 17px;
}
.sp-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ==========================================================================
   11. BUTTONS
   ========================================================================== */

.btn-bordeaux {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: var(--bordeaux);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.25s;
}
.btn-bordeaux:hover {
  background: var(--bordeaux-deep);
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.25s;
}
.btn-outline-white:hover {
  border-color: #fff;
  color: #fff;
}


/* ==========================================================================
   12. SUBPAGE GALLERY (.sp-gallery)
   ========================================================================== */

.sp-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  aspect-ratio: 3/1;
  overflow: hidden;
}
.sp-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.sp-gallery img:hover {
  transform: scale(1.04);
}
@media (max-width: 600px) {
  .sp-gallery {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
  }
  .sp-gallery img {
    aspect-ratio: 16/9;
  }
}
