/* ============================================================
   GiGi Web Design — clean black & white theme
   ============================================================ */
:root {
  --black: #000;
  --ink: #111;
  --ink-2: #555;
  --ink-3: #8a8a8a;
  --white: #fff;
  --off: #f5f5f3;
  --line: rgba(0, 0, 0, 0.1);
  --line-dark: rgba(255, 255, 255, 0.14);
  --accent: #e5533d;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 14px;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--white); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 40px; } }

/* ---------- type ---------- */
h1, h2, h3 { font-weight: 400; margin: 0; letter-spacing: -0.04em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 300; line-height: 1.02; letter-spacing: -0.06em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0 0 1em; }
.sub { color: var(--ink-2); font-size: 1.05rem; max-width: 46ch; }
.center { text-align: center; }
.center .sub { margin: 16px auto 0; }
.label {
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
  margin: 0 0 14px; display: block;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  background: var(--ink); color: var(--white);
  padding: 20px 28px; border-radius: 4px; border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s; cursor: pointer;
}
.btn:hover { background: #333; border-color: #333; }
.btn-light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-light:hover { background: #e9e9e9; border-color: #e9e9e9; }
.btn-outline { background: transparent; color: inherit; border-color: currentColor; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); }
.btn-small { padding: 12px 18px; font-size: 12px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: var(--black); color: var(--white); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo img { height: 44px; width: auto; filter: invert(1); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) { font-size: 15px; text-decoration: none; color: rgba(255, 255, 255, 0.82); }
.nav-links a:not(.btn):hover { color: var(--white); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(60% 55% at 50% 35%, rgba(229, 83, 61, 0.22), transparent 70%),
    radial-gradient(80% 60% at 50% 110%, #2a2a2a, transparent 70%),
    var(--black);
  color: var(--white);
  text-align: center;
  padding: clamp(72px, 11vw, 140px) 0 0;
  overflow: hidden;
}
.hero-label { color: rgba(255, 255, 255, 0.6); margin-bottom: 22px; }
.hero h1 { max-width: 15ch; margin: 0 auto; }
.hero .sub { color: rgba(255, 255, 255, 0.78); margin: 24px auto 36px; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-note { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, 0.6); }

/* fanned website screenshots */
.fan {
  position: relative;
  height: clamp(220px, 36vw, 470px);
  margin-top: clamp(48px, 7vw, 88px);
}
.fan figure {
  position: absolute; bottom: -12%; left: 50%;
  width: clamp(260px, 44vw, 640px);
  margin: 0;
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111;
  transition: transform 0.6s ease;
}
.fan img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.fan figure:nth-child(1) { transform: translateX(-122%) translateY(14%) rotate(-5deg) scale(0.86); z-index: 1; }
.fan figure:nth-child(2) { transform: translateX(-50%); z-index: 3; }
.fan figure:nth-child(3) { transform: translateX(22%) translateY(14%) rotate(5deg) scale(0.86); z-index: 2; }
.fan:hover figure:nth-child(1) { transform: translateX(-128%) translateY(10%) rotate(-6deg) scale(0.86); }
.fan:hover figure:nth-child(3) { transform: translateX(28%) translateY(10%) rotate(6deg) scale(0.86); }
@media (max-width: 640px) {
  .fan figure:nth-child(1) { transform: translateX(-100%) translateY(18%) rotate(-5deg) scale(0.8); }
  .fan figure:nth-child(3) { transform: translateX(0%) translateY(18%) rotate(5deg) scale(0.8); }
}

/* ---------- sections ---------- */
.section { padding: clamp(80px, 10vw, 136px) 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-dark .sub, .section-dark p { color: rgba(255, 255, 255, 0.72); }
.section-off { background: var(--off); }
.section-head { margin-bottom: 48px; }

/* ---------- service tabs ---------- */
.tabs {
  display: flex; gap: 6px; justify-content: center; flex-wrap: wrap;
  margin: 0 auto 32px;
}
.tab {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: transparent; border: 0; border-radius: 999px;
  padding: 10px 18px; cursor: pointer; transition: background 0.2s;
}
.tab:hover { background: rgba(0, 0, 0, 0.05); }
.tab[aria-selected="true"] { background: #e9e9e9; }
.panel {
  position: relative; overflow: hidden;
  border-radius: 18px;
  min-height: clamp(420px, 48vw, 600px);
  background: #222 center top / cover no-repeat;
  color: var(--white);
  display: flex; align-items: flex-end;
  animation: fade 0.5s ease;
}
.panel::before {
  content: ""; position: absolute; inset: 0;
  /* darken + soften the screenshot so the service text always reads clearly */
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.6) 45%, rgba(0,0,0,0.9) 100%);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.panel-body {
  position: relative; margin: clamp(16px, 3vw, 40px);
  padding: clamp(24px, 3.5vw, 44px); max-width: 680px;
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.panel-body h3 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.04em; margin-bottom: 16px; color: var(--white); }
.panel-body p { color: var(--white); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; margin: 0 0 20px; }
.panel-body .great {
  font-size: 15px; color: rgba(255, 255, 255, 0.92); margin: 0;
  padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.panel-body .great strong { color: var(--accent); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 12px; margin-right: 8px; }
@keyframes fade { from { opacity: 0.4; } to { opacity: 1; } }

/* ---------- work ---------- */
.work-grid { display: grid; gap: 40px 24px; }
@media (min-width: 680px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.project { display: block; text-decoration: none; }
.project-thumb {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3;
  background: var(--off); border: 1px solid var(--line);
}
.project-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.7s ease; }
.project:hover .project-thumb img { transform: scale(1.04); }
.project-thumb .placeholder { display: grid; place-items: center; height: 100%; font-size: 1.4rem; color: var(--ink-3); }
.project-meta { padding-top: 16px; }
.project-meta h3 { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.project-meta h3 .arrow { font-size: 16px; color: var(--ink-3); transition: transform 0.2s, color 0.2s; }
a.project:hover .arrow { transform: translate(3px, -3px); color: var(--ink); }
.project-meta p { color: var(--ink-2); font-size: 15px; margin: 0 0 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--off); color: var(--ink-2); }

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px 32px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { border-top: 1px solid var(--ink); padding-top: 20px; }
.steps span { display: block; font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 300; letter-spacing: -0.05em; line-height: 1; margin-bottom: 28px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* ---------- about ---------- */
.about { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; gap: 80px; } }
.about-photo { border-radius: 18px; overflow: hidden; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about h2 { margin-bottom: 24px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px 0; font-size: 1.15rem; letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 26px; font-weight: 300; transition: transform 0.2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 24px; margin: 0; color: var(--ink-2); max-width: 64ch; }

/* ---------- book / CTA ---------- */
.book { text-align: center; }
.booking { max-width: 720px; margin: 40px auto 0; }
.booking-fallback p { max-width: 44ch; margin: 0 auto 28px; }
.booking-fallback .alt { display: block; margin-top: 20px; font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.booking-fallback .alt a { color: var(--white); }
.google-booking { display: block; width: 100%; height: 760px; border: 0; border-radius: 18px; background: var(--white); }
.booking > .alt { display: block; margin-top: 20px; font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.booking > .alt a { color: var(--white); }
.calendly-inline-widget { min-width: 320px; height: 700px; border-radius: 18px; overflow: hidden; background: var(--white); }

/* ---------- footer ---------- */
.footer { background: var(--black); color: rgba(255, 255, 255, 0.6); padding: 0 0 40px; font-size: 14px; }
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding-top: 28px; border-top: 1px solid var(--line-dark);
}
.footer-inner p { margin: 0; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--white); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .panel { animation: none; }
}

/* ---------- advertising page ---------- */
.hero-compact { padding-bottom: clamp(72px, 10vw, 128px); }
.nav-links a[aria-current="page"] { color: var(--white); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.ad-grid { display: grid; gap: 24px; }
@media (min-width: 820px) { .ad-grid { grid-template-columns: repeat(2, 1fr); } }
.ad-card {
  border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(28px, 3.5vw, 44px); background: var(--white);
  display: flex; flex-direction: column;
}
.ad-num { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 18px; }
.ad-card h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); letter-spacing: -0.03em; margin-bottom: 12px; }
.ad-card > p { color: var(--ink-2); }
.ad-card ul { list-style: none; padding: 0; margin: 4px 0 24px; display: grid; gap: 10px; }
.ad-card li { position: relative; padding-left: 26px; font-size: 15px; }
.ad-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 600; }
.ad-card .great { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.ad-card .great strong { color: var(--accent); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 12px; margin-right: 8px; }
.why-grid { display: grid; gap: 40px 32px; }
@media (min-width: 820px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-grid > div { border-top: 1px solid var(--line-dark); padding-top: 22px; }
.why-grid h3 { margin-bottom: 10px; }
.services-more { text-align: center; margin: 32px 0 0; }
.services-more a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 5px; }
