/* ================= HORIZON SERVICE — Creative Agency 3D ================= */
:root {
  --black: #000000;
  --black-soft: #0a0a0a;
  --gold: #c9a96e;
  --gold-light: #e8d5a3;
  --white: #f5f3ee;
  --gray: #8a8578;
  --line: rgba(201, 169, 110, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

h1, h2, h3, .serif {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; }
em { color: var(--gold); font-style: italic; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.tag {
  display: inline-block; font-size: 12px; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 22px;
}
.section { position: relative; padding: 120px 0; }

/* ---------- Custom cursor ---------- */
.cursor-ring, .cursor-dot2 {
  position: fixed; top: 0; left: 0; border-radius: 50%;
  pointer-events: none; z-index: 9999; transform: translate(-50%, -50%);
}
.cursor-ring { width: 38px; height: 38px; border: 1px solid var(--gold); transition: width .25s, height .25s, background .25s; }
.cursor-dot2 { width: 5px; height: 5px; background: var(--gold-light); }
.cursor-ring.big { width: 64px; height: 64px; background: rgba(201,169,110,0.08); }
@media (hover: none) { body { cursor: auto; } .cursor-ring, .cursor-dot2 { display: none; } }

/* ---------- Nav ---------- */
nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px; transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled { background: rgba(0,0,0,0.85); backdrop-filter: blur(12px); padding: 16px 28px; border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 14px; }
.brand .logo {
  width: 44px; height: 44px; border: 1px solid var(--gold); display: grid; place-items: center;
  font-family: "Cormorant Garamond", serif; font-size: 24px; color: var(--gold);
}
.brand .name { font-family: "Cormorant Garamond", serif; font-size: 20px; letter-spacing: .04em; }
.brand .sub { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--gray); }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--white); opacity: .8; transition: opacity .3s, color .3s; }
.nav-links a:hover { opacity: 1; color: var(--gold); }
.btn-gold {
  background: var(--gold); color: #000; padding: 13px 26px; font-size: 12px; letter-spacing: .15em;
  text-transform: uppercase; font-weight: 500; transition: background .3s, transform .3s; display: inline-block;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
  border: 1px solid var(--gold); color: var(--gold); padding: 12px 26px; font-size: 12px; letter-spacing: .15em;
  text-transform: uppercase; transition: background .3s, color .3s; display: inline-block;
}
.btn-outline:hover { background: var(--gold); color: #000; }
.burger { display: none; background: none; border: 0; color: var(--white); cursor: none; font-size: 22px; }

/* phone float */
.phone-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 90;
  background: var(--gold); color: #000; padding: 14px 22px; border-radius: 40px;
  font-weight: 600; letter-spacing: .05em; box-shadow: 0 10px 30px rgba(201,169,110,.35);
  display: flex; align-items: center; gap: 10px; transition: transform .3s;
}
.phone-float:hover { transform: translateY(-3px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 24px; pointer-events: none; }
.hero-content .btn-gold, .hero-content .btn-outline, .hero-content a { pointer-events: auto; }
.hero h1 { font-size: clamp(40px, 8vw, 104px); margin: 18px 0; }
.hero .subtitle { color: var(--gray); font-size: 15px; letter-spacing: .08em; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.scroll-ind { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; color: var(--gold); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.scroll-ind span { display: block; width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); margin: 12px auto 0; animation: scrollLine 1.8s ease-in-out infinite; }
@keyframes scrollLine { 0%,100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 50px; }
.service-card {
  position: relative; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(201,169,110,.05), transparent);
  padding: 38px 30px; transition: transform .25s, border-color .25s, box-shadow .25s; transform-style: preserve-3d;
}
.service-card:hover { border-color: var(--gold); box-shadow: 0 24px 60px rgba(0,0,0,.6); }
.service-card .mini-canvas { width: 100%; height: 150px; margin-bottom: 18px; }
.service-card h3 { font-size: 30px; margin-bottom: 8px; }
.service-card .kw { color: var(--gold); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 14px; }
.service-card p { color: var(--gray); font-size: 14px; }

/* ---------- About / stats ---------- */
.about { position: relative; overflow: hidden; }
#about-canvas { position: absolute; inset: 0; z-index: 0; opacity: .5; }
.about .wrap { position: relative; z-index: 1; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-grid h2 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 22px; }
.about-grid p { color: var(--gray); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.stat .num { font-family: "Cormorant Garamond", serif; font-size: 56px; color: var(--gold); line-height: 1; }
.stat .lbl { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--gray); margin-top: 6px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; margin-top: 46px; }
.gal-item { position: relative; overflow: hidden; border: 1px solid var(--line); }
.gal-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gal-item:nth-child(4) { grid-column: span 2; }
.gal-ph { position: absolute; inset: 0; transition: transform .5s; }
.gal-item:hover .gal-ph { transform: scale(1.06); }
.gal-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; background: linear-gradient(to top, rgba(0,0,0,.85), transparent); opacity: 0; transition: opacity .4s; }
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-overlay .cat { color: var(--gold); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.gal-overlay .ttl { font-family: "Cormorant Garamond", serif; font-size: 22px; }

/* ---------- Zone ---------- */
.zone { position: relative; overflow: hidden; }
#zone-canvas { position: absolute; inset: 0; z-index: 0; opacity: .6; }
.zone .wrap { position: relative; z-index: 1; text-align: center; }
.zone h2 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 30px; }
.city-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 760px; margin: 0 auto; }
.city-chips span { border: 1px solid var(--line); padding: 10px 20px; font-size: 13px; letter-spacing: .05em; transition: border-color .3s, color .3s; }
.city-chips span:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Form ---------- */
.form-wrap { max-width: 760px; margin: 46px auto 0; border: 1px solid var(--line); padding: 44px; background: var(--black-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: #000; border: 1px solid var(--line); color: var(--white);
  padding: 13px 15px; font-family: inherit; font-size: 14px; transition: border-color .3s; cursor: none;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.form-success { text-align: center; padding: 30px; border: 1px solid var(--gold); color: var(--gold-light); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 70px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer h4 { font-family: "Cormorant Garamond", serif; font-size: 20px; color: var(--gold); margin-bottom: 18px; }
footer a, footer p { color: var(--gray); font-size: 14px; display: block; margin-bottom: 10px; transition: color .3s; }
footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 50px; padding-top: 24px; text-align: center; color: var(--gray); font-size: 12px; letter-spacing: .05em; }

/* ---------- Section title ---------- */
.section-title { font-size: clamp(34px, 5vw, 60px); }
.section-head { max-width: 640px; }

/* ---------- Reveal animation base ---------- */
.reveal { opacity: 0; transform: translateY(40px); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links, .phone-float .lbl { display: none; }
  .burger { display: block; }
  .nav-open .nav-links { display: flex; position: fixed; inset: 64px 0 auto 0; background: rgba(0,0,0,.96); flex-direction: column; padding: 30px; gap: 22px; border-bottom: 1px solid var(--line); }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gal-item:nth-child(1), .gal-item:nth-child(4) { grid-column: span 2; grid-row: span 1; }
  .form-row { grid-template-columns: 1fr; }
}
