/* ============================================================
   QUILLMIST — Stylesheet
   Corporate Professional | Navy + Gold + White
   ============================================================ */

/* 1. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* 2. CSS VARIABLES
   ============================================================ */
:root {
  --primary:   #0E2A47;
  --secondary: #2E3A45;
  --accent:    #B08D57;
  --accent-dk: #9a7a4a;
  --bg:        #FFFFFF;
  --bg-alt:    #F4F6F8;
  --border:    #D9DEE3;
  --text:      #1B2733;
  --muted:     #5C6B7A;
  --container: 1200px;
  --ease:      300ms ease;
  --reveal:    620ms cubic-bezier(0.22, 1, 0.36, 1);
  --sh-sm:     0 2px 8px rgba(14,42,71,0.07);
  --sh-md:     0 6px 24px rgba(14,42,71,0.11);
  --sh-lg:     0 12px 40px rgba(14,42,71,0.15);
}

/* 3. LAYOUT
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.section         { padding: 100px 0; }
.section--alt    { background: var(--bg-alt); }
.section--dark   { background: var(--primary); }
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

.section__header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section__header p { font-size: 17px; color: var(--muted); margin-top: 16px; line-height: 1.7; }
.section__header--left { text-align: left; margin-left: 0; margin-right: 0; }

/* 4. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--primary);
  line-height: 1.18;
  font-weight: 500;
}
h1 { font-size: clamp(38px, 5.2vw, 58px); }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
h4 { font-size: 20px; }
p  { line-height: 1.75; }

.eyebrow {
  display: block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.divider {
  width: 44px; height: 2px;
  background: var(--accent);
  margin: 18px auto;
}
.divider--left { margin-left: 0; }

/* 5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 32px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: all var(--ease);
  text-decoration: none;
  line-height: 1;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-dk);
  border-color: var(--accent-dk);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.btn--navy {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn--navy:hover {
  background: #0b2038;
  border-color: #0b2038;
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn--outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline-dark:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn i { font-size: 14px; }

/* 6. NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--primary);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: box-shadow var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 4px 32px rgba(14,42,71,0.28);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 25px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.nav__logo-mark {
  width: 36px; height: 36px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.68);
  padding: 8px 13px;
  position: relative;
  transition: color var(--ease);
  text-decoration: none;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 13px; right: 13px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.nav__link:hover,
.nav__link.active { color: #fff; }
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  padding: 10px 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border: 2px solid var(--accent);
  transition: all var(--ease);
  text-decoration: none;
  margin-left: 14px;
}
.nav__cta:hover {
  background: transparent;
  color: var(--accent);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  transition: all var(--ease);
}

.nav__mobile {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0; bottom: 0;
  background: var(--primary);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  z-index: 999;
  overflow-y: auto;
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link {
  font-size: 17px;
  padding: 14px 24px;
  color: rgba(255,255,255,0.78);
}
.nav__mobile .nav__link::after { bottom: 8px; left: 24px; right: 24px; }
.nav__mobile .nav__cta {
  margin: 24px 0 0;
  font-size: 14px;
  padding: 14px 40px;
}

.page-top { padding-top: 76px; }

/* 7. HERO — HOMEPAGE
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,42,71,0.68);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  padding: 80px 0 80px;
}
.hero__content h1 { color: #fff; margin-bottom: 22px; font-weight: 500; }
.hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.80);
  margin-bottom: 40px;
  max-width: 540px;
  line-height: 1.75;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* 8. HERO — INTERNAL PAGES
   ============================================================ */
.hero-inner {
  position: relative;
  background: var(--primary);
  padding: 72px 0 64px;
  overflow: hidden;
}
.hero-inner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
}
.hero-inner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.16;
}
.hero-inner__content { position: relative; z-index: 1; }
.hero-inner__content h1 {
  color: #fff;
  font-size: clamp(30px, 4.2vw, 50px);
  margin-bottom: 14px;
}
.hero-inner__content p {
  color: rgba(255,255,255,0.72);
  font-size: 17px;
  max-width: 580px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.breadcrumb a { color: rgba(255,255,255,0.45); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }
.breadcrumb span { color: rgba(255,255,255,0.75); }

/* 9. LEAD FORM SECTION
   ============================================================ */
.lead-form-section { padding: 100px 0; background: var(--bg-alt); }
.lead-form-section .grid-2 { gap: 88px; align-items: start; }
.lead-form__intro h2 { margin-bottom: 16px; }
.lead-form__intro p  { color: var(--muted); font-size: 16px; margin-bottom: 28px; line-height: 1.75; }
.lead-form__response {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: #fff;
  font-size: 14px;
  color: var(--muted);
  box-shadow: var(--sh-sm);
}
.lead-form__response i { color: var(--accent); font-size: 20px; flex-shrink: 0; }
.lead-form__response strong { display: block; color: var(--text); font-size: 15px; margin-bottom: 2px; }

/* 10. FORMS
   ============================================================ */
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--secondary);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
  -webkit-appearance: none;
  border-radius: 0;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(176,141,87,0.12);
}
.form-group textarea { resize: vertical; min-height: 122px; }
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C6B7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 17px;
  padding-right: 42px;
}
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.form-checkbox input[type="checkbox"] {
  width: 17px; height: 17px;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
  border-radius: 0;
}
.form-checkbox a { color: var(--accent); text-decoration: underline; }
.form-honeypot { display: none !important; visibility: hidden; }
.form-submit { margin-top: 6px; }
.form-submit .btn { width: 100%; justify-content: center; padding: 16px; }

/* 11. SERVICE CARDS
   ============================================================ */
.services-section { padding: 100px 0; }
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 40px 32px;
  transition: box-shadow var(--ease), transform var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--ease);
}
.service-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.service-card:hover::before { transform: scaleY(1); }
.service-card__icon {
  width: 52px; height: 52px;
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 22px;
}
.service-card h3 { font-size: 22px; margin-bottom: 12px; }
.service-card p  { color: var(--muted); font-size: 15px; margin-bottom: 22px; line-height: 1.7; }
.service-card .link-more {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color var(--ease), gap var(--ease);
}
.service-card .link-more:hover { color: var(--accent); gap: 11px; }

/* 12. WHY SECTION
   ============================================================ */
.why-section { background: var(--primary); padding: 100px 0; }
.why-section .section__header p { color: rgba(255,255,255,0.60); }
.why-item {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color var(--ease), background var(--ease);
}
.why-item:hover {
  border-color: rgba(176,141,87,0.45);
  background: rgba(176,141,87,0.04);
}
.why-item__icon {
  width: 60px; height: 60px;
  border: 1.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  color: var(--accent);
  font-size: 24px;
}
.why-item h3 { color: #fff; font-size: 21px; margin-bottom: 11px; }
.why-item p  { color: rgba(255,255,255,0.58); font-size: 15px; line-height: 1.65; }

/* 13. PORTFOLIO PREVIEW
   ============================================================ */
.portfolio-section { padding: 100px 0; background: var(--bg-alt); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-bottom: 52px;
}
.portfolio-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
}
.portfolio-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 550ms ease;
}
.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,42,71,0);
  transition: background var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
}
.portfolio-card:hover img { transform: scale(1.05); }
.portfolio-card:hover .portfolio-card__overlay { background: rgba(14,42,71,0.74); }
.portfolio-card__info {
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--ease);
}
.portfolio-card:hover .portfolio-card__info {
  opacity: 1;
  transform: translateY(0);
}
.portfolio-card__cat {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 5px;
}
.portfolio-card__title {
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
}
.portfolio-section__cta { text-align: center; }

/* 14. ABOUT PREVIEW
   ============================================================ */
.about-preview { padding: 100px 0; }
.about-preview .grid-2 { gap: 88px; }
.about-preview__text h2 { margin-bottom: 20px; }
.about-preview__text p  { color: var(--muted); font-size: 16px; margin-bottom: 16px; line-height: 1.8; }
.about-preview__quote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--accent);
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  color: var(--primary);
  font-style: italic;
  line-height: 1.5;
  background: var(--bg-alt);
}
.about-preview__image { position: relative; }
.about-preview__image img {
  width: 100%; height: 460px;
  object-fit: cover;
}
.about-preview__image::before {
  content: '';
  position: absolute;
  top: -18px; right: -18px;
  width: 110px; height: 110px;
  border: 2px solid var(--accent);
  z-index: -1;
  pointer-events: none;
}

/* 15. TESTIMONIALS
   ============================================================ */
.testimonials-section { padding: 100px 0; background: var(--bg-alt); }
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 44px 36px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 88px;
  color: var(--accent);
  opacity: 0.25;
  position: absolute;
  top: 12px; left: 28px;
  line-height: 1;
}
.testimonial-card__body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--secondary);
  line-height: 1.65;
  margin-bottom: 26px;
  margin-top: 32px;
}
.testimonial-card__author { display: flex; align-items: center; gap: 14px; }
.testimonial-card__avatar {
  width: 44px; height: 44px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; color: #fff; font-weight: 500;
  flex-shrink: 0;
}
.testimonial-card__name { font-weight: 600; font-size: 15px; color: var(--primary); }
.testimonial-card__role { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* 16. TRUST BAND
   ============================================================ */
.trust-section {
  background: var(--secondary);
  padding: 52px 0;
  border-top: 3px solid var(--accent);
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.trust-item i { color: var(--accent); font-size: 20px; flex-shrink: 0; }

/* 17. FINAL CTA
   ============================================================ */
.cta-section {
  background: var(--primary);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: 'Q';
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 420px;
  color: rgba(255,255,255,0.022);
  font-weight: 600;
  right: -30px; top: -60px;
  pointer-events: none;
  line-height: 1;
  user-select: none;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p  {
  color: rgba(255,255,255,0.62);
  font-size: 17px;
  margin-bottom: 42px;
  max-width: 500px;
  margin-left: auto; margin-right: auto;
}
.cta-section .btn { margin: 0 6px; }

/* 18. FOOTER
   ============================================================ */
.site-footer { background: var(--secondary); color: #fff; padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 23px; font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand__logo-mark {
  width: 32px; height: 32px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 600; color: #fff;
  flex-shrink: 0;
}
.footer-brand__tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.50);
  margin-bottom: 26px;
  line-height: 1.6;
}
.footer-brand__contact { display: flex; flex-direction: column; gap: 9px; }
.footer-brand__contact a,
.footer-brand__contact span {
  font-size: 14px;
  color: rgba(255,255,255,0.60);
  display: flex;
  align-items: center;
  gap: 9px;
  transition: color var(--ease);
}
.footer-brand__contact a:hover { color: var(--accent); }
.footer-brand__contact i { font-size: 14px; color: var(--accent); flex-shrink: 0; }

.footer-col h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.60);
  transition: color var(--ease);
}
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.30);
}

/* 19. CHI SIAMO — STORY
   ============================================================ */
.about-story { padding: 100px 0; }
.about-story__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 88px; align-items: start; }
.about-story__text h2 { margin-bottom: 28px; }
.about-story__text p  { color: var(--muted); font-size: 16px; margin-bottom: 20px; line-height: 1.8; }
.about-story__image img { width: 100%; height: 500px; object-fit: cover; }
.about-story__image { position: relative; }
.about-story__image::after {
  content: '';
  position: absolute;
  bottom: -14px; left: -14px;
  width: 100px; height: 100px;
  border: 2px solid var(--accent);
  z-index: -1;
  pointer-events: none;
}

.values-section { padding: 100px 0; background: var(--bg-alt); }
.value-item { text-align: center; padding: 40px 24px; }
.value-item__icon {
  width: 56px; height: 56px;
  border: 1.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent); font-size: 22px;
}
.value-item h3 { font-size: 21px; margin-bottom: 11px; }
.value-item p  { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* 20. PROCESS TIMELINE
   ============================================================ */
.process-section { padding: 100px 0; }
.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  margin-top: 64px;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 28px; left: 9%; right: 9%;
  height: 1px;
  background: var(--border);
}
.process-step { text-align: center; padding: 0 14px; }
.process-step__num {
  width: 56px; height: 56px;
  border: 2px solid var(--border);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; color: var(--primary); font-weight: 500;
  position: relative; z-index: 1;
  transition: all var(--ease);
}
.process-step:hover .process-step__num {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 4px rgba(176,141,87,0.10);
}
.process-step h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.process-step p { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* 21. TEAM & STATS
   ============================================================ */
.team-section { padding: 100px 0; background: var(--bg-alt); }
.team-section .grid-2 { gap: 80px; }
.team-section__text h2 { margin-bottom: 20px; }
.team-section__text p  { color: var(--muted); font-size: 16px; margin-bottom: 16px; line-height: 1.8; }
.team-section__image img { width: 100%; height: 460px; object-fit: cover; }

.stats-section { background: var(--primary); padding: 80px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center; padding: 40px 20px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.stat-item:last-child { border-right: none; }
.stat-item__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 58px; font-weight: 500;
  color: var(--accent); line-height: 1;
  margin-bottom: 10px;
}
.stat-item__suffix {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: var(--accent);
}
.stat-item__label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* 22. SERVICES PAGE — BLOCKS
   ============================================================ */
.services-intro { padding: 72px 0 48px; }
.services-intro p { font-size: 17px; color: var(--muted); max-width: 720px; line-height: 1.8; }

.service-block { padding: 80px 0; border-top: 1px solid var(--border); }
.service-block:first-of-type { border-top: none; }
.service-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.service-block__grid--reverse .service-block__image { order: 2; }
.service-block__grid--reverse .service-block__text  { order: 1; }
.service-block__image img { width: 100%; height: 380px; object-fit: cover; }
.service-block__text .eyebrow { text-align: left; }
.service-block__text h2 { margin-bottom: 16px; font-size: clamp(24px,3vw,34px); }
.service-block__text > p { color: var(--muted); font-size: 16px; margin-bottom: 24px; line-height: 1.8; }
.service-block__list { display: flex; flex-direction: column; gap: 10px; }
.service-block__list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--muted);
}
.service-block__list li i { color: var(--accent); font-size: 15px; margin-top: 3px; flex-shrink: 0; }

.sectors-section { padding: 80px 0; background: var(--bg-alt); }
.sectors-grid {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center; margin-top: 48px;
}
.sector-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 14px; font-weight: 600;
  color: var(--primary);
  transition: all var(--ease);
}
.sector-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(176,141,87,0.04);
}
.sector-pill i { font-size: 16px; color: var(--accent); }

.faq-section { padding: 100px 0; }
.faq-list { max-width: 800px; margin: 64px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 24px 0; cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px; color: var(--primary);
  gap: 16px; user-select: none;
}
.faq-question i {
  color: var(--accent); font-size: 18px; flex-shrink: 0;
  transition: transform var(--ease);
}
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 420ms ease, padding-bottom 300ms ease;
  font-size: 16px; color: var(--muted); line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 500px; padding-bottom: 26px; }

/* 23. REALIZZAZIONI PAGE
   ============================================================ */
.portfolio-page-section { padding: 80px 0; }
.portfolio-filter {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; margin-bottom: 48px;
}
.filter-btn {
  padding: 9px 20px;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  border: 1.5px solid var(--border);
  background: #fff; color: var(--muted);
  cursor: pointer; transition: all var(--ease);
}
.filter-btn:hover { border-color: var(--secondary); color: var(--secondary); }
.filter-btn.active { border-color: var(--primary); background: var(--primary); color: #fff; }

.portfolio-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.portfolio-full-card { overflow: hidden; }
.portfolio-full-card__img-wrap { overflow: hidden; }
.portfolio-full-card__img-wrap img {
  width: 100%; height: 260px; object-fit: cover;
  transition: transform 520ms ease;
  display: block;
}
.portfolio-full-card:hover .portfolio-full-card__img-wrap img { transform: scale(1.04); }
.portfolio-full-card__body {
  background: #fff;
  border: 1px solid var(--border);
  border-top: none;
  padding: 20px 22px 24px;
}
.portfolio-full-card__cat {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px;
}
.portfolio-full-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; color: var(--primary);
  margin-bottom: 7px;
}
.portfolio-full-card__meta {
  font-size: 13px; color: var(--muted);
  display: flex; align-items: center; gap: 6px;
}
.portfolio-full-card__meta i { font-size: 12px; color: var(--accent); }
.portfolio-full-card__desc {
  font-size: 14px; color: var(--muted);
  margin-top: 10px; line-height: 1.6;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* 24. CONTACT PAGE
   ============================================================ */
.contact-section { padding: 100px 0; }
.contact-section .grid-2 { align-items: start; gap: 72px; }
.contact-form-col h2 { margin-bottom: 28px; }
.contact-info-col h3 { font-size: 26px; margin-bottom: 24px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-detail {
  display: flex; align-items: flex-start;
  gap: 14px; padding: 18px 20px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}
.contact-detail__icon {
  width: 40px; height: 40px;
  border: 1.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 17px; flex-shrink: 0;
}
.contact-detail__label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.contact-detail__value { font-size: 16px; color: var(--primary); font-weight: 600; }
.contact-detail__sub { font-size: 13px; color: var(--muted); margin-top: 2px; }

.contact-area-box {
  background: var(--primary);
  padding: 28px 26px;
  color: #fff;
}
.contact-area-box h4 { color: #fff; font-size: 19px; margin-bottom: 10px; }
.contact-area-box p { color: rgba(255,255,255,0.62); font-size: 14px; line-height: 1.7; }
.contact-response-note {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: rgba(255,255,255,0.06);
  font-size: 14px;
  color: rgba(255,255,255,0.72);
}

/* 25. LEGAL PAGES
   ============================================================ */
.legal-page { padding: 72px 0 100px; }
.legal-content { max-width: 820px; }
.legal-content h2 {
  font-size: 26px;
  margin: 44px 0 16px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.legal-content h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.legal-content h3 { font-size: 20px; margin: 28px 0 12px; }
.legal-content p  { font-size: 15px; color: var(--muted); margin-bottom: 14px; line-height: 1.8; }
.legal-content ul {
  list-style: disc; padding-left: 22px; margin-bottom: 16px;
}
.legal-content ul li { font-size: 15px; color: var(--muted); margin-bottom: 7px; line-height: 1.7; }
.legal-content strong { color: var(--text); }
.legal-content a { color: var(--accent); text-decoration: underline; }
.legal-box {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  margin: 24px 0;
}
.legal-box p { margin-bottom: 0; }
.legal-box strong { display: block; color: var(--primary); margin-bottom: 6px; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; font-family: 'Source Sans 3', sans-serif; }

/* 26. ALERTS
   ============================================================ */
.alert {
  padding: 16px 20px;
  font-size: 15px;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 11px;
  line-height: 1.5;
}
.alert--success { background: #f0faf4; border-left: 3px solid #2a7d4f; color: #1e5c39; }
.alert--error   { background: #fdf3f3; border-left: 3px solid #c0392b; color: #922b21; }
.alert i { font-size: 19px; flex-shrink: 0; }

/* 27. SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--reveal), transform var(--reveal);
}
.reveal.is-visible  { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 170ms; }
.reveal-d3 { transition-delay: 260ms; }
.reveal-d4 { transition-delay: 350ms; }

/* 28. RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-timeline { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .process-timeline::before { display: none; }
}
@media (max-width: 992px) {
  .section { padding: 72px 0; }
  .grid-2 { grid-template-columns: 1fr; gap: 44px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .about-story__grid { grid-template-columns: 1fr; gap: 48px; }
  .service-block__grid { grid-template-columns: 1fr; gap: 40px; }
  .service-block__grid--reverse .service-block__image,
  .service-block__grid--reverse .service-block__text { order: unset; }
  .service-block__image img { height: 300px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.07); }
  .stat-item:last-child,
  .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-full-grid { grid-template-columns: 1fr 1fr; }
  .about-preview .grid-2 { gap: 48px; }
  .about-preview__image::before { display: none; }
  .about-preview__image img { height: 360px; }
  .team-section__image img { height: 380px; }
  .contact-section .grid-2 { gap: 56px; }
  .lead-form-section .grid-2 { gap: 48px; }
}
@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .hero { min-height: 80vh; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .process-timeline { grid-template-columns: 1fr 1fr; gap: 28px; }
  .trust-items { flex-direction: column; align-items: flex-start; gap: 18px; padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .portfolio-section .section__header { text-align: left; }
  .portfolio-section .section__header .divider { margin-left: 0; }
}
@media (max-width: 576px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .grid-4 { grid-template-columns: 1fr; }
  .portfolio-grid,
  .portfolio-full-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .process-timeline { grid-template-columns: 1fr; }
  .hero__content { padding: 56px 0; }
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  .cta-section::before { display: none; }
  .btn { padding: 13px 24px; }
}
