/*
Theme Name: Hacecalor Child
Template: kadence
Description: Hacecalor landing page child theme
Version: 1.0
*/

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

:root {
  --bg:           #0D0F14;
  --bg2:          #12151C;
  --bg3:          #181B24;
  --card:         #1C2030;
  --fg:           #F0F2F8;
  --fg2:          #8892A4;
  --fg3:          #4A5568;
  --accent:       #4C6EF5;
  --accent-glow:  rgba(76,110,245,0.15);
  --accent-light: #748FFC;
  --border:       #1E2333;
  --border-light: #262D40;
  --radius:       12px;
  --font-head:    'Space Grotesk', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ─── LAYOUT ───────────────────────────────────────────── */
.hc-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.hc-section    { padding: 72px 0; }
.hc-section--dark { background: var(--bg2); }

/* ─── TYPOGRAPHY ────────────────────────────────────────── */
.hc-eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 8px;
  display: block;
}
.hc-h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.1; color: var(--fg);
  margin-bottom: 32px;
}
.hc-h2 span { color: var(--fg2); font-weight: 400; }
.hc-lead { font-size: 15px; color: var(--fg2); line-height: 1.7; font-weight: 300; }

/* ─── BUTTONS ───────────────────────────────────────────── */
.hc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  letter-spacing: 0.01em; transition: opacity 150ms ease;
  border: none; font-family: var(--font-body);
}
.hc-btn:hover { opacity: 0.88; }
.hc-btn--primary { background: var(--accent); color: #fff; }
.hc-btn--ghost   {
  background: rgba(255,255,255,0.06); color: var(--fg);
  border: 1px solid var(--border-light);
}

/* ─── NAV ───────────────────────────────────────────────── */
.hc-nav {
  position: sticky; top: 0; z-index: 100;
  padding: 0 32px;
  background: rgba(13,15,20,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  height: 60px;
}
.hc-nav__logo {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 700; letter-spacing: -0.03em;
}
.hc-nav__logo span { color: var(--accent); }
.hc-nav__links { display: flex; gap: 28px; align-items: center; }
.hc-nav__links a {
  color: var(--fg2); font-size: 13px; font-weight: 500;
  transition: color 150ms;
}
.hc-nav__links a:hover { color: var(--fg); }
.hc-nav__links .hc-btn--primary { padding: 8px 18px; font-size: 12px; }

/* ─── HERO ──────────────────────────────────────────────── */
.hc-hero {
  position: relative; min-height: 600px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hc-hero__bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1600&q=80');
  background-size: cover; background-position: center;
  filter: brightness(0.3) saturate(0.7);
}
.hc-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg,
    rgba(13,15,20,0.3) 0%,
    rgba(13,15,20,0.7) 40%,
    rgba(13,15,20,0.96) 100%
  );
}
.hc-hero__inner {
  position: relative; z-index: 2;
  width: 100%; padding: 80px 32px;
  display: grid; grid-template-columns: 1fr 260px;
  gap: 48px; align-items: center; max-width: 1200px; margin: 0 auto;
}
.hc-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(76,110,245,0.12); border: 1px solid rgba(76,110,245,0.3);
  color: var(--accent-light); padding: 5px 14px; border-radius: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 22px;
}
.hc-hero__badge-dot { width: 6px; height: 6px; background: var(--accent-light); border-radius: 50%; }
.hc-hero__h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: 18px;
}
.hc-hero__h1 span { color: var(--accent-light); }
.hc-hero__sub {
  color: var(--fg2); font-size: 15px; line-height: 1.7;
  margin-bottom: 30px; font-weight: 300; max-width: 480px;
}
.hc-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hc-hero__stats {
  background: rgba(28,32,48,0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.hc-hero__stat {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.hc-hero__stat:last-child { border-bottom: none; }
.hc-hero__stat-n {
  font-family: var(--font-head);
  font-size: 28px; font-weight: 700;
  letter-spacing: -0.04em; line-height: 1;
}
.hc-hero__stat-n em { font-style: normal; color: var(--accent-light); font-size: 18px; }
.hc-hero__stat-l { font-size: 11px; color: var(--fg3); margin-top: 4px; }

/* ─── TRUST STRIP ───────────────────────────────────────── */
.hc-trust {
  padding: 14px 32px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 20px;
}
.hc-trust__label {
  font-size: 11px; color: var(--fg3); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; white-space: nowrap;
}
.hc-trust__sep { width: 1px; height: 20px; background: var(--border-light); flex-shrink: 0; }
.hc-trust__items { display: flex; gap: 28px; flex-wrap: wrap; }
.hc-trust__item { font-size: 12px; color: var(--fg3); font-weight: 600; letter-spacing: 0.03em; }

/* ─── BENTO SERVICES ────────────────────────────────────── */
.hc-bento {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.hc-bento-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden; position: relative;
  transition: border-color 200ms;
}
.hc-bento-card:hover { border-color: var(--border-light); }
.hc-bento-card__img {
  width: 100%; height: 130px;
  object-fit: cover; display: block;
  filter: brightness(0.65) saturate(0.8);
}
.hc-bento-card__body { padding: 18px; }
.hc-bento-card__icon {
  width: 34px; height: 34px;
  background: var(--accent-glow);
  border: 1px solid rgba(76,110,245,0.22);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-light); margin-bottom: 12px;
}
.hc-bento-card__name {
  font-family: var(--font-head);
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.01em; margin-bottom: 6px;
}
.hc-bento-card__desc { font-size: 12px; color: var(--fg2); line-height: 1.55; font-weight: 400; }
.hc-bento-card__arrow {
  position: absolute; top: 14px; right: 14px;
  color: var(--fg3); font-size: 14px; font-family: monospace;
}

/* ─── WHY US ────────────────────────────────────────────── */
.hc-why__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.hc-why__photo {
  border-radius: var(--radius); overflow: hidden; height: 320px;
}
.hc-why__photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: brightness(0.7) saturate(0.8);
}
.hc-why__list { display: flex; flex-direction: column; }
.hc-why__item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.hc-why__item:first-of-type { padding-top: 0; }
.hc-why__item:last-of-type { border-bottom: none; padding-bottom: 0; }
.hc-why__icon {
  width: 26px; height: 26px; flex-shrink: 0;
  background: var(--accent-glow);
  border-radius: 6px; display: flex;
  align-items: center; justify-content: center;
  color: var(--accent-light); margin-top: 2px;
}
.hc-why__name { font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 3px; }
.hc-why__desc { font-size: 12px; color: var(--fg2); line-height: 1.55; }

/* ─── PORTFOLIO ─────────────────────────────────────────── */
.hc-port__header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; }
.hc-port__link { font-size: 12px; color: var(--accent-light); font-weight: 500; transition: opacity 150ms; }
.hc-port__link:hover { opacity: 0.8; }
.hc-port__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hc-port-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color 200ms;
}
.hc-port-card:hover { border-color: var(--border-light); }
.hc-port-card__img {
  width: 100%; height: 150px;
  object-fit: cover; display: block;
  filter: brightness(0.7) saturate(0.8);
}
.hc-port-card__body { padding: 16px; }
.hc-port-card__tag {
  font-size: 10px; font-weight: 700; color: var(--accent-light);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 5px;
}
.hc-port-card__title {
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  letter-spacing: -0.01em; margin-bottom: 4px;
}
.hc-port-card__meta { font-size: 11px; color: var(--fg3); }
.hc-port-card--placeholder {
  border: 1px dashed var(--border-light);
  background: var(--bg3);
  height: 214px;
  display: flex; align-items: center; justify-content: center;
}
.hc-port-card--placeholder span { font-size: 12px; color: var(--fg3); text-align: center; font-weight: 500; line-height: 1.6; }

/* ─── TESTIMONIALS ──────────────────────────────────────── */
.hc-testi__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.hc-testi {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.hc-testi__stars { display: flex; gap: 3px; margin-bottom: 12px; }
.hc-testi__star {
  width: 12px; height: 12px; background: #F59E0B;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.hc-testi__text { font-size: 13px; color: var(--fg2); line-height: 1.7; font-style: italic; margin-bottom: 16px; font-weight: 300; }
.hc-testi__author { display: flex; align-items: center; gap: 12px; }
.hc-testi__avatar {
  width: 32px; height: 32px; border-radius: 50%;
  object-fit: cover; filter: saturate(0.7); flex-shrink: 0;
}
.hc-testi__name { font-size: 12px; font-weight: 600; }
.hc-testi__role { font-size: 11px; color: var(--fg3); }

/* ─── CTA ───────────────────────────────────────────────── */
.hc-cta {
  position: relative; padding: 96px 32px;
  text-align: center; overflow: hidden;
}
.hc-cta__bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1400&q=80');
  background-size: cover; background-position: center;
  filter: brightness(0.18) saturate(0.5);
}
.hc-cta__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,15,20,0.5), rgba(13,15,20,0.88));
}
.hc-cta__inner { position: relative; z-index: 2; }
.hc-cta__title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 12px;
}
.hc-cta__title span { color: var(--accent-light); }
.hc-cta__sub { font-size: 15px; color: var(--fg2); margin-bottom: 28px; font-weight: 300; }
.hc-cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hc-cta__email { font-size: 12px; color: var(--fg3); margin-top: 18px; }

/* ─── FOOTER ────────────────────────────────────────────── */
.hc-footer {
  padding: 22px 32px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border);
}
.hc-footer__logo {
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--fg2);
}
.hc-footer__logo span { color: var(--accent); }
.hc-footer__right { font-size: 11px; color: var(--fg3); }

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 768px) {
  .hc-nav__links a:not(.hc-btn) { display: none; }
  .hc-hero__inner { grid-template-columns: 1fr; }
  .hc-hero__stats { display: grid; grid-template-columns: repeat(3,1fr); }
  .hc-hero__stat { border-bottom: none; border-right: 1px solid var(--border); }
  .hc-hero__stat:last-child { border-right: none; }
  .hc-bento, .hc-why__grid, .hc-port__grid, .hc-testi__grid { grid-template-columns: 1fr; }
  .hc-why__photo { height: 200px; }
  .hc-section { padding: 48px 0; }
}
