/* V Technical Studio — stylesheet */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f5;
  --ink: #1c1c1c;
  --ink-soft: #5a5a5a;
  --line: #e4e3e0;
  --accent: #2b2b2b;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand img.logo-mark {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.brand span { color: var(--ink-soft); font-weight: 400; }

/* Social links */
.social-links {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.social-links a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.social-links a:hover { background: rgba(255,255,255,0.12); }
.social-links svg { width: 18px; height: 18px; }

.contact-details { display: flex; flex-direction: column; }

/* Area servita */
.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.areas span {
  font-size: 13px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 14px;
}

nav.links {
  display: flex;
  gap: 32px;
  font-size: 15px;
}

nav.links a {
  color: var(--ink-soft);
  transition: color .15s ease;
}

nav.links a:hover,
nav.links a.active {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 720px) {
  nav.links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    display: none;
  }
  nav.links.open { display: flex; }
  nav.links a {
    padding: 16px 24px;
    border-top: 1px solid var(--line);
  }
  .menu-toggle { display: block; }
}

/* Hero */
.hero {
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--line);
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 20px;
  max-width: 780px;
}

.hero p.lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 0 32px;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 14px;
  letter-spacing: 0.03em;
  transition: background .15s ease, color .15s ease;
}

.btn.primary {
  background: var(--ink);
  color: #fff;
}
.btn.primary:hover { background: #000; }

.btn.ghost { color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }

.hero-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 56px;
}
.hero-images img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 3px;
}
@media (max-width: 720px) {
  .hero-images { grid-template-columns: 1fr; }
  .hero-images img { height: 200px; }
}

/* Section headings */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.section:last-of-type { border-bottom: none; }

.section-head {
  margin-bottom: 48px;
  max-width: 620px;
}
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600;
  margin: 0 0 14px;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--bg);
  padding: 32px 28px;
}
.service-card .num {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  display: block;
}
.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-grid img {
  width: 100%;
  border-radius: 3px;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-text .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.about-text h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 600;
  margin: 0 0 20px;
}
.about-text p {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0 0 16px;
}
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.about-facts div strong {
  display: block;
  font-size: 26px;
  font-weight: 600;
}
.about-facts div span {
  font-size: 13px;
  color: var(--ink-soft);
}
@media (max-width: 560px) {
  .about-facts { grid-template-columns: 1fr; gap: 16px; }
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

.gallery-item .thumb {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 16px;
  background: var(--bg-soft);
}
.gallery-item .thumb.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 13px;
  border: 1px solid var(--line);
  text-align: center;
  padding: 20px;
}
.gallery-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}
.gallery-item p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* Contact / footer */
.contact-cta {
  background: var(--ink);
  color: #fff;
  padding: 80px 0;
}
.contact-cta .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}
@media (max-width: 800px) {
  .contact-cta .wrap { grid-template-columns: 1fr; }
}
.contact-cta h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600;
  margin: 0 0 16px;
}
.contact-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  margin: 0 0 28px;
  max-width: 460px;
}
.contact-cta .btn.primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.contact-cta .btn.primary:hover { background: #eee; }

.contact-details dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  font-size: 15px;
  margin: 0;
}
.contact-details dt {
  color: rgba(255,255,255,0.5);
}
.contact-details dd {
  margin: 0;
}
.contact-details a { text-decoration: underline; text-underline-offset: 3px; }

footer.site-footer {
  padding: 28px 0;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}

/* Form (mailto based, no backend) */
form.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-radius: 2px;
  font-family: inherit;
  font-size: 14px;
}
form.contact-form input::placeholder,
form.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.45);
}
form.contact-form textarea { resize: vertical; min-height: 110px; }
