/* ==========================================================================
   TUNAS TOYOTA KIARA CONDONG - DESIGN SYSTEM & GLOBAL STYLES
   Concept: "Bright Automotive Experience" (White Dominant + Toyota Red Accents)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&display=swap');

:root {
  /* Colors */
  --color-white: #FFFFFF;
  --color-bg-light: #F5F3F0;
  --color-bg-subtle: #EDECEA;
  --color-border: #E0DCD6;
  --color-border-hover: #C5C0B8;

  /* Toyota Red Primary Palette */
  --toyota-red: #EB0A1E;
  --toyota-red-hover: #D0081A;
  --toyota-red-dark: #9E0613;
  --toyota-red-light: #FFF1F2;
  --toyota-red-glow: rgba(235, 10, 30, 0.18);
  --toyota-red-subtle: rgba(235, 10, 30, 0.06);

  /* Secondary & Neutral Tones */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-inverse: #FFFFFF;

  /* Accent Colors */
  --accent-green: #10B981;
  --accent-gold: #F59E0B;
  --accent-blue: #0284C7;
  --whatsapp-color: #25D366;
  --whatsapp-hover: #20BA5A;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 40px -6px rgba(15, 23, 42, 0.1), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
  --shadow-red: 0 12px 30px -5px rgba(235, 10, 30, 0.32);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container-max-width: 1280px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background-color: #F5F3F0;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open, body.modal-open {
  overflow: hidden;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Section Header Shared Styles */
.section {
  padding: 6rem 0;
  position: relative;
  scroll-margin-top: 4.8rem;
}

.hero-section {
  scroll-margin-top: 4.8rem;
}

.section:not(.section-light):not(.big-cta-section) {
  background: #FAFAF8;
  border-top: 1px solid #E8E6E1;
  border-bottom: 1px solid #E8E6E1;
}

.section-light {
  background: #EDECEA;
  position: relative;
  border-top: 1px solid #DDD9D3;
  border-bottom: 1px solid #DDD9D3;
}

.section-light::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at center, rgba(120, 113, 100, 0.12) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  opacity: 0.45;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: var(--toyota-red-light);
  color: var(--toyota-red);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  border: 1px solid rgba(235, 10, 30, 0.12);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.section-title span.highlight {
  color: var(--toyota-red);
  position: relative;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, #EB0A1E 0%, #D0081A 100%);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(235, 10, 30, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FF1A2E 0%, #EB0A1E 100%);
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--text-primary);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  background-color: var(--color-bg-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--toyota-red);
  color: var(--toyota-red);
  background-color: var(--toyota-red-light);
}

.btn-whatsapp {
  background-color: var(--whatsapp-color);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.38);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}