/* ============================================
   KOSTAS KARASANTES - Premium Business Site
   Clean, Professional, Bilingual (EL/EN)
   ============================================ */

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* === CSS VARIABLES === */
:root {
  --primary: #1a1f2e;
  --primary-light: #252b3d;
  --secondary: #c9a84c;
  --secondary-light: #dfc06e;
  --accent: #e8b44f;
  --text: #f5f3ee;
  --text-muted: #b0b1c0;
  --text-dark: #1a1f2e;
  --bg-dark: #0f1219;
  --bg-card: #1e2333;
  --bg-card-hover: #262c42;
  --border: rgba(201, 168, 76, 0.15);
  --border-light: rgba(255, 255, 255, 0.08);
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-width: 1240px;
  --header-height: 80px;
  --header-bg: rgba(15, 18, 25, 0.85);
  --header-bg-scroll: rgba(15, 18, 25, 0.95);
  --hero-glow: rgba(201, 168, 76, 0.06);
  --input-bg: var(--primary-light);
}

/* === LIGHT MODE === */
html[data-theme="light"] {
  --primary: #f8f7f4;
  --primary-light: #f0eeea;
  --secondary: #b08a30;
  --secondary-light: #c9a84c;
  --accent: #d4a03a;
  --text: #1a1f2e;
  --text-muted: #5a5d6e;
  --text-dark: #1a1f2e;
  --bg-dark: #ffffff;
  --bg-card: #f5f4f0;
  --bg-card-hover: #edecea;
  --border: rgba(160, 130, 50, 0.18);
  --border-light: rgba(0, 0, 0, 0.07);
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
  --header-bg: rgba(255, 255, 255, 0.88);
  --header-bg-scroll: rgba(255, 255, 255, 0.95);
  --hero-glow: rgba(201, 168, 76, 0.08);
  --input-bg: #ffffff;
}

html[data-theme="light"] .logo-icon {
  background: linear-gradient(135deg, #b08a30, #d4a03a);
}
html[data-theme="light"] .hero h1 .highlight {
  background: linear-gradient(135deg, #b08a30, #d4a03a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
html[data-theme="light"] .about-photo .initials {
  background: linear-gradient(135deg, #b08a30, #d4a03a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
html[data-theme="light"] .service-mini-icon.web { background: rgba(59, 130, 246, 0.1); }
html[data-theme="light"] .service-mini-icon.edu { background: rgba(16, 185, 129, 0.1); }
html[data-theme="light"] .service-mini-icon.support { background: rgba(244, 114, 182, 0.1); }
html[data-theme="light"] .service-mini-icon.server { background: rgba(168, 85, 247, 0.1); }
html[data-theme="light"] .hero-visual-card::before {
  background: linear-gradient(135deg, rgba(176, 138, 48, 0.2), transparent, rgba(176, 138, 48, 0.08));
}
html[data-theme="light"] .pricing-card.featured {
  background: linear-gradient(180deg, rgba(176, 138, 48, 0.06) 0%, var(--bg-card) 100%);
}
html[data-theme="light"] ::selection {
  background: #b08a30;
  color: #ffffff;
}
html[data-theme="light"] ::-webkit-scrollbar-track { background: #f0f0f0; }
html[data-theme="light"] ::-webkit-scrollbar-thumb { background: #ccc; }
html[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: #b08a30; }

/* === THEME TOGGLE BUTTON === */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary-light);
  border: 1px solid var(--border-light);
  color: var(--secondary);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
  line-height: 1;
}
.theme-toggle:hover {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
  transform: scale(1.08);
}
.theme-toggle .icon-sun,
.theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* === SMOOTH THEME TRANSITION === */
body,
.header,
.nav,
.service-card,
.pricing-card,
.skill-tag,
.skill-group,
.contact-info-card,
.contact-form,
.cta-box,
.about-info-card,
.timeline-item,
.footer,
.btn,
.form-group input,
.form-group textarea,
.form-group select,
.theme-toggle,
.lang-switch button {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* === LIGHT MODE - additional overrides === */
html[data-theme="light"] .nav a:hover,
html[data-theme="light"] .nav a.active {
  color: var(--secondary);
  background: rgba(176, 138, 48, 0.08);
}
html[data-theme="light"] .btn-outline {
  border-color: var(--secondary);
  color: var(--secondary);
}
html[data-theme="light"] .btn-outline:hover {
  background: var(--secondary);
  color: #ffffff;
}
html[data-theme="light"] .btn-primary:hover {
  background: linear-gradient(135deg, #9a7a28, #b89030);
}
html[data-theme="light"] .hero-stat .number {
  color: var(--secondary);
}
html[data-theme="light"] .contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
}
html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group textarea,
html[data-theme="light"] .form-group select {
  background: var(--input-bg);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--text);
}
html[data-theme="light"] .form-group input:focus,
html[data-theme="light"] .form-group textarea:focus,
html[data-theme="light"] .form-group select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(176, 138, 48, 0.12);
}
html[data-theme="light"] .form-group label {
  color: var(--text);
}
html[data-theme="light"] .footer {
  background: #f0eeea;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
html[data-theme="light"] .footer-col a:hover {
  color: var(--secondary);
}
html[data-theme="light"] .about-info-card {
  background: var(--bg-card);
}
html[data-theme="light"] .about-photo .initials-circle {
  background: rgba(176, 138, 48, 0.08);
  border-color: rgba(176, 138, 48, 0.2);
}
html[data-theme="light"] .page-hero {
  background: linear-gradient(180deg, #edecea 0%, var(--bg-dark) 100%);
}
html[data-theme="light"] .hero {
  background: linear-gradient(180deg, #f8f7f4 0%, #edecea 100%);
}
html[data-theme="light"] .hero::before {
  background: radial-gradient(ellipse at center, rgba(176, 138, 48, 0.05) 0%, transparent 70%);
}
html[data-theme="light"] .hero::after {
  background: none;
}
html[data-theme="light"] .section:nth-child(even) {
  background: rgba(0, 0, 0, 0.015);
}
html[data-theme="light"] .lang-switch button {
  color: var(--text-muted);
  border-color: rgba(0, 0, 0, 0.1);
}
html[data-theme="light"] .lang-switch button.active {
  background: var(--secondary);
  color: #ffffff;
  border-color: var(--secondary);
}
html[data-theme="light"] .pricing-card .price {
  color: var(--secondary);
}
html[data-theme="light"] .timeline-line {
  background: linear-gradient(to bottom, var(--secondary), rgba(176, 138, 48, 0.2));
}
html[data-theme="light"] .timeline-dot {
  background: var(--secondary);
}
html[data-theme="light"] .skill-tag:hover {
  background: rgba(176, 138, 48, 0.1);
  border-color: var(--secondary);
  color: var(--secondary);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* === LANGUAGE SWITCH CSS === */
html[data-lang="el"] .lang-en { display: none !important; }
html[data-lang="en"] .lang-el { display: none !important; }

/* === SELECTION === */
::selection {
  background: var(--secondary);
  color: var(--primary);
}

/* === SKIP LINK (Accessibility) === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--secondary);
  color: var(--primary);
  padding: 12px 24px;
  z-index: 10000;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0 0 8px 0;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--secondary); }

/* === LINKS === */
a {
  color: var(--secondary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--secondary-light); }

/* === CONTAINER === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === SECTION === */
.section {
  padding: 100px 0;
  position: relative;
}
.section--alt {
  background: var(--primary);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.8vw, 1.7rem); }
h4 { font-size: 1.2rem; }

p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 720px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  margin-bottom: 16px;
}
.section-header .accent-line {
  display: inline-block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 2px;
  margin-bottom: 20px;
}
.section-header p {
  margin: 0 auto;
  font-size: 1.2rem;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-height);
  transition: all var(--transition);
}
.header.scrolled {
  background: var(--header-bg-scroll);
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.logo-text span {
  color: var(--secondary);
}

/* Navigation */
.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav a:hover,
.nav a.active {
  color: var(--secondary);
  background: rgba(201, 168, 76, 0.08);
}

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 16px;
  background: var(--primary-light);
  border-radius: 8px;
  padding: 3px;
  border: 1px solid var(--border-light);
}
.lang-switch button {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.05em;
}
.lang-switch button.active {
  background: var(--secondary);
  color: var(--primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, var(--bg-dark), transparent);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

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

.hero h1 {
  margin-bottom: 24px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  line-height: 1.85;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}
.hero-stat .number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  width: 100%;
  max-width: 420px;
}
.hero-visual-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.3), transparent, rgba(201, 168, 76, 0.1));
  z-index: -1;
  padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.service-mini {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  margin-bottom: 12px;
  transition: all var(--transition);
}
.service-mini:last-child { margin-bottom: 0; }
.service-mini:hover { background: var(--bg-card-hover); transform: translateX(4px); }

.service-mini-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.service-mini-icon.web { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.service-mini-icon.edu { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.service-mini-icon.support { background: rgba(244, 114, 182, 0.15); color: #f472b6; }
.service-mini-icon.server { background: rgba(168, 85, 247, 0.15); color: #a78bfa; }

.service-mini-text h4 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.service-mini-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--primary);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
  color: var(--primary);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn-outline:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background: rgba(201, 168, 76, 0.05);
}
.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  background: rgba(201, 168, 76, 0.1);
  color: var(--secondary);
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.service-card p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 22px;
}

.service-card .price-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 50px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--secondary);
}

/* ============================================
   PRICING TABLE (for services pages)
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--secondary);
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.05) 0%, var(--bg-card) 100%);
}
.pricing-card.featured::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  border-radius: 2px;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.pricing-card-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
  max-width: none;
}
.pricing-card .price {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-card .price-unit {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.pricing-card .price small {
  font-size: 1rem;
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}
.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 1.02rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pricing-features li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   SKILLS / TECH STACK
   ============================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.skill-group {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
}
.skill-group h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.skill-group h3 .icon {
  color: var(--secondary);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.skill-tag {
  padding: 8px 16px;
  background: var(--primary-light);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
.skill-tag:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background: rgba(201, 168, 76, 0.05);
}

/* ============================================
   ABOUT / BIO PAGE
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.about-sidebar {
  position: sticky;
  top: 120px;
}
.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.about-photo .initials {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-info-card {
  margin-top: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
}
.about-info-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 1.02rem;
}
.about-info-item:last-child { border-bottom: none; }
.about-info-item .label {
  color: var(--text-muted);
  min-width: 100px;
  flex-shrink: 0;
}
.about-info-item .value {
  color: var(--text);
  font-weight: 500;
}

.about-content h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
.about-content p {
  margin-bottom: 20px;
  max-width: none;
}

.timeline {
  position: relative;
  margin-top: 48px;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--secondary), transparent);
}
.timeline-item {
  position: relative;
  padding-bottom: 36px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--secondary);
  border: 3px solid var(--bg-dark);
}
.timeline-item .year {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--secondary);
  margin-bottom: 6px;
}
.timeline-item h4 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.timeline-item p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: none;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: all var(--transition);
}
.contact-info-card:hover {
  border-color: var(--border);
  transform: translateX(4px);
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(201, 168, 76, 0.1);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-info-card h4 {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-info-card p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: none;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-form h3 {
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.98rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--primary-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  transition: all var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 140px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 20px;
}
.footer-col p {
  font-size: 1rem;
  line-height: 1.7;
}
.footer-col a {
  display: block;
  font-size: 1rem;
  color: var(--text-muted);
  padding: 6px 0;
  transition: all var(--transition);
}
.footer-col a:hover {
  color: var(--secondary);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  font-size: 0.95rem;
  color: var(--text-muted);
}


/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--bg-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  margin-bottom: 16px;
  position: relative;
}
.page-hero p {
  margin: 0 auto;
  font-size: 1.25rem;
  position: relative;
}
.page-hero .breadcrumb {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  position: relative;
}
.page-hero .breadcrumb a {
  color: var(--secondary);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 80px 0;
  text-align: center;
}
.cta-box {
  background: linear-gradient(135deg, var(--primary-light), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.cta-box h2 {
  margin-bottom: 16px;
  position: relative;
}
.cta-box p {
  margin: 0 auto 36px;
  position: relative;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.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
   ============================================ */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-sidebar { position: static; display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
  .about-photo { aspect-ratio: 1; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-height: 70px; }

  .nav { 
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--header-bg-scroll);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border-light);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; width: 100%; font-size: 1rem; }
  .menu-toggle { display: flex; order: -1; }

  .lang-switch { margin-left: auto; margin-right: 4px; order: 1; }

  .theme-toggle { order: 2; }

  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat .number { font-size: 2.2rem; }

  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }

  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

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

  .cta-box { padding: 40px 24px; }

  .btn-group { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  html { font-size: 16px; }
  .container { padding: 0 16px; }
  .page-hero { padding: 130px 0 60px; }
  .page-hero h1 { font-size: 1.8rem; }
  .pricing-card { padding: 28px 20px; }
  .pricing-card .price { font-size: 2.6rem; }
  .contact-form { padding: 24px 16px; }
  .service-card { padding: 24px; }
  .cta-box h2 { font-size: 1.6rem; }
  .hero-badge { font-size: 0.85rem; padding: 8px 16px; }
  .footer-grid { gap: 24px; }
}

/* === TOUCH DEVICE OPTIMIZATIONS === */
@media (hover: none) and (pointer: coarse) {
  .nav a { padding: 16px; min-height: 48px; display: flex; align-items: center; font-size: 1.05rem; }
  .btn { min-height: 48px; }
  .lang-switch button { min-height: 40px; min-width: 40px; }
  .form-group input,
  .form-group textarea,
  .form-group select { font-size: 16px; /* Prevents iOS zoom on focus */ }
}

/* === PRINT STYLES === */
@media print {
  .header, .menu-toggle, .lang-switch, .cta-section, .footer { display: none; }
  body { background: #fff; color: #000; }
  .section { padding: 20px 0; }
  .page-hero { padding: 40px 0; background: none; }
  a { color: #000; }
  .service-card, .pricing-card { break-inside: avoid; border: 1px solid #ccc; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .fade-in { opacity: 1; transform: none; }
}

/* === FOCUS STYLES (Accessibility) === */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
  border-radius: 4px;
}
