/* Libero: clear service information, real work, and a direct path to consultation. */
:root { --libero-red: #dc2626; --libero-ink: #111827; }
[hidden] { display: none !important; }
.hero-section { padding: 150px 0 76px; }
.hero-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.eyebrow { color: var(--libero-red); font-size: .875rem; letter-spacing: .15em; font-weight: 700; margin-bottom: 24px; }
.hero-title { font-size: clamp(2.35rem, 3.65vw, 3.55rem); font-weight: 900; line-height: 1.42; letter-spacing: -.055em; }
.hero-title > span { color: var(--libero-red); }
.hero-description { font-size: 1rem; line-height: 1.95; color: #4b5563; margin-top: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.action-primary, .action-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; padding: 14px 24px; border-radius: 10px; font-size: .9375rem; font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.action-primary { background: var(--libero-red); color: white; border: 1px solid var(--libero-red); }
.action-primary:hover { background: #b91c1c; border-color: #b91c1c; }
.action-secondary { background: white; border: 1px solid #d1d5db; color: var(--libero-ink); }
.action-secondary:hover { color: #b91c1c; border-color: #dc2626; }
.hero-note { font-size: .8125rem; color: #6b7280; margin-top: 16px; line-height: 1.8; }
.hero-proof { display: flex; gap: 32px; border-top: 1px solid #e5e7eb; margin-top: 28px; padding-top: 24px; }
.hero-proof > div > span { display: block; font-size: .75rem; color: #4b5563; }
.hero-proof strong { display: block; font-size: 2rem; font-weight: 900; letter-spacing: -.035em; line-height: 1.4; }
.hero-proof strong span { font-size: .875rem; margin-left: 5px; font-weight: 700; }
.hero-works-label { display: flex; justify-content: space-between; color: #6b7280; font-size: .75rem; letter-spacing: .13em; margin-bottom: 14px; }
.hero-work { display: block; background: white; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px -18px #11182750; }
.hero-work:hover { border-color: #dc2626; }
.hero-work img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #e5e7eb; }
.hero-work > div { padding: 12px 16px; }
.hero-work strong { display: block; font-size: .875rem; line-height: 1.6; }
.hero-work span { color: #b91c1c; font-size: .75rem; display: block; margin-bottom: 3px; }
.hero-work small { color: #6b7280; font-size: .75rem; display: block; margin-top: 4px; }
.hero-work-main strong { font-size: 1rem; }
.hero-work-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.portfolio-controls { margin-top: 32px; text-align: center; }
.coconala-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.coconala-proof > div { min-width: 0; border-left: 2px solid #ef4444; padding-left: 16px; }
.coconala-proof span { display: block; font-size: .875rem; color: #d1d5db; }
.coconala-proof strong { display: block; font-size: 2rem; line-height: 1.7; color: white; }
.coconala-proof small { font-size: .875rem; margin-left: 4px; color: #d1d5db; }
.coconala-proof .rank { font-size: 1.5rem; }
.coconala-link { display: inline-flex; gap: 12px; align-items: center; margin-top: 20px; padding-bottom: 3px; border-bottom: 1px solid #9ca3af; color: white; font-size: .9375rem; font-weight: 700; }
.coconala-link:hover { color: #fca5a5; border-color: #fca5a5; }
#portfolio-count { font-size: .875rem; color: #6b7280; margin-bottom: 16px; }
#portfolio-grid .milestone-badge { top: 8px; right: 8px; z-index: 2; background: linear-gradient(135deg,#fff3a3,#facc15 55%,#f59e0b); color: #451a03; border: 2px solid #fff7cc; border-radius: 10px; padding: 6px 9px; gap: 5px; box-shadow: 0 3px 0 #b45309, 0 5px 12px #0008; }
#portfolio-grid .milestone-badge svg { width: 17px; height: 21px; color: #b91c1c; }
.milestone-copy { display: flex; flex-direction: column; align-items: center; line-height: 1.1; white-space: nowrap; }
.milestone-copy strong { font-size: 23px; font-weight: 900; letter-spacing: -.04em; }
.milestone-copy > span { font-size: 11px; font-weight: 900; margin-top: 3px; letter-spacing: .08em; }
#portfolio-grid .shadow-red-glow { box-shadow: none; }
#portfolio-grid h3 { font-size: 1rem; line-height: 1.7; }
#portfolio-grid h3 > span.bg-amber-400 { display: none; }
.pricing-details { max-width: 1152px; margin: 40px auto 0; background: white; border: 1px solid #e5e7eb; border-radius: 18px; padding: 32px; text-align: left; }
.pricing-details h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.pricing-details dl > div { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid #e5e7eb; font-size: .9375rem; }
.pricing-details dt { font-weight: 700; }
.pricing-details dd { color: #4b5563; line-height: 1.8; }
.single-project { display: flex; gap: 24px; align-items: center; justify-content: space-between; margin-top: 24px; }
.single-project p { color: #6b7280; font-size: .875rem; margin-top: 8px; }
.single-project .action-secondary { flex-shrink: 0; }
.contact-phone { display: flex; gap: 24px; align-items: center; justify-content: space-between; margin-bottom: 24px; padding: 28px 32px; border: 1px solid #374151; border-radius: 18px; color: #d1d5db; }
.contact-phone p { font-size: .875rem; line-height: 1.9; }
.contact-phone a { display: inline-block; font-size: 1.75rem; font-weight: 700; color: white; letter-spacing: .02em; white-space: nowrap; }
.contact-phone a:hover { text-decoration: underline; text-underline-offset: 6px; }
.footer-company { color: white; margin-bottom: 32px; }
.footer-company > p:first-child { font-weight: 700; font-size: 1.125rem; margin-bottom: 12px; }
.footer-company > a { font-size: 1.5rem; font-weight: 700; }
.footer-hours { font-size: .875rem; color: #d1d5db; margin-top: 8px; }
.footer-company .footer-address { font-size: .875rem; color: #9ca3af; margin-top: 12px; line-height: 1.9; }
.mobile-contact-bar { display: none; }
#pricing .p-10 { padding: 32px 24px; border-radius: 20px; }
#pricing .text-5xl { font-size: 2.25rem; }
#pricing .shadow-2xl { box-shadow: 0 12px 32px -24px #11182750; }
#service .p-12 { padding: 32px; }
#trust .p-12 { padding: 32px; }
#about-overlay th, #about-overlay td { overflow-wrap: anywhere; }
#mobile-menu { max-height: calc(100dvh - 5rem); overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 1023px) {
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-section { padding-top: 128px; }
  .hero-title { font-size: clamp(2rem, 6vw, 3.25rem); }
  .hero-works { max-width: 680px; width: 100%; }
  .hero-work-main { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; }
  .hero-work-pair img { max-height: 190px; }
}
@media (max-width: 767px) {
  .coconala-proof { grid-template-columns: 1fr; gap: 16px; }
  .coconala-proof > div { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
  .hero-section { padding-top: 116px; padding-bottom: 48px; }
  .hero-actions { flex-direction: column; }
  .hero-proof { gap: 20px; }
  .hero-proof strong { font-size: 1.75rem; }
  .hero-proof > div > span { font-size: .75rem; }
  .hero-work-main { display: block; }
  .hero-work > div { padding: 10px 12px; }
  .hero-work-pair { gap: 10px; }
  .pricing-details { padding: 24px 20px; }
  .pricing-details dl > div { grid-template-columns: 1fr; gap: 6px; }
  .single-project, .contact-phone { flex-direction: column; align-items: stretch; }
  .contact-phone { padding: 24px; gap: 10px; }
  .contact-form-panel { padding: 28px 20px; border-radius: 24px; }
  #contact h2 { font-size: 1.75rem; line-height: 1.5; }
  #contact input, #contact textarea, #contact select { padding: 14px; }
  #contact textarea { resize: vertical; }
  .cf-turnstile { overflow: hidden; }
  .mobile-contact-bar { display: grid; grid-template-columns: 1fr 1.7fr; gap: 10px; position: fixed; bottom: 0; left: 0; right: 0; background: #ffffffed; backdrop-filter: blur(12px); border-top: 1px solid #e5e7eb; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); z-index: 50; }
  .mobile-contact-bar a { min-height: 48px; padding: 10px 8px; font-size: .875rem; }
  .mobile-phone { display: flex; justify-content: center; align-items: center; border: 1px solid #d1d5db; border-radius: 10px; font-weight: 700; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  #about-overlay th, #about-overlay td { padding: 18px 12px; font-size: .875rem; }
  #about-overlay th { width: 28%; }
  #trust .p-12 { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}

.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-status { margin-top: 24px; padding: 16px 20px; border-radius: 12px; background: #064e3b; border: 1px solid #10b981; color: #d1fae5; font-size: .9375rem; font-weight: 700; line-height: 1.7; }
.contact-status.is-error { background: #450a0a; border-color: #ef4444; color: #fee2e2; }
#contact-form button[type="submit"]:disabled { opacity: .6; cursor: wait; }

/* Direct consultation entry, clear of the fixed header. */
#contact-entry { scroll-margin-top: 100px; }
#contact-entry > p { margin-bottom: 24px; line-height: 1.8; }
.consultation-summary { color: #d1d5db; margin-bottom: 28px; font-size: .9375rem; line-height: 1.8; }
.consultation-summary > p:first-child { color: white; font-weight: 700; }
.consultation-summary ul { list-style: disc; padding-left: 1.4em; margin: 10px 0; }
@media (max-width: 767px) {
  #contact-entry { scroll-margin-top: 92px; }
  #contact-entry h2 { font-size: 1.5rem; }
}

.estimate-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; max-width:1152px; margin:0 auto; text-align:left; }
.estimate-card { display:flex; flex-direction:column; padding:32px 24px; background:white; border:1px solid #e5e7eb; border-radius:20px; }
.estimate-card h3 { font-size:1.5rem; font-weight:900; color:#111827; margin-bottom:16px; }
.estimate-card p { font-size:.9375rem; line-height:1.8; color:#4b5563; }
.estimate-card .estimate-lead { color:#b91c1c; font-weight:700; margin-bottom:12px; }
.estimate-card ul { list-style:disc; padding-left:1.3em; margin:24px 0; line-height:2; color:#374151; }
.estimate-card .estimate-price { font-weight:700; color:#111827; margin-top:auto; margin-bottom:16px; }
.estimate-card .action-secondary { padding:14px 12px; font-size:.875rem; }
@media (max-width:1023px) { .estimate-cards { grid-template-columns:1fr; } }

@media (min-width: 768px) { #service .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Refined presentation: quiet framing around vivid video artwork. */
.hero-bg { background: #fafbfc; }
.hero-bg::before { opacity: .18; }
.hero-layout { gap: 56px; }
.hero-work-list { display: grid; gap: 12px; }
.hero-work-list .hero-work { display: grid; grid-template-columns: 40% 1fr; align-items: center; box-shadow: none; border-radius: 12px; }
.hero-work-list .hero-work img { height: 112px; aspect-ratio: auto; object-fit: cover; }
.hero-work-list .hero-work > div { padding: 12px 18px; }
.hero-work-list .hero-work span { color: #64748b; font-size: .65rem; letter-spacing: .14em; margin-bottom: 5px; }
.hero-work-list .hero-work strong { font-size: .9375rem; }
.hero-support { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e2e8f0; }
.hero-support p { font-weight: 700; font-size: .9375rem; }
.hero-support ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 10px; font-size: .8125rem; color: #475569; }
.hero-support li:not(:last-child)::after { content: '→'; margin-left: 8px; color: #94a3b8; }
.hero-support small { font-size: .75rem; line-height: 1.8; color: #64748b; display: block; }
.portfolio-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; margin-bottom: 28px; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
#portfolio-filters { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: #e9edf2; }
#portfolio-filters button { padding: 10px 18px; border-radius: 8px; font-size: .875rem; font-weight: 700; color: #475569; min-height: 44px; }
#portfolio-filters button[aria-pressed="true"] { background: #fff; color: #111827; box-shadow: 0 1px 4px #11182714; }
.genre-control { display: flex; align-items: center; gap: 12px; }
.genre-control label { color: #64748b; font-size: .8125rem; }
.genre-control select { border: 1px solid #cbd5e1; border-radius: 8px; background: white; padding: 11px 30px 11px 12px; font-size: .875rem; min-height: 44px; color: #334155; }
:where(a,button,select):focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; }
#portfolio-grid .portfolio-link > div { box-shadow: none; border-radius: 12px; }
#portfolio-grid .portfolio-link h3 { font-weight: 700; }
#portfolio-grid .portfolio-link .shadow-red-glow { width: 48px; height: 48px; background: #111827c9; }
.shadow-red-glow { box-shadow: none !important; }
.estimate-card, .pricing-details, .contact-phone { border-radius: 16px; }
@media (max-width: 767px) {
  .hero-work-list .hero-work img { height: 100px; }
  .hero-work-list .hero-work > div { padding: 10px 12px; }
  .hero-work-list .hero-work strong { font-size: .8125rem; }
  .hero-work-list .hero-work small { font-size: .6875rem; }
  .portfolio-toolbar { align-items: stretch; flex-direction: column; gap: 16px; }
  #portfolio-filters button { flex: 1; padding: 10px 8px; }
  .genre-control { justify-content: space-between; }
  .genre-control select { flex: 1; max-width: 240px; }
}

/* Keep the opening section balanced on desktop. */
@media (min-width: 1024px) {
  .hero-section { padding: 132px 0 64px; }
  .hero-layout { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: start; gap: 56px; }
  .hero-works { padding-top: 4px; min-width: 0; }
  .hero-work-list .hero-work { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); }
  .hero-work-list .hero-work img { height: 108px; }
  .hero-title { font-size: clamp(2.35rem, 3.4vw, 3.1rem); }
}

/* Clearly attributed results and a centered consultation introduction. */
.hero-proof { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; text-align: center; }
.hero-proof > div { min-width: 0; }
.hero-proof > div + div { border-left: 1px solid #e2e8f0; }
.hero-proof > div > span { font-size: .6875rem; line-height: 1.7; min-height: 38px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.hero-proof strong { font-size: clamp(1.5rem,2.5vw,2rem); white-space: nowrap; }
.hero-proof strong span { font-size: .6875rem; margin-left: 3px; }
.consultation-summary { text-align: center; margin-bottom: 32px; }
.consultation-summary > p:first-child { font-size: 1.125rem; }
.consultation-summary ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; padding: 0; margin: 24px 0; gap: 16px; }
.consultation-summary li { padding: 24px 18px; border: 1px solid #374151; border-radius: 14px; background: #ffffff04; }
.consultation-summary li > span { display: block; color: #fca5a5; font-size: .75rem; letter-spacing: .12em; margin-bottom: 12px; }
.consultation-summary strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 10px; }
.consultation-summary li p { font-size: .8125rem; line-height: 1.9; color: #cbd5e1; }
.contact-phone { justify-content: center; text-align: center; gap: 40px; }
@media (max-width: 767px) {
 .hero-proof { gap: 6px; }
 .hero-proof > div > span { font-size: .625rem; }
 .hero-proof strong { font-size: 1.45rem; }
 .hero-proof strong span { display: block; font-size: .625rem; margin: 3px 0 0; }
 .consultation-summary ul { grid-template-columns: 1fr; gap: 12px; }
 .consultation-summary li { padding: 20px; }
 .contact-phone { gap: 16px; }
}
