/* ==========================================================================
   SURINDER-INSPIRED DESIGN SYSTEM FOR HICHAM AITSAID
   Palette: Sand Paper (#FBF9F4), Deep Ink (#1A1714), Terracotta (#B0552F),
   Stone Muted (#6B6358), Dark Section (#171821 / #20212B), Emerald (#47AB19)
   ========================================================================== */

:root {
  --bg-sand: #FBF9F4;
  --bg-white: #FFFFFF;
  --bg-dark: #171821;
  --bg-dark-card: #20212B;
  
  --text-ink: #1A1714;
  --text-stone: #6B6358;
  --text-light: #FBF9F4;
  --text-muted-dark: #9E978E;

  --terracotta: #B0552F;
  --terracotta-hover: #9A4826;
  --terracotta-soft: rgba(176, 85, 47, 0.1);

  --green-dot: #47AB19;
  --green-glow: rgba(99, 186, 59, 0.5);

  --border-light: rgba(26, 23, 20, 0.08);
  --border-dark: rgba(255, 255, 255, 0.1);

  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Mukta', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 44px;
  --radius-full: 9999px;

  --shadow-pill: 0px 10px 30px 0px rgba(26, 23, 20, 0.10), 0px 1px 2px 0px rgba(26, 23, 20, 0.06), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.85);
  --shadow-card: 0px 4px 20px rgba(26, 23, 20, 0.04);
}

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

html {
  background-color: var(--bg-sand);
  color: var(--text-ink);
  font-family: var(--font-body);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  background-color: var(--bg-sand);
  position: relative;
}

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

::selection {
  background-color: #F2E3DC;
  color: var(--terracotta);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.playfair-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--terracotta);
}

.text-terracotta { color: var(--terracotta); }
.text-sand { color: #DCD6CD; }
.text-white { color: #FFFFFF; }
.text-green { color: var(--green-dot); }
.w-full { width: 100%; }

/* Ambient Top Veil */
.top-veil {
  position: fixed;
  inset-x: 0;
  top: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(251, 249, 244, 0.85) 0%, rgba(251, 249, 244, 0) 100%);
  backdrop-filter: blur(10px);
  pointer-events: none;
  z-index: 40;
  transition: opacity 0.3s ease;
}

/* ==========================================================================
   1. FLOATING NAV PILL (Desktop)
   ========================================================================== */
.floating-nav-pill {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 14px 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(245, 245, 245, 0.95) 100%);
  box-shadow: var(--shadow-pill);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-nav-pill.theme-dark-nav {
  background: linear-gradient(180deg, rgba(32, 33, 43, 0.85) 0%, rgba(23, 24, 33, 0.95) 100%);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.floating-nav-pill.theme-dark-nav .brand-name,
.floating-nav-pill.theme-dark-nav .nav-item,
.floating-nav-pill.theme-dark-nav .ask-text {
  color: #FFFFFF;
}

.floating-nav-pill.theme-dark-nav .brand-sub {
  color: #A9A29A;
}

.floating-nav-pill.theme-dark-nav .nav-item:hover {
  background: rgba(0, 0, 0, 0.35);
}

.nav-brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-avatar-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(26, 23, 20, 0.15);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: #212529;
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.68rem;
  color: var(--text-stone);
  font-weight: 500;
}

.nav-divider {
  width: 1px;
  height: 22px;
  background: rgba(26, 23, 20, 0.12);
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot-wrap {
  position: relative;
  width: 10px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-dot-ping {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--green-glow);
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-dot);
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.status-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-dot);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  color: var(--text-ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 10px;
  transition: all 0.2s;
}

.nav-item:hover {
  background: #F2F0E9;
}

.nav-ask-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: transparent;
}

.ask-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-ink);
}

.ask-orb {
  width: 34px;
  height: 34px;
  background: var(--text-ink);
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-ask-btn:hover .ask-orb {
  background: var(--terracotta);
  transform: scale(1.08) rotate(12deg);
}

/* Right Floating Contact Rail (Desktop) */
.floating-contact-rail {
  position: fixed;
  right: 28px;
  top: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(245, 245, 245, 0.95) 100%);
  box-shadow: var(--shadow-pill);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-ink);
  text-decoration: none;
  font-size: 1.25rem;
  position: relative;
  transition: transform 0.25s, background-color 0.25s;
}

.contact-circle:hover {
  transform: translateY(-2px);
  background: #F0EDE4;
}

.contact-circle.wa-circle {
  color: #1E8E3E;
}

.contact-circle[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: #212529;
  color: #FFF;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.contact-circle:hover[data-tooltip]::after {
  opacity: 1;
}

/* Mobile Topbar */
.mobile-topbar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 12px 18px;
  justify-content: space-between;
  align-items: center;
  background: rgba(251, 249, 244, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.mobile-id-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: #FFF;
  padding: 5px 12px 5px 6px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid var(--border-light);
}

.mobile-avatar-img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.mobile-name {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-ink);
  display: block;
}

.mobile-sub {
  font-size: 0.65rem;
  color: var(--text-stone);
}

.mobile-actions {
  display: flex;
  gap: 8px;
}

.mobile-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFF;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-ink);
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.mobile-icon-circle.wa-circle {
  color: #1E8E3E;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 160px 0 70px;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-ink);
  margin-bottom: 22px;
  word-break: break-word;
}

.hero-subtext {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-stone);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 34px;
}

.hero-subtext b {
  color: var(--text-ink);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-with-sub {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.btn-terracotta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--terracotta);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 14px 34px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0px 2px 5px 0px rgba(94, 41, 20, 0.22), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.18);
  border: none;
  cursor: pointer;
  transition: background-color 0.25s, transform 0.2s;
}

.btn-terracotta:hover {
  background: var(--terracotta-hover);
  transform: translateY(-1px);
}

.cta-micro-label {
  font-size: 0.8rem;
  color: var(--text-stone);
}

.link-underline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s;
}

.link-underline:hover {
  color: var(--terracotta);
}

.hero-proof-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

.proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF;
  border: 1px solid var(--border-light);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-stone);
}

.proof-chip b {
  color: var(--text-ink);
}

/* Portrait & Overlapping Rotor Badge */
.hero-portrait-col {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.portrait-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.portrait-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 20px 40px -10px rgba(26, 23, 20, 0.18);
  display: block;
}

.portrait-seal-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  z-index: 10;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
}

.rotating-seal-svg {
  width: 100%;
  height: 100%;
}

.badge-rotor {
  transform-origin: 75px 75px;
  animation: badgeSpin 28s linear infinite;
}

@keyframes badgeSpin {
  to { transform: rotate(360deg); }
}

.seal-inner-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
}

/* ==========================================================================
   3. PROOF MARQUEE
   ========================================================================== */
.proof-marquee-band {
  background: #F2EFE8;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-inner {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-stone);
  letter-spacing: 0.1em;
  animation: marqueeRun 24s linear infinite;
}

.marquee-inner span {
  margin: 0 14px;
}

.dot-sep {
  color: var(--terracotta);
}

@keyframes marqueeRun {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   4. CONTENT SECTIONS COMMON
   ========================================================================== */
.content-section {
  padding: 100px 0;
}

.bg-paper-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-title-wrap {
  margin-bottom: 44px;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  margin-bottom: 10px;
}

.section-big-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-stone);
  max-width: 620px;
  margin-top: 10px;
}

/* ==========================================================================
   SELECTED WORKS (Visual Creative Layout)
   ========================================================================== */
.works-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.work-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 23, 20, 0.08);
}

.work-card-visual {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 32px;
}

/* Project Browser Mockup Frame */
.project-mockup-frame {
  background: #F2EFE8;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(26, 23, 20, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover .project-mockup-frame {
  transform: scale(1.015);
  box-shadow: 0 14px 30px -5px rgba(26, 23, 20, 0.12);
}

.mockup-dark-theme {
  background: #0E1017;
  border-color: rgba(255, 255, 255, 0.1);
}

.mockup-browser-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(26, 23, 20, 0.04);
  border-bottom: 1px solid rgba(26, 23, 20, 0.06);
}

.mockup-dark-theme .mockup-browser-header {
  background: #171821;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.dot-r { background: #FF5F56; }
.dot-y { background: #FFBD2E; }
.dot-g { background: #27C93F; }

.mock-url-bar {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-stone);
  background: #FFFFFF;
  padding: 2px 12px;
  border-radius: 20px;
  border: 1px solid rgba(26, 23, 20, 0.08);
  flex-grow: 1;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-dark-theme .mock-url-bar {
  background: #20212B;
  color: #A9A29A;
  border-color: rgba(255, 255, 255, 0.08);
}

.mockup-img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #EAE6DD;
}

.project-screenshot {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.work-card:hover .project-screenshot {
  transform: scale(1.03);
}

.mockup-overlay-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 23, 20, 0.08);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #2F7C12;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.mockup-overlay-badge.badge-resolved {
  color: var(--terracotta);
}

.mockup-overlay-badge.badge-hospital {
  color: #1769AA;
  background: rgba(255, 255, 255, 0.95);
}

/* Content Column Styles */
.work-content-col {
  display: flex;
  flex-direction: column;
}

.work-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  background: #F4F1EB;
  border-radius: 4px;
  color: var(--text-stone);
}

.chip-dark {
  background: var(--text-ink);
  color: #FFF;
}

.chip-green {
  background: rgba(71, 171, 25, 0.12);
  color: #2F7C12;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-dot);
  animation: ping 1.5s infinite;
}

.work-external-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: #FBF9F4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-ink);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
  flex-shrink: 0;
}

.work-external-btn:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #FFF;
  transform: rotate(45deg);
}

.work-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.work-desc {
  color: var(--text-stone);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.work-desc code {
  font-family: var(--font-mono);
  background: #F2EFE8;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
  color: var(--terracotta);
}

.work-takeaways {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.takeaway-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-ink);
}

.work-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.metric-mini-pill {
  display: flex;
  flex-direction: column;
}

.metric-mini-val {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--terracotta);
  line-height: 1;
}

.metric-mini-label {
  font-size: 0.75rem;
  color: var(--text-stone);
  font-family: var(--font-mono);
}

.btn-sm {
  padding: 8px 18px !important;
  font-size: 0.85rem !important;
}

/* ==========================================================================
   5. BENTO PHILOSOPHY
   ========================================================================== */
.surinder-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bento-tile {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 34px;
}

.bento-2col {
  grid-column: span 2;
}

.tile-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}

.tile-head {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 12px;
}

.tile-p {
  color: var(--text-muted-dark);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ==========================================================================
   6. PRICING CARDS
   ========================================================================== */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card-featured {
  border: 2px solid var(--terracotta);
  box-shadow: 0 10px 30px rgba(176, 85, 47, 0.12);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--terracotta);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
}

.plan-type {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-stone);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
}

.plan-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.plan-summary {
  font-size: 0.88rem;
  color: var(--text-stone);
  line-height: 1.5;
  min-height: 40px;
  margin-bottom: 18px;
}

.plan-cost {
  padding: 14px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.cost-val {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-ink);
}

.cost-sub {
  font-size: 0.8rem;
  color: var(--text-stone);
  display: block;
}

.plan-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.plan-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-ink);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--text-ink);
  background: transparent;
  color: var(--text-ink);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline-dark:hover {
  background: var(--text-ink);
  color: #FFF;
}

/* ==========================================================================
   7. ABOUT SECTION
   ========================================================================== */
.bio-layout-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 44px;
}

.bio-main-text p {
  color: var(--text-muted-dark);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.bio-main-text b {
  color: #FFF;
}

.bio-timeline {
  margin-top: 32px;
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tl-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  font-size: 0.9rem;
}

.tl-time {
  font-family: var(--font-mono);
  color: var(--terracotta);
  font-weight: 600;
}

.tl-detail {
  color: var(--text-light);
}

.tl-detail b {
  color: #FFF;
}

.bio-sidebar-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.legal-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFF;
  display: block;
}

.legal-sub {
  font-size: 0.78rem;
  color: var(--text-muted-dark);
  font-family: var(--font-mono);
}

.legal-rows {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.82rem;
}

.l-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 6px;
}

.l-row span { color: var(--text-muted-dark); }
.l-row b { color: #FFF; }

.legal-badge-pill {
  background: rgba(71, 171, 25, 0.1);
  border: 1px solid rgba(71, 171, 25, 0.25);
  color: #58D028;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   8. CONTACT SECTION
   ========================================================================== */
.contact-box-surinder {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-card);
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.contact-sub {
  color: var(--text-stone);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.quick-contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-link-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: #FBF9F4;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-ink);
  transition: all 0.2s;
}

.contact-link-pill:hover {
  border-color: var(--terracotta);
  background: #F5F1E8;
  transform: translateX(4px);
}

.contact-link-pill i {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.wa-pill i { color: #1E8E3E; }
.mail-pill i { color: var(--terracotta); }

.pill-label {
  font-size: 0.72rem;
  color: var(--text-stone);
  font-family: var(--font-mono);
  display: block;
}

.pill-val {
  font-size: 0.95rem;
  font-weight: 700;
}

/* Form Styles */
.surinder-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-stone);
  font-family: var(--font-mono);
}

.form-group input, .form-group select, .form-group textarea {
  background: #FBF9F4;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-ink);
  font-family: var(--font-body);
  font-size: 16px; /* Prevents auto-zoom on iOS Safari */
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--terracotta);
  background: #FFFFFF;
}

.form-notice {
  font-size: 0.85rem;
  text-align: center;
  min-height: 20px;
}

.form-notice.success { color: #2F7C12; font-weight: 600; }
.form-notice.error { color: #C53030; }

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.main-footer {
  border-top: 1px solid var(--border-light);
  padding: 44px 0 32px;
  background: #FBF9F4;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.3fr 1.5fr 1fr;
  align-items: center;
  gap: 24px;
}

.foot-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  display: block;
}

.foot-tag {
  font-size: 0.8rem;
  color: var(--text-stone);
}

.foot-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.foot-nav a {
  color: var(--text-stone);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}

.foot-nav a:hover {
  color: var(--terracotta);
}

.foot-right {
  text-align: right;
  font-size: 0.78rem;
  color: var(--text-stone);
}

.foot-siret {
  font-family: var(--font-mono);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVENESS (Refined & Bulletproof)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 36px;
  }
  .hero-portrait-col {
    justify-content: center;
  }
  .portrait-wrapper {
    max-width: 380px;
    margin: 0 auto;
  }
  .work-card-visual {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  .surinder-bento {
    grid-template-columns: 1fr;
  }
  .bento-2col {
    grid-column: span 1;
  }
  .pricing-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .bio-layout-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-box-surinder {
    grid-template-columns: 1fr;
    padding: 34px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  .foot-right {
    text-align: center;
  }
}

@media (max-width: 820px) {
  .floating-nav-pill, .floating-contact-rail {
    display: none !important;
  }
  .mobile-topbar {
    display: flex;
  }
  .hero-section {
    padding-top: 95px;
    padding-bottom: 50px;
  }
  .container {
    padding: 0 20px;
  }
  .content-section {
    padding: 70px 0;
  }
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .btn-with-sub {
    width: 100%;
  }
  .btn-terracotta {
    width: 100%;
    text-align: center;
  }
  .link-underline {
    text-align: center;
  }
  .portrait-wrapper {
    max-width: 300px;
  }
  .portrait-seal-badge {
    bottom: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
  }
  .work-card {
    padding: 24px 18px;
  }
  .bento-tile {
    padding: 24px 18px;
  }
  .pricing-card {
    padding: 26px 18px;
  }
  .bio-sidebar-card {
    padding: 22px 18px;
  }
  .contact-box-surinder {
    padding: 22px 16px;
    gap: 28px;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .tl-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .foot-nav {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-proof-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .proof-chip {
    width: 100%;
  }
  .work-tags {
    gap: 6px;
  }
  .chip {
    font-size: 0.68rem;
    padding: 3px 8px;
  }
  .work-external-btn {
    width: 38px;
    height: 38px;
  }
  .portrait-wrapper {
    max-width: 260px;
  }
  .portrait-seal-badge {
    width: 85px;
    height: 85px;
    bottom: -8px;
    right: -8px;
  }
  .seal-inner-icon {
    font-size: 1.2rem;
  }
}
