/* ── Hrizl overrides on top of the real MOST theme ────────── */

/* Accessible page heading: read by search engines + screen readers, not shown.
   Used where the visual hero is a carousel/filter UI with no real <h1>. */
.sr-only{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* Brand accent = the red from the client logo's "i" (#F20E0E), not the theme's coral.
   Overriding the theme var flips every accent (buttons, numerals, underlines) to brand red. */
:root,
[data-theme="light"],
[data-theme="dark"]{
  --color-primary: #F20E0E;
}

/* Client wordmark logo (image, dual-theme swap handled by theme's .logo-dark/.logo-light) */
.main-header__logo .hrizl-logo-img{
  height:40px; width:auto; display:block;
}
@media (max-width:768px){ .main-header__logo .hrizl-logo-img{ height:32px; } }

/* Contact page — address block matches phone/email tag styling */
.contact-area .contact .address{ margin-top:22px; }

/* Hero slide video should cover like the slide images do */
.banner-horizental .slider-inner video{
  position:absolute; top:0; left:0; width:100%; height:100%;
  object-fit:cover; z-index:-1;
}

/* Client-logo ticker (real .ms-tt component, images instead of text).
   Logos are white/colored on a BLACK crop bg → shown on the dark strip they
   blend; grayscale+dim by default, full colour on hover. (No brightness/invert —
   that turned the black-backed crops into solid white blocks.) */
.ms-tt__text img{
  height:80px; width:auto; margin:0 46px; vertical-align:middle;
  filter:grayscale(1); opacity:.7; transition:.35s ease;
}
@media (max-width:768px){ .ms-tt__text img{ height:52px; margin:0 26px; } }
.ms-tt__text img:hover{ filter:grayscale(0); opacity:1; }

/* Inner-page hero background → Hrizl imagery (beats theme's demo bg) */
.ms-main .ms-page-content .ms-hero.services .jarallax-img,
.ms-main .ms-page-content .ms-hero.services .jarallax-img > div{
  background-image:url('img/archviz/14.jpeg') !important;
}

/* "Why Choose Us" card numbers → large coral numeral (editorial, on-theme) */
.team-rules-area .content .desc{
  font-family:"Manrope",sans-serif; font-weight:800;
  font-size:clamp(38px,4vw,58px); line-height:1; letter-spacing:-.02em;
  color:var(--color-primary); opacity:.9; margin-bottom:18px;
}
.team-rules-area .content .desc br{ display:none; }

/* Seamless brands ticker — theme scrolls one copy then a full-width gap ("stops").
   Two identical copies + translateX 0→-50% = true continuous loop, no gap. */
.hrizl-clients .ms-tt{
  padding-left:0 !important; margin-left:0 !important; will-change:transform;
  animation:hrizl-marquee 45s linear infinite !important;
}
.hrizl-clients:hover .ms-tt{ animation-play-state:paused; }
@keyframes hrizl-marquee{ from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* Cinematics tiles now autoplay inline video (cover the 4:4 figure like img) */
.ms-p-img video{ width:100%; height:100%; object-fit:cover; display:block; }

/* Digital Marketing service cards (textual, no portfolio image) */
.hrizl-scard{
  height:100%; padding:34px 30px; border:1px solid var(--color-contrast-lower);
  border-radius:14px; background:var(--color-bg-light);
  transition:border-color .35s ease, transform .35s ease;
}
.hrizl-scard:hover{ border-color:var(--color-primary); transform:translateY(-4px); }
.hrizl-scard h3{
  font-family:"Manrope",sans-serif; font-weight:800; font-size:22px;
  line-height:1.15; margin:0 0 12px; color:var(--color-contrast-higher);
}
.hrizl-scard h3::before{
  content:""; display:block; width:34px; height:3px; margin-bottom:16px;
  background:var(--color-primary); border-radius:2px;
}
.hrizl-scard p{ margin:0; font-size:15px; line-height:1.6; color:var(--color-contrast-medium); }
.hrizl-grid .element-item{ margin-bottom:30px; }
/* Let the card fill its column so card bottoms line up across a row */
.hrizl-grid .element-item.digital > .item--inner{ height:100%; }

/* Service item lists inside the category cards */
.hrizl-slist{ list-style:none; padding:0; margin:0; }
.hrizl-slist li{
  position:relative; padding:7px 0 7px 20px; font-size:14.5px; line-height:1.45;
  color:var(--color-contrast-medium); border-bottom:1px solid var(--color-contrast-lower);
}
.hrizl-slist li:last-child{ border-bottom:0; padding-bottom:0; }
.hrizl-slist li::before{
  content:""; position:absolute; left:0; top:15px; width:6px; height:6px;
  border-radius:50%; background:var(--color-primary); opacity:.65;
}

/* Flagship card — full width, sits below the category grid */
.hrizl-scard--flagship{
  padding:44px 42px; border-color:var(--color-primary);
  background:linear-gradient(180deg, rgba(242,14,14,.05), transparent 60%), var(--color-bg-light);
}
.hrizl-scard--flagship:hover{ transform:none; }
.hrizl-flag{
  display:inline-block; font-size:11px; font-weight:800; letter-spacing:.18em; text-transform:uppercase;
  color:var(--color-primary); border:1px solid var(--color-primary); border-radius:100px;
  padding:6px 14px; margin-bottom:18px;
}
.hrizl-scard--flagship h3{ font-size:clamp(24px,2.4vw,34px); margin-bottom:14px; }
.hrizl-scard--flagship h3::before{ display:none; }
.hrizl-scard--flagship > p{ max-width:70ch; margin-bottom:26px; font-size:16px; }
/* Flagship list flows in columns so it doesn't run as one long strip */
.hrizl-slist--wide{ column-count:3; column-gap:44px; }
.hrizl-slist--wide li{ break-inside:avoid; }
@media (max-width:900px){ .hrizl-slist--wide{ column-count:2; } }
@media (max-width:600px){
  .hrizl-slist--wide{ column-count:1; }
  .hrizl-scard--flagship{ padding:32px 26px; }
}

/* Hero slide title when it's a sentence, not a single display word.
   Theme sets 8vw via a 9-class chain — this matches that specificity to win. */
.index-two .ms-main .swiper-container-h .swiper-wrapper .swiper-slide .slider-inner .swiper-content .title-area .title--sentence{
  font-size:clamp(26px,3.6vw,54px); line-height:1.1; letter-spacing:-.02em;
  max-width:19ch; display:inline-block;
}

/* About Us intro (above Why Choose Us) — editorial treatment */
.about-intro-area{ padding:100px 0 40px; }
.about-intro-area .border-line{ margin-bottom:48px; }

/* Bigger section labels ("About Us" / "Why Choose Us") + tighter gap to next section */
.about-intro-area .heading-title,
.team-rules-area .top .heading-title{
  font-size:clamp(24px,2.3vw,34px); font-weight:800; letter-spacing:-.015em; line-height:1.1;
  color:var(--color-contrast-higher);
}
.team-rules-area{ padding-top:20px; }

/* Left sticky label: index number + title + tag */
.about-intro__label{ position:sticky; top:120px; }
.about-intro__idx{
  display:block; font-family:"Manrope",sans-serif; font-weight:800; font-size:15px;
  letter-spacing:.28em; color:var(--color-primary); margin-bottom:18px;
}
.about-intro__idx::after{ content:""; display:inline-block; width:40px; height:2px;
  background:var(--color-primary); vertical-align:middle; margin-left:14px; }
.about-intro-area .heading-title{ margin:0 0 18px; }
.about-intro__tag{
  display:inline-block; font-size:12px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--color-contrast-medium); padding:7px 14px; border:1px solid var(--color-contrast-lower); border-radius:100px;
}

/* Paragraphs */
.about-intro-area p{ font-size:17px; line-height:1.8; color:var(--color-contrast-medium); margin:0 0 22px; max-width:62ch; }
.about-intro-area .about-intro__lead{
  font-family:"Manrope",sans-serif; font-size:clamp(28px,3vw,44px); line-height:1.28;
  color:var(--color-contrast-higher); font-weight:600; letter-spacing:-.01em; margin-bottom:34px; max-width:none;
}
/* Lead highlight in brand red; body-paragraph bold stays white */
.about-intro-area .about-intro__lead em{ font-style:normal; color:var(--color-primary); font-weight:800; }
.about-intro-area p strong{ color:var(--color-contrast-higher); font-weight:800; font-size:1.08em; }

/* Capability chips */
.about-intro__chips{ list-style:none; padding:0; margin:34px 0 0; display:flex; flex-wrap:wrap; gap:12px; }
.about-intro__chips li{
  font-size:13px; font-weight:600; letter-spacing:.02em; color:var(--color-contrast-higher);
  padding:10px 18px; border:1px solid var(--color-contrast-lower); border-radius:100px;
  transition:border-color .3s ease, color .3s ease;
}
.about-intro__chips li:hover{ border-color:var(--color-primary); color:var(--color-primary); }

/* Supporting visual under the label — taller so the left column fills (no blank gap) */
.about-intro__media{ margin:30px 0 0; border-radius:14px; overflow:hidden; aspect-ratio:3/4;
  border:1px solid var(--color-contrast-lower); }
.about-intro__media img{ width:100%; height:100%; object-fit:cover; display:block;
  transform:scale(1.02); transition:transform 1.2s ease; }
.about-intro__media:hover img{ transform:scale(1.08); }

/* Entrance reveals */
.about-intro-area p:not(.about-intro__lead),
.about-intro__chips, .about-intro__media, .about-intro__label{
  opacity:0; transform:translateY(26px); transition:opacity .8s ease, transform .8s ease;
}
.about-intro-area p.in, .about-intro-area .about-intro__chips.in,
.about-intro-area .about-intro__media.in, .about-intro-area .about-intro__label.in{
  opacity:1; transform:none;
}
.about-intro__lead.lead-anim .w{ display:inline-block; opacity:0; transform:translateY(.55em);
  transition:opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.about-intro__lead.lead-anim.in .w{ opacity:1; transform:none; }

@media (prefers-reduced-motion:reduce){
  .about-intro-area p:not(.about-intro__lead),
  .about-intro__chips, .about-intro__media, .about-intro__label,
  .about-intro__lead.lead-anim .w{ opacity:1 !important; transform:none !important; transition:none !important; }
}

@media (max-width:768px){
  .about-intro-area{ padding:64px 0 14px; }
  .about-intro__label{ position:static; margin-bottom:26px; }
  .about-intro-area .about-intro__lead{ font-size:22px; }
  .about-intro__media{ max-width:340px; }
}

/* Placeholder note chips */
.hrizl-note{ font-style:italic; font-size:13px; color:var(--color-contrast-medium); }

/* Compact clients ticker strip (uses the real .ms-tt component) */
.hrizl-clients{ position:relative; overflow:hidden; background:#0b0b0b; padding:64px 0; }
.hrizl-clients__bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.20; z-index:0; }
.hrizl-clients .ms-tt-wrap{ position:relative; z-index:1;
  -webkit-mask:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  mask:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.hrizl-clients .clients-label{ position:relative; z-index:1; text-align:center; color:rgba(255,255,255,.5);
  font-size:12px; letter-spacing:.22em; text-transform:uppercase; margin-bottom:34px; }

/* Contact form — typed text was staying dark on the dark theme (invisible).
   Theme contrast vars flip per theme, so this stays readable in BOTH light + dark. */
.contact-form input,
.contact-form textarea{
  color:var(--color-contrast-higher) !important;
  -webkit-text-fill-color:var(--color-contrast-higher);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder{
  color:var(--color-contrast-medium) !important;
  -webkit-text-fill-color:var(--color-contrast-medium); opacity:1;
}
/* Chrome autofill keeps its own bg/text — force it back to theme colors */
.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:focus{
  -webkit-text-fill-color:var(--color-contrast-higher);
  transition:background-color 9999s ease-in-out 0s;
}

/* Contact checklist (Why Choose Us — compact) */
.hrizl-check{ list-style:none; padding:0; margin:26px 0 4px; display:grid; grid-template-columns:1fr 1fr; gap:12px 26px; }
.hrizl-check li{ position:relative; padding-left:28px; font-size:15px; line-height:1.5; color:var(--color-contrast-medium); }
.hrizl-check li::before{ content:""; position:absolute; left:2px; top:3px; width:15px; height:8px;
  border-left:2px solid var(--color-primary); border-bottom:2px solid var(--color-primary); transform:rotate(-45deg); }
@media (max-width:640px){ .hrizl-check{ grid-template-columns:1fr; } }

/* Contact info block — 2×2 grid so rows line up even when phone has 2 numbers
   (was: uneven column heights pushed Address/Business-Hours out of line). */
/* Contact info — each field on its own line: label + value inline, clean & readable. */
.contact-area .row.contact{ display:block; margin:34px 0 0; }
.contact-area .row.contact > ul{ display:flex; flex-wrap:wrap; align-items:baseline; column-gap:14px; row-gap:4px;
  width:100%; max-width:none; margin:0 0 16px; padding:0 0 16px; border-bottom:1px solid var(--color-contrast-lower); }
.contact-area .row.contact > ul:last-child{ border-bottom:0; }
.contact-area .contact ul li{ margin:0; line-height:1.55; color:var(--color-contrast-medium); }
.contact-area .contact ul li.tag{ flex:0 0 150px; margin:0; font-weight:700; letter-spacing:.01em;
  color:var(--color-contrast-higher); text-transform:none; }
@media (max-width:480px){ .contact-area .contact ul li.tag{ flex-basis:100%; margin-bottom:2px; } }

/* Contact form intro */
.hrizl-form-head{ font-family:"Manrope",sans-serif; font-weight:800; font-size:22px; margin:0 0 6px; color:var(--color-contrast-higher); }
.hrizl-form-sub{ font-size:14px; color:var(--color-contrast-medium); margin:0 0 22px; }
.hrizl-form-msg{ margin:16px 0 0; font-size:14px; padding:12px 16px; border-radius:10px; }
.hrizl-form-msg.ok{ color:#1f7a3d; background:rgba(31,157,63,.10); border:1px solid rgba(31,157,63,.30); }
.hrizl-form-msg.err{ color:#c0392b; background:rgba(192,57,43,.08); border:1px solid rgba(192,57,43,.30); }

/* FAQ accordion */
.faq-area{ padding:90px 0; }
.faq-area .faq-top{ margin:0 0 40px; align-items:center; }
.faq-lead{ font-family:"Manrope",sans-serif; font-weight:700; font-size:clamp(24px,2.4vw,36px); line-height:1.2; color:var(--color-contrast-higher); margin:0; }
.hrizl-faq{ border-top:1px solid var(--color-contrast-lower); }
.faq-item{ border-bottom:1px solid var(--color-contrast-lower); }
.faq-q{ width:100%; text-align:left; background:none; border:0; cursor:pointer; padding:24px 46px 24px 0; position:relative;
  font-family:"Manrope",sans-serif; font-weight:600; font-size:clamp(16px,1.5vw,20px); color:var(--color-contrast-higher); transition:color .25s ease; }
.faq-q:hover{ color:var(--color-primary); }
.faq-ic{ position:absolute; right:6px; top:50%; width:16px; height:16px; transform:translateY(-50%); }
.faq-ic::before,.faq-ic::after{ content:""; position:absolute; background:var(--color-primary); transition:transform .3s ease; }
.faq-ic::before{ left:0; top:7px; width:16px; height:2px; }
.faq-ic::after{ left:7px; top:0; width:2px; height:16px; }
.faq-item.open .faq-ic::after{ transform:scaleY(0); }
.faq-a{ overflow:hidden; max-height:0; transition:max-height .4s ease; }
.faq-item.open .faq-a{ max-height:360px; }
.faq-a p{ margin:0; padding:0 46px 26px 0; font-size:15px; line-height:1.7; color:var(--color-contrast-medium); }

/* Footer socials — 4 across breathing room */
.social-area .area-inner{ row-gap:22px; }

/* Why Choose Us — short headline + lighter supporting line (was one run-on) */
.team-rules-area .top .title em{ font-style:normal; color:var(--color-primary); font-weight:900; font-size:1.08em; }
.wcu-sub{ margin:20px 0 0; font-size:17px; line-height:1.7; color:var(--color-contrast-medium); max-width:58ch; }
