/* =========================================================
   GIANGIACOMI COMUNICAZIONE
   One-page website - black / white / gold
   ========================================================= */

:root {
  --black: #070707;
  --black-soft: #0e0e0e;
  --charcoal: #151515;
  --charcoal-2: #1c1c1c;
  --white: #ffffff;
  --text: #f5f3ee;
  --muted: #c9c3b7;
  --gold: #b89553;
  --gold-light: #d7b96e;
  --gold-dark: #7b5d2d;
  --border: rgba(215, 185, 110, .24);
  --border-strong: rgba(215, 185, 110, .55);
  --shadow: 0 28px 80px rgba(0, 0, 0, .42);
  --radius: 24px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 36px), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: .8rem 1rem;
  transform: translateY(-180%);
  border-radius: 10px;
  background: var(--gold-light);
  color: #0a0a0a;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(215, 185, 110, .14);
  background: rgba(7, 7, 7, .9);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 176px;
  height: 66px;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-menu a {
  text-decoration: none;
  color: #eeeeea;
  font-weight: 720;
  font-size: .95rem;
}

.main-menu a:hover,
.main-menu a:focus-visible {
  color: var(--gold-light);
}

.menu-cta {
  padding: .68rem 1rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: #111;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--gold-light);
}

/* Shared typography */
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 900;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
}

h1 {
  margin-bottom: 26px;
  max-width: 820px;
  font-size: clamp(2.8rem, 6.4vw, 5.35rem);
  letter-spacing: -.055em;
}

h1 span {
  display: block;
  color: var(--gold-light);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.5vw, 3.45rem);
  letter-spacing: -.04em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.section {
  padding-block: 104px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 79% 18%, rgba(184, 149, 83, .17), transparent 31%),
    radial-gradient(circle at 12% 72%, rgba(184, 149, 83, .08), transparent 26%),
    linear-gradient(135deg, #060606 0%, #0b0b0b 58%, #131008 100%);
}

.hero::before {
  content: "";
  position: absolute;
  right: -260px;
  bottom: -280px;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(215, 185, 110, .19);
  border-radius: 50%;
  box-shadow: inset 0 0 70px rgba(184, 149, 83, .04);
}

.network {
  position: absolute;
  pointer-events: none;
  opacity: .45;
}

.network::before,
.network::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(30deg, transparent 48.5%, rgba(215,185,110,.18) 49%, rgba(215,185,110,.18) 51%, transparent 51.5%),
    radial-gradient(circle, rgba(215,185,110,.95) 0 2px, transparent 2.5px);
  background-size: 74px 74px, 74px 74px;
}

.network-one {
  top: -60px;
  right: -10px;
  width: 500px;
  height: 310px;
  transform: rotate(8deg);
}

.network-two {
  right: 80px;
  bottom: 40px;
  width: 400px;
  height: 220px;
  opacity: .17;
  transform: rotate(-12deg);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 70px;
  align-items: center;
  padding-block: 88px;
}

.hero-lead {
  max-width: 710px;
  margin: 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 30px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .86rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0a0a0a;
  box-shadow: 0 12px 34px rgba(184,149,83,.16);
}

.button-outline {
  border: 1px solid var(--gold);
  color: var(--white);
  background: rgba(255,255,255,.015);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row span {
  padding: .42rem .78rem;
  border: 1px solid rgba(215,185,110,.28);
  border-radius: 999px;
  color: #ddd8ce;
  font-size: .88rem;
  font-weight: 760;
}

.hero-panel {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(31,31,31,.95), rgba(12,12,12,.97));
  box-shadow: var(--shadow);
}

.hero-logo-wrap {
  width: 100%;
  max-width: 310px;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 14px;
}

.hero-logo-wrap img {
  width: 100%;
}

.panel-kicker {
  margin: 0 0 10px;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .74rem;
  font-weight: 900;
}

.hero-panel h2 {
  font-size: 1.7rem;
}

.hero-panel > p:not(.panel-kicker) {
  color: var(--muted);
}

.mini-list {
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}

.mini-list li {
  position: relative;
  padding-left: 18px;
  color: #e2ddd2;
  font-size: .92rem;
}

.mini-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: .16rem;
  color: var(--gold);
  font-size: .65rem;
}

/* Services */
.section-dark {
  background: #0d0d0d;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-heading.compact {
  max-width: 680px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  min-height: 260px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(215,185,110,.2);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #171717, #101010);
  transition: transform .18s ease, border-color .18s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -80px;
  bottom: -80px;
  border-radius: 50%;
  border: 1px solid rgba(215,185,110,.13);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-number {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  font-weight: 900;
  letter-spacing: .05em;
}

/* Audience */
.audience-section {
  background:
    radial-gradient(circle at 88% 20%, rgba(184,149,83,.08), transparent 25%),
    #111;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.audience-grid article {
  padding: 26px;
  border-top: 1px solid var(--border-strong);
  background: rgba(255,255,255,.02);
}

.audience-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.audience-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--gold-light);
  color: #111;
  font-weight: 950;
}

/* Method */
.method-section {
  background: #090909;
}

.method-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 76px;
  align-items: start;
}

.method-intro p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.steps-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 25px 24px;
  border: 1px solid rgba(215,185,110,.14);
  border-radius: 18px;
  background: #121212;
}

.step-index {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #111;
  font-weight: 950;
}

.steps-list p {
  margin-bottom: 0;
  color: var(--muted);
}

/* Accessibility */
.accessibility-section {
  background:
    linear-gradient(135deg, rgba(184,149,83,.08), transparent 44%),
    #0d0d0d;
}

.accessibility-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 46px;
  align-items: center;
  padding: 46px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: linear-gradient(145deg, #191919, #101010);
}

.a11y-badge {
  width: 150px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 1.75rem;
  font-weight: 950;
  letter-spacing: .08em;
}

.accessibility-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

/* Contacts */
.contact-section {
  background:
    radial-gradient(circle at 10% 80%, rgba(184,149,83,.1), transparent 23%),
    linear-gradient(135deg, #151108, #080808 62%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.contact-copy > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-card {
  padding: 32px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: rgba(18,18,18,.94);
  box-shadow: var(--shadow);
}

.contact-line {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-line span {
  color: #ded8cc;
  font-weight: 800;
}

.contact-line a {
  color: var(--gold-light);
  overflow-wrap: anywhere;
}

.contact-note {
  margin: 20px 0 0;
  color: #aaa499;
  font-size: .86rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(215,185,110,.14);
  background: #050505;
  color: #bdb6a9;
}

.footer-grid {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}


.footer-grid p {
  margin: 0;
  font-size: .9rem;
}

.footer-info {
  text-align: left;
}

.footer-tagline {
  text-align: right;
}

/* Keyboard focus */
:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

/* Tablet */
@media (max-width: 940px) {
  .menu-toggle {
    display: block;
  }

  .main-menu {
    display: none;
    position: absolute;
    top: 82px;
    left: 18px;
    right: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #111;
    box-shadow: var(--shadow);
  }

  .main-menu.open {
    display: flex;
  }

  .main-menu a {
    padding: .8rem .45rem;
  }

  .hero-grid,
  .method-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero {
    min-height: auto;
  }

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

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

  .accessibility-card {
    grid-template-columns: 130px 1fr;
  }

  .a11y-badge {
    width: 120px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-tagline {
    text-align: right;
    padding-bottom: 0;
  }
}

/* Mobile */
@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 140px;
    height: 54px;
  }

  .main-menu {
    top: 72px;
  }

  .hero-grid {
    padding-block: 66px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .hero-panel {
    padding: 26px;
  }

  .mini-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 74px;
  }

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

  .service-card {
    min-height: auto;
  }

  .accessibility-card {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .contact-line {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding-block: 28px;
  }

  .footer-info,
  .footer-tagline {
    text-align: left;
  }

  .footer-tagline {
    padding-bottom: 0;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
