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

/* =====================================================
   DESIGN SYSTEM — Warm Minimalist Light & Orange Palette
   ===================================================== */

* {
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-style: normal;
  background-color: var(--primary-bg-color);
  color: var(--text-color);
  overflow-x: hidden;
  overflow-y: auto;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =====================================================
   WARM LIGHT & ORANGE DESIGN TOKENS
   ===================================================== */

:root {
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --font-heading: "Plus Jakarta Sans", "Inter", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Backgrounds */
  --primary-bg-color: #faf8f5;     /* Warm linen / cream canvas */
  --secondry-bg-color: #ffffff;    /* Pure crisp white for cards */
  --surface-subtle: #f4f0ea;       /* Subtle oyster surface for chips */
  --surface-hover: #fcfbf9;
  --nav-color: rgba(250, 248, 245, 0.85);
  --nav-hover-color: #f3efe7;

  /* Typography */
  --text-color: #1c1917;           /* Deep stone charcoal */
  --text-secondary: #57534e;      /* Warm slate */
  --text-muted: #8c827a;          /* Faint caption */

  /* Signature Orange Accent */
  --main-color: #f97316;           /* Energetic warm orange */
  --main-color-hover: #ea580c;     /* Deep orange for hover */
  --main-color-alpha50: rgba(249, 115, 22, 0.25);
  --main-color-light: #fff7ed;     /* Soft warm peach wash */
  --orange-border: #fed7aa;        /* Delicate peach border */
  --orange-glow: rgba(249, 115, 22, 0.12);

  /* Borders & Shadows */
  --border-color: #e7e2d7;         /* Delicate warm border */
  --border-subtle: #f0ece3;
  --card-shadow: 0 1px 3px rgba(28, 25, 23, 0.04), 0 4px 16px rgba(28, 25, 23, 0.02);
  --card-shadow-hover: 0 8px 24px rgba(249, 115, 22, 0.08), 0 2px 8px rgba(28, 25, 23, 0.04);

  /* Radius */
  --radius-ios: 20px;
  --radius-card: 16px;
  --radius-pill: 9999px;
  --radius-sm: 8px;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  --gradient-hero: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  --gradient-text: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  --gradient-accent: linear-gradient(135deg, #f97316, #fb923c);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #fdfcfb 100%);
}

/* =====================================================
   MAIN LAYOUT & CONTAINERS
   ===================================================== */

.main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--primary-bg-color);
  position: relative;
}

.sections {
  width: 100%;
  background-color: var(--primary-bg-color);
  color: var(--text-color);
}

.container-narrow {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =====================================================
   SECTION BANNERS
   ===================================================== */

.section-banner {
  padding: 4.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: transparent;
  position: relative;
}

.section-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
  color: var(--text-color);
  position: relative;
  display: inline-block;
  padding-bottom: 0.6rem;
}

.section-banner h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--main-color);
  border-radius: var(--radius-pill);
}

.section-banner p.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  max-width: 540px;
}

/* =====================================================
   SHARED BUTTONS & CHIPS
   ===================================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--main-color);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px var(--main-color-alpha50);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--main-color-hover) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.35);
}

.btn-primary:hover i,
.btn-primary:hover span {
  color: #ffffff !important;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--secondry-bg-color);
  color: var(--text-color) !important;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--orange-border) !important;
  color: var(--main-color) !important;
  transform: translateY(-2px);
  background: var(--main-color-light) !important;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.12);
}

.btn-secondary:hover i {
  color: var(--main-color) !important;
}

/* Status Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: var(--secondry-bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}

/* =====================================================
   LINKEDIN FLOATING BUTTON
   ===================================================== */

#linkedin-fab,
#whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #0a66c2;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(10, 102, 194, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#linkedin-fab:hover,
#whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(10, 102, 194, 0.65);
}

#linkedin-fab .linkedin-tooltip,
#whatsapp-fab .whatsapp-tooltip {
  position: absolute;
  right: 3.8rem;
  background: var(--secondry-bg-color);
  color: var(--text-color);
  font-size: 0.8rem;
  font-family: var(--font);
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

#linkedin-fab:hover .linkedin-tooltip,
#whatsapp-fab:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* =====================================================
   CONTACT FORM STATUS MESSAGE
   ===================================================== */

#msg-sent {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  display: none;
  text-align: center;
}

#msg-sent.success {
  display: block;
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #15803d;
}

#msg-sent.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
}
