/* ===============================================
   DLM Conseil — Accueil v3
   Hero plein cadre, sommaire numéroté, cartes empilées,
   rails à défilement, sections contrastées
   =============================================== */

/* ===== HERO ===== */
.hero {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  min-height: max(100svh, 720px); padding: 0; background: var(--ink); color: #fff; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg-image { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.hero-bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 24, 38, 0.72) 0%, rgba(10, 24, 38, 0.28) 32%, rgba(10, 24, 38, 0.88) 100%),
    linear-gradient(90deg, rgba(10, 24, 38, 0.55) 0%, transparent 65%);
}
.hero-pattern { display: none; }
.hero-content { width: 100%; padding: calc(var(--header-h) + 36px) 0 clamp(28px, 4vw, 56px); }
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
  grid-template-areas: "badge badge" "title title" "desc visual" "feat visual" "btns visual";
  column-gap: clamp(32px, 6vw, 96px); align-items: start;
}
.hero-text { display: contents; }
.hero-badge { grid-area: badge; justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: var(--radius-full); font-family: var(--font-head); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-badge i { color: var(--gold-300); }
.hero-title { grid-area: title; margin: 22px 0 clamp(24px, 3vw, 40px); color: #fff; font-size: clamp(2.1rem, 8.4vw + 0.2rem, 6.4rem); line-height: 0.96; letter-spacing: -0.055em; hyphens: auto; }
.hero-title span { display: block; color: var(--gold-300); }
.hero-description { grid-area: desc; max-width: 56ch; font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.7; color: rgba(255, 255, 255, 0.88); }
.hero-features { grid-area: feat; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-feature { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: var(--radius-full); font-size: 0.9rem; font-weight: 600; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-feature i { color: var(--gold-300); }
.hero-buttons { grid-area: btns; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-buttons .btn-outline { --b-fg: #fff; --b-bd: rgba(255, 255, 255, 0.5); --b-hover: #fff; }
.hero-buttons .btn-outline:hover { color: var(--ink); border-color: #fff; }
.hero-visual { grid-area: visual; align-self: end; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-card { grid-column: 1 / -1; padding: 20px; border-radius: var(--radius-xl); background: rgba(10, 24, 38, 0.52); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); }
.hero-card-header { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 18px; }
.hero-card-header img { grid-row: 1 / 3; width: 116px; padding: 8px; border-radius: 14px; background: #fff; }
.hero-card-header h3 { align-self: end; color: #fff; font-size: 1.15rem; }
.hero-card-header p { align-self: start; font-size: 0.875rem; color: rgba(255, 255, 255, 0.75); line-height: 1.45; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 18px; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, 0.16); }
.hero-stat { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: rgba(10, 24, 38, 0.6); }
.hero-stat-number { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 2.4vw, 2.2rem); letter-spacing: -0.04em; line-height: 1; color: var(--gold-300); }
.hero-stat-label { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.82); }
.hero-float { display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.92); color: var(--navy-900); box-shadow: var(--shadow-md); }
.hero-float-icon { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-900); color: var(--gold-300); font-size: 0.85rem; }
.hero-float-text { font-family: var(--font-head); font-weight: 800; font-size: 0.95rem; line-height: 1.1; }
.hero-float-subtext { font-size: 0.75rem; color: var(--muted); line-height: 1.25; }
.hero-scroll { position: absolute; right: calc(var(--gutter) / 2 - 6px); top: 50%; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; transform: translateY(-50%); color: rgba(255, 255, 255, 0.75); }
.hero-scroll-text { writing-mode: vertical-rl; font-family: var(--font-head); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.hero-scroll-icon { position: relative; width: 2px; height: 64px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.hero-scroll-dot { position: absolute; left: 0; top: 0; width: 100%; height: 24px; background: var(--gold-300); animation: scroll-line 2.2s var(--ease-io) infinite; }
@keyframes scroll-line { from { transform: translateY(-100%); } to { transform: translateY(300%); } }

.hero-badge, .hero-title, .hero-description, .hero-features, .hero-buttons, .hero-visual { animation: rise 1.1s var(--ease) backwards; }
.hero-badge { animation-delay: 0.05s; } .hero-title { animation-delay: 0.15s; } .hero-description { animation-delay: 0.3s; }
.hero-features { animation-delay: 0.4s; } .hero-buttons { animation-delay: 0.5s; } .hero-visual { animation-delay: 0.6s; }
@keyframes rise { from { opacity: 0; transform: translateY(44px); } }

@media (max-width: 1199px) { .hero-scroll { display: none; } }
@media (max-width: 899px) {
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; grid-template-areas: "badge" "title" "desc" "feat" "btns" "visual"; }
  .hero-visual { margin-top: 36px; }
  .hero-content { padding-top: calc(var(--header-h) + 20px); }
  .hero-buttons .btn { flex: 1 1 100%; }
  .hero-card { padding: 16px; }
  .hero-card-header img { width: 96px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .hero-stat { padding: 12px 6px; align-items: center; text-align: center; }
  .hero-stat-number { font-size: 1.45rem; }
  .hero-stat-label { font-size: 0.75rem; }
}

/* ===== ENGAGEMENTS : légende collante + liste numérotée ===== */
.features { background: var(--paper); }
.features .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.features .section-header { display: block; position: sticky; top: 140px; margin: 0; }
.features .section-header .section-title { margin: 18px 0 22px; }
.features-grid { counter-reset: feat; display: grid; }
.feature-card {
  counter-increment: feat; position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; column-gap: 20px; row-gap: 10px;
  padding: clamp(26px, 3vw, 40px) 0; border-top: 1.5px solid var(--line-strong);
  transition: padding-left 0.55s var(--ease);
}
.feature-card:last-child { border-bottom: 1.5px solid var(--line-strong); }
.feature-card::before { content: counter(feat, decimal-leading-zero); grid-column: 1; grid-row: 1 / 3; font-family: var(--font-head); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.06em; color: var(--gold-700); padding-top: 8px; }
.feature-title { grid-column: 2; grid-row: 1; align-self: end; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.04em; }
.feature-description { grid-column: 2; grid-row: 2; max-width: 52ch; color: var(--muted); line-height: 1.7; }
.feature-icon { grid-column: 3; grid-row: 1 / 3; align-self: center; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-strong); color: var(--navy-900); font-size: 1.1rem; transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.6s var(--ease), border-color 0.4s; }
.feature-card:hover { padding-left: 14px; }
.feature-card:hover .feature-icon { background: var(--navy-900); color: var(--gold-300); border-color: var(--navy-900); transform: rotate(-12deg) scale(1.08); }
@media (max-width: 899px) {
  .features .container { grid-template-columns: 1fr; gap: 28px; }
  .features .section-header { position: static; }
  .feature-card { grid-template-columns: 40px minmax(0, 1fr); padding: 24px 0; }
  .feature-icon { display: none; }
  .feature-card:hover { padding-left: 0; }
}

/* ===== FORMATIONS : cartes qui s'empilent au défilement ===== */
.formations { background: var(--paper-2); }
body.home .formations-grid { display: flex; flex-direction: column; gap: 32px; }
body.home .formation-card {
  position: sticky; top: calc(124px + var(--n, 0) * 16px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: 1fr auto;
  min-height: clamp(420px, 44vw, 540px); border-radius: var(--radius-2xl); border: 0; box-shadow: inset 0 5px 0 var(--ac), 0 -24px 60px -36px rgba(10, 24, 38, 0.4);
}
body.home .formation-card:nth-child(1) { --n: 0; } body.home .formation-card:nth-child(2) { --n: 1; } body.home .formation-card:nth-child(3) { --n: 2; }
body.home .formation-card:nth-child(4) { --n: 3; } body.home .formation-card:nth-child(5) { --n: 4; }
body.home .formation-card:hover { transform: none; box-shadow: inset 0 5px 0 var(--ac), 0 -24px 60px -30px rgba(10, 24, 38, 0.55); }
body.home .formation-card-image { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; height: 100%; border-radius: var(--radius-2xl) 0 0 var(--radius-2xl); }
body.home .formation-card-content { grid-column: 2; grid-row: 1; justify-content: center; gap: 18px; padding: clamp(32px, 4vw, 64px) clamp(28px, 4vw, 64px) 12px; }
body.home .formation-card-title { font-size: clamp(1.9rem, 3.4vw, 3.2rem); letter-spacing: -0.05em; line-height: 1.02; }
body.home .formation-card-description { font-size: 1.05rem; max-width: 46ch; }
body.home .formation-card-footer { grid-column: 2; grid-row: 2; margin: 0 clamp(28px, 4vw, 64px); padding: 22px 0 clamp(28px, 3.4vw, 52px); }
body.home .formation-price { font-size: clamp(1.9rem, 2.8vw, 2.6rem); }

.formations-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
  margin-top: clamp(48px, 6vw, 88px); padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 48px); border-radius: var(--radius-xl);
  background: var(--navy-900); color: #fff;
}
.formations-cta p { display: flex; align-items: center; gap: 14px; max-width: 52ch; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.35; letter-spacing: -0.02em; }
.formations-cta p i { color: var(--gold-300); font-size: 1.3em; }
.formations-cta .btn-secondary { --b-bg: var(--gold-500); --b-fg: var(--ink); --b-hover: #fff; }

/* rails à défilement (mobile formations/articles, avis partout) */
.rail-controls { display: none; gap: 12px; margin-top: 8px; }
@media (max-width: 899px) {
  body.home .formations-grid, .articles-cards-grid {
    flex-direction: row; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 22px; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain;
  }
  body.home .formations-grid::-webkit-scrollbar, .articles-cards-grid::-webkit-scrollbar { display: none; }
  body.home .formation-card { position: relative; top: auto; flex: 0 0 min(84%, 400px); scroll-snap-align: start; display: flex; flex-direction: column; min-height: 0; border-radius: var(--radius-xl); }
  body.home .formation-card-image { height: auto; aspect-ratio: 16 / 10; border-radius: 0; }
  body.home .formation-card-content { padding: 22px 22px 6px; gap: 12px; }
  body.home .formation-card-title { font-size: 1.5rem; }
  body.home .formation-card-description { font-size: 0.97rem; }
  body.home .formation-card-footer { margin: 8px 22px 0; padding: 18px 0 22px; }
  body.home .formation-price { font-size: 1.6rem; }
}

/* ===== À PROPOS : plage sombre, photo haute ===== */
.about, .about.bg-cream { background: var(--ink); color: #fff; overflow: hidden; }
.about::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 100% 100%, rgba(212, 160, 18, 0.2), transparent 70%); pointer-events: none; }
.about-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.about-image { position: relative; }
.about-image-main { position: relative; z-index: 1; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius-2xl); }
.about-image-main img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.16); transition: transform 2s var(--ease); }
.about-image.visible .about-image-main img, html:not(.js) .about-image-main img { transform: scale(1); }
.about-image-accent { position: absolute; inset: 22px -22px -22px 22px; border: 1.5px solid rgba(212, 160, 18, 0.7); border-radius: var(--radius-2xl); }
.about-badge-float { position: absolute; z-index: 2; right: -28px; bottom: 44px; padding: 22px 30px; border-radius: var(--radius-xl); background: var(--gold-500); color: var(--ink); box-shadow: var(--shadow-lg); animation: bob 6s var(--ease-io) infinite; }
.about-badge-number { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.8rem, 5vw, 4.2rem); letter-spacing: -0.06em; line-height: 0.95; }
.about-badge-text { margin-top: 4px; font-size: 0.875rem; font-weight: 700; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.about-content .section-badge { color: var(--gold-400); }
.about-content .section-title { margin: 18px 0 28px; color: #fff; font-size: clamp(2rem, 4vw, 3.5rem); }
.about-text { max-width: 54ch; margin-bottom: 16px; font-size: 1.05rem; line-height: 1.75; color: rgba(255, 255, 255, 0.78); }
.about-list { display: grid; margin: 32px 0 40px; }
.about-list li { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.78); }
.about-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.about-list i { flex: none; width: 30px; height: 30px; display: grid; place-items: center; margin-top: 2px; border-radius: 50%; background: rgba(212, 160, 18, 0.2); color: var(--gold-300); font-size: 0.8rem; }
.about-list strong { color: #fff; }
@media (max-width: 899px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image { margin-right: 22px; }
  .about-image-main { aspect-ratio: 4 / 3.4; }
  .about-badge-float { right: -14px; bottom: 20px; padding: 16px 20px; }
}

/* ===== AVIS : rail horizontal ===== */
.testimonials { background: var(--paper); overflow: hidden; }
.testimonials-grid {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab;
  margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 26px; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain;
}
.testimonials-grid::-webkit-scrollbar { display: none; }
.testimonials-grid.dragging { cursor: grabbing; scroll-snap-type: none; }
html.js .testimonials-grid .fade-in { opacity: 1; transform: none; }
.testimonial-card {
  flex: 0 0 min(86vw, 430px); scroll-snap-align: start; position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: 340px; padding: clamp(26px, 3vw, 38px); border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line);
}
.testimonial-card:nth-child(3n + 2) { background: var(--navy-900); border-color: transparent; color: #fff; }
.testimonial-quote { display: block; font-family: var(--font-head); font-weight: 800; font-size: 6rem; line-height: 0.7; height: 42px; color: var(--gold-500); }
.testimonial-content { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.65; color: var(--navy-800); }
.testimonial-card:nth-child(3n + 2) .testimonial-content { color: rgba(255, 255, 255, 0.92); }
.testimonial-author { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.testimonial-card:nth-child(3n + 2) .testimonial-author { border-color: rgba(255, 255, 255, 0.18); }
.testimonial-avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--gold-500); }
.testimonial-name { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.testimonial-card:nth-child(3n + 2) .testimonial-name { color: #fff; }
.testimonial-role { font-size: 0.8125rem; color: var(--muted); line-height: 1.35; }
.testimonial-card:nth-child(3n + 2) .testimonial-role { color: rgba(255, 255, 255, 0.7); }
.testimonial-rating { display: flex; gap: 3px; margin-top: 6px; color: var(--gold-500); font-size: 0.8rem; }
.reviews-link-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 8px; }
.reviews-link { display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 28px; border-radius: var(--radius-full); border: 1.5px solid var(--line-strong); font-family: var(--font-head); font-weight: 700; color: var(--navy-900); transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s; }
.reviews-link:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.rail-controls { display: flex; }
.rail-btn { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-strong); color: var(--navy-900); transition: background 0.3s, color 0.3s, transform 0.35s var(--ease); }
.rail-btn:hover { background: var(--navy-900); color: #fff; }
.rail-btn:active { transform: scale(0.92); }
.rail-btn:disabled { opacity: 0.35; pointer-events: none; }
@media (max-width: 899px) { .testimonial-card { min-height: 0; flex-basis: 84%; } .rail-controls { display: none; } .reviews-link-wrap { justify-content: center; } }

/* ===== ARTICLES : index éditorial ===== */
.articles-section { background: var(--paper-2); }
.articles-cards-grid { counter-reset: art; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--navy-900); }
.featured-article-card {
  counter-increment: art; position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-height: 400px;
  padding: 34px clamp(22px, 2.4vw, 36px) 38px; border-right: 1px solid var(--line-strong); border-bottom: 1.5px solid var(--navy-900);
  transition: color 0.5s var(--ease);
}
.featured-article-card:last-child { border-right: 0; }
.featured-article-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy-900); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 0.6s var(--ease); }
.featured-article-card:hover::before, .featured-article-card:focus-visible::before { transform: scaleY(1); }
.featured-article-card::after { content: counter(art, decimal-leading-zero); order: -2; font-family: var(--font-head); font-weight: 800; font-size: clamp(3.2rem, 5vw, 5rem); letter-spacing: -0.06em; line-height: 0.9; color: transparent; -webkit-text-stroke: 1.5px var(--navy-900); transition: -webkit-text-stroke-color 0.5s, color 0.5s; }
.featured-article-card:hover::after { -webkit-text-stroke-color: var(--gold-400); }
.featured-article-tag { order: -1; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--radius-full); background: var(--navy-900); color: #fff; font-size: 0.8125rem; font-weight: 700; transition: background 0.5s, color 0.5s; }
.featured-article-tag.tag-inspection { background: var(--haccp-ink); }
.featured-article-tag.tag-pe { background: var(--permis-ink); }
.featured-article-card:hover .featured-article-tag { background: var(--gold-500); color: var(--ink); }
.featured-article-card h3 { font-size: clamp(1.3rem, 1.9vw, 1.7rem); letter-spacing: -0.035em; line-height: 1.16; transition: color 0.5s; }
.featured-article-card p { color: var(--muted); font-size: 0.97rem; transition: color 0.5s; }
.featured-article-link { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; font-family: var(--font-head); font-weight: 800; color: var(--navy-900); transition: color 0.5s, gap 0.4s var(--ease); }
.featured-article-card:hover h3, .featured-article-card:hover .featured-article-link { color: #fff; }
.featured-article-card:hover p { color: rgba(255, 255, 255, 0.78); }
.featured-article-card:hover .featured-article-link { gap: 18px; color: var(--gold-300); }
.articles-section-cta { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 64px); }
@media (max-width: 899px) {
  .articles-cards-grid { counter-reset: art; border-top: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 22px; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; }
  .featured-article-card { flex: 0 0 min(82%, 360px); scroll-snap-align: start; min-height: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 26px 24px 28px; gap: 14px; overflow: hidden; }
  .featured-article-card:last-child { border-right: 1px solid var(--line); }
  .featured-article-card::after { font-size: 2.8rem; }
}

/* ===== CONTACT : plage sombre ===== */
.contact { background: var(--ink); color: #fff; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 55% at 0% 0%, rgba(212, 160, 18, 0.18), transparent 70%); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.contact-info-card { position: sticky; top: 140px; }
.contact-info-title { margin-bottom: 22px; color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.8rem); letter-spacing: -0.055em; line-height: 0.98; }
.contact-info-text { max-width: 44ch; margin-bottom: 36px; font-size: 1.08rem; line-height: 1.7; color: rgba(255, 255, 255, 0.78); }
.contact-items { display: grid; }
.contact-item { display: flex; align-items: center; gap: 20px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.contact-item:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.contact-item-icon { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(212, 160, 18, 0.16); color: var(--gold-300); transition: background 0.35s, color 0.35s, transform 0.5s var(--ease); }
.contact-item:hover .contact-item-icon { background: var(--gold-500); color: var(--ink); transform: rotate(-10deg) scale(1.06); }
.contact-item-label { font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.contact-item-value { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 1.7vw, 1.4rem); letter-spacing: -0.02em; line-height: 1.3; }
.contact-item-value a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 0.5s var(--ease), color 0.3s; }
.contact-item-value a:hover { color: var(--gold-300); background-size: 100% 2px; }
.contact-social { display: flex; gap: 12px; margin-top: 28px; }
.contact-social-link { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.26); transition: background 0.3s, color 0.3s, transform 0.4s var(--ease); }
.contact-social-link:hover { background: var(--gold-500); color: var(--ink); border-color: var(--gold-500); transform: translateY(-4px); }
.contact-form-card { padding: clamp(24px, 4vw, 56px); border-radius: var(--radius-2xl); background: #fff; color: var(--text); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); }
.contact-form-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.04em; }
.contact-form-subtitle { margin: 8px 0 28px; color: var(--muted); }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } .contact-info-card { position: static; } }
