/* ============================================
   CARLOS G HERNANDEZ LLC - Professional Stylesheet
   ============================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  --clr-primary: #0c1e35;
  --clr-primary-light: #163a63;
  --clr-primary-mid: #0f2a4a;
  --clr-accent: #c9972e;
  --clr-accent-light: #e0b554;
  --clr-accent-dark: #a87d22;
  --clr-dark: #0a1628;
  --clr-body: #1e293b;
  --clr-body-light: #475569;
  --clr-light: #f5f7fb;
  --clr-light-alt: #eef1f7;
  --clr-white: #ffffff;
  --clr-border: #e2e6ef;
  --clr-success: #10b981;
  --clr-gradient-1: linear-gradient(135deg, #0c1e35 0%, #1a3c6d 100%);
  --clr-gradient-2: linear-gradient(135deg, #c9972e 0%, #e0b554 100%);
  --clr-gradient-hero: linear-gradient(135deg, #0a1628 0%, #0c1e35 40%, #163a63 100%);

  --ff-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ff-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --fs-display: clamp(2.75rem, 6vw, 4.5rem);
  --fs-h1: clamp(2.25rem, 4.5vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 3vw, 2.5rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.625rem);
  --fs-h4: 1.125rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  --space-xs: 0.375rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(12, 30, 53, 0.08);
  --shadow-md: 0 4px 16px rgba(12, 30, 53, 0.1);
  --shadow-lg: 0 12px 40px rgba(12, 30, 53, 0.15);
  --shadow-xl: 0 24px 60px rgba(12, 30, 53, 0.2);
  --shadow-glow: 0 0 30px rgba(201, 151, 46, 0.15);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1200px;
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-primary);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--clr-body);
  background: var(--clr-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--clr-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--clr-accent-light);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--clr-primary);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.section-padding {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--clr-accent);
  margin-bottom: var(--space-sm);
  position: relative;
}

.section-label::before,
.section-label::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--clr-accent);
  vertical-align: middle;
  margin: 0 10px;
  opacity: 0.5;
}

.section-title {
  margin-bottom: var(--space-md);
  color: var(--clr-primary);
}

.section-subtitle {
  font-size: var(--fs-h4);
  font-weight: 400;
  color: var(--clr-body-light);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-family: var(--ff-primary);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--clr-gradient-2);
  color: var(--clr-dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--clr-dark);
}

.btn-outline {
  background: transparent;
  color: var(--clr-white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
}

.btn-outline-dark:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: var(--fs-body);
}

.btn .icon-arrow {
  transition: transform var(--transition);
}

.btn:hover .icon-arrow {
  transform: translateX(4px);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12, 30, 53, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: var(--header-height);
  transition: background var(--transition);
}

.site-header.scrolled {
  background: rgba(12, 30, 53, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--clr-gradient-2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--clr-dark);
  line-height: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text-main {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: -0.01em;
}

.logo-text-sub {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--clr-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Navigation */
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  color: rgba(255,255,255,0.8);
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-accent);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--clr-white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--clr-gradient-2);
  color: var(--clr-dark) !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all var(--transition);
}

.nav-cta::after { display: none; }

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--clr-gradient-hero);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-pattern .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.hero-bg-pattern .orb-1 {
  width: 600px;
  height: 600px;
  background: var(--clr-accent);
  top: -15%;
  right: -10%;
  animation: float 20s ease-in-out infinite;
}

.hero-bg-pattern .orb-2 {
  width: 400px;
  height: 400px;
  background: #3a86ff;
  bottom: -10%;
  left: -5%;
  animation: float 25s ease-in-out infinite reverse;
}

.hero-bg-pattern .orb-3 {
  width: 300px;
  height: 300px;
  background: var(--clr-accent-light);
  top: 40%;
  left: 50%;
  animation: float 18s ease-in-out infinite;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 1.25rem;
  background: rgba(201, 151, 46, 0.12);
  border: 1px solid rgba(201, 151, 46, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--clr-accent-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-lg);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--clr-success);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-size: var(--fs-display);
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1.08;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  background: var(--clr-gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 700px;
}

.hero-stat-value {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.hero-stat-value .accent {
  color: var(--clr-accent);
}

.hero-stat-label {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.3);
  font-size: var(--fs-xs);
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: fade-in-out 3s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

/* ============================================
   ABOUT PREVIEW / SECTIONS
   ============================================ */

/* About Preview */
.about-preview {
  background: var(--clr-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-block {
  background: var(--clr-gradient-1);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-image-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(201,151,46,0.1) 0%, transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(58,134,255,0.08) 0%, transparent 50%);
}

.about-image-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.about-image-icon {
  font-size: 4rem;
  margin-bottom: var(--space-md);
  display: block;
}

.about-image-tagline {
  color: rgba(255,255,255,0.8);
  font-size: var(--fs-h4);
  font-weight: 300;
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.5;
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--clr-gradient-2);
  color: var(--clr-dark);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-experience-badge .number {
  display: block;
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1;
}

.about-experience-badge .label {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-text .about-features {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.about-feature-item {
  display: flex;
  gap: var(--space-md);
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(201, 151, 46, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.about-feature-text h4 {
  font-size: var(--fs-body);
  margin-bottom: var(--space-xs);
}

.about-feature-text p {
  font-size: var(--fs-small);
  color: var(--clr-body-light);
  margin-bottom: 0;
}

/* --- Services Section --- */
.services-section {
  background: var(--clr-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.service-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--clr-gradient-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(201, 151, 46, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  transition: background var(--transition);
}

.service-card:hover .service-card-icon {
  background: var(--clr-gradient-2);
}

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.service-card p {
  font-size: var(--fs-small);
  color: var(--clr-body-light);
  margin-bottom: 0;
  line-height: 1.7;
}

/* --- Why Choose Us --- */
.why-section {
  background: var(--clr-white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.why-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  transition: all var(--transition);
}

.why-card:hover {
  border-color: var(--clr-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.why-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  background: rgba(201, 151, 46, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all var(--transition);
}

.why-card:hover .why-card-icon {
  background: var(--clr-gradient-2);
  transform: scale(1.1);
}

.why-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.why-card p {
  font-size: var(--fs-small);
  color: var(--clr-body-light);
  margin-bottom: 0;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--clr-gradient-1);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(201,151,46,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(58,134,255,0.06) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--clr-white);
  margin-bottom: var(--space-md);
}

.cta-content p {
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-h4);
  font-weight: 300;
  margin-bottom: var(--space-xl);
}

.cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Contact Section --- */
.contact-section {
  background: var(--clr-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-info-item {
  display: flex;
  gap: var(--space-md);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(201, 151, 46, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-info-text h4 {
  font-size: var(--fs-body);
  margin-bottom: var(--space-xs);
}

.contact-info-text p,
.contact-info-text a {
  font-size: var(--fs-small);
  color: var(--clr-body-light);
  margin-bottom: 0;
}

.contact-form {
  display: grid;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--clr-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-family: var(--ff-primary);
  font-size: var(--fs-body);
  color: var(--clr-body);
  background: var(--clr-white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(201, 151, 46, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ============================================
   PAGE BANNER (Inner Pages)
   ============================================ */
.page-banner {
  background: var(--clr-gradient-hero);
  padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  color: var(--clr-white);
  margin-bottom: var(--space-sm);
}

.page-banner p {
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-h4);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.4);
}

.breadcrumbs a {
  color: rgba(255,255,255,0.6);
}

.breadcrumbs a:hover {
  color: var(--clr-accent);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-story {
  background: var(--clr-white);
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
}

.story-content h2 {
  margin-bottom: var(--space-md);
}

.story-content p {
  color: var(--clr-body-light);
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
}

.about-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.about-detail-item {
  padding: var(--space-lg);
  background: var(--clr-light);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--clr-accent);
}

.about-detail-item h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.about-detail-item p {
  font-size: var(--fs-small);
  color: var(--clr-body-light);
  margin-bottom: 0;
}

/* Values */
.values-section {
  background: var(--clr-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.value-card {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.value-card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
}

.value-card p {
  font-size: var(--fs-small);
  color: var(--clr-body-light);
  margin-bottom: 0;
}

/* --- Services Page --- */
.services-main {
  background: var(--clr-white);
}

.service-detailed {
  display: grid;
  gap: var(--space-2xl);
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-xl);
  background: var(--clr-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.service-block:nth-child(even) {
  direction: rtl;
}

.service-block:nth-child(even) .service-block-text {
  direction: ltr;
}

.service-block-visual {
  min-height: 220px;
  background: var(--clr-gradient-1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.service-block-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(201,151,46,0.12) 0%, transparent 50%);
}

.service-block-text h3 {
  margin-bottom: var(--space-sm);
}

.service-block-text p {
  color: var(--clr-body-light);
  font-size: var(--fs-small);
  margin-bottom: var(--space-md);
}

.service-block-text ul {
  display: grid;
  gap: var(--space-sm);
}

.service-block-text ul li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-small);
  color: var(--clr-body-light);
}

.service-block-text ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--clr-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Privacy & Terms Pages --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content section {
  margin-bottom: var(--space-xl);
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--clr-primary);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--clr-border);
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  margin-top: var(--space-lg);
}

.legal-content p {
  color: var(--clr-body-light);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-md);
}

.legal-content ul li {
  color: var(--clr-body-light);
  margin-bottom: var(--space-sm);
  padding-left: var(--space-lg);
  position: relative;
  line-height: 1.7;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--clr-accent);
  border-radius: 50%;
}

.legal-content .last-updated {
  font-size: var(--fs-small);
  color: var(--clr-body-light);
  font-style: italic;
  margin-bottom: var(--space-xl);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--clr-dark);
  color: rgba(255,255,255,0.6);
  padding: var(--space-2xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .logo-text-main {
  font-size: 1.1rem;
}

.footer-brand p {
  font-size: var(--fs-small);
  margin-top: var(--space-md);
  color: rgba(255,255,255,0.45);
  max-width: 300px;
  line-height: 1.7;
}

.footer h4 {
  color: var(--clr-white);
  font-size: var(--fs-body);
  margin-bottom: var(--space-lg);
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: var(--fs-small);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--clr-accent);
}

.footer-contact li {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.5);
}

.footer-contact li span:first-child {
  color: var(--clr-accent);
  font-weight: 600;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  font-size: var(--fs-xs);
}

.footer-bottom-links a:hover {
  color: var(--clr-accent);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes fade-in-out {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-block {
    grid-template-columns: 1fr;
  }

  .service-block:nth-child(even) {
    direction: ltr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --space-3xl: 4rem;
    --space-2xl: 3rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--clr-primary);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--header-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
    gap: var(--space-md);
    transition: right var(--transition);
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }

  .nav-list.active {
    right: 0;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }

  .nav-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  .hero-stat-value {
    font-size: var(--fs-h3);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-image-block {
    min-height: 280px;
  }

  .services-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-details-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .section-label::before,
  .section-label::after {
    width: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .page-banner {
    padding: calc(var(--header-height) + var(--space-lg)) 0 var(--space-lg);
  }

  .about-experience-badge {
    position: static;
    margin-top: var(--space-md);
    display: inline-block;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero-stats {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
  }
}
