/* =====================================================================
   iassistpro.online — theme layer
   Loaded AFTER style.css. Overrides palette + type and adds structure.
   Palette: https://coolors.co/9e6240-dea47e-cd4631-f8f2dc-81adc8
   ===================================================================== */

:root {
  --cornsilk:   #F8F2DC;  /* page base            */
  --brown:      #9E6240;  /* ink / brand / headings */
  --brown-deep: #4A2B1A;  /* body text            */
  --cinnabar:   #CD4631;  /* primary action       */
  --cinnabar-d: #B23A27;  /* action hover         */
  --tan:        #DEA47E;  /* soft surfaces/borders */
  --tan-soft:   #EFD9C3;  /* tint                 */
  --sky:        #81ADC8;  /* cool counter-accent  */
  --sky-deep:   #3E7C9B;  /* accent for text/links */
  --ink-soft:   #7A6960;
  --card:       #FFFFFF;
  --shadow:     0 10px 30px rgba(74, 43, 26, .10);
  --radius:     14px;
}

/* ---------- Typography -------------------------------------------- */
body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--brown-deep);
  background: var(--cornsilk);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6,
.section-title h2, #hero h1 {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  letter-spacing: -0.015em;
  color: var(--brown);
}
p { line-height: 1.7; max-width: 72ch; }

a { color: var(--sky-deep); }
a:hover { color: var(--cinnabar); }

/* ---------- Unified container + section rhythm -------------------- */
/* One container width + one gutter everywhere, so every section,
   the header and the hero share identical left/right edges.         */
.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 28px;
}
#header .container-fluid { padding-inline: 0; }   /* nav aligns to content */

#main { margin-top: 0; }
section { padding: 80px 0; }
/* One flat background — no alternating section bands */
.section-bg { background: transparent !important; }
.about, .services, .faq, .contact { padding: 80px 0; }   /* beat template’s 60px */
section:first-child { padding-top: 56px; }
.breadcrumbs + #main section:first-child,
#main > section:first-child { padding-top: 64px; }

/* ---------- Header / nav ------------------------------------------ */
#header {
  background: rgba(248, 242, 220, .92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--tan-soft);
  box-shadow: none;
  padding: 14px 0;
}
.logo-wordmark {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--brown);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.logo-wordmark .dot { color: var(--cinnabar); }
.logo-wordmark .tld { color: var(--sky-deep); font-weight: 500; font-size: .72em; }
.logo-wordmark:hover { color: var(--brown); }

.nav-menu a {
  color: var(--brown-deep);
  font-weight: 500;
  font-size: 15px;
  padding: 10px 14px;
  position: relative;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--sky);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav-menu a:hover::after,
.nav-menu li.active a::after { transform: scaleX(1); }
.nav-menu a:hover,
.nav-menu li.active a { color: var(--cinnabar); }
.nav-menu li.uplode a {
  color: #fff;
  background: var(--cinnabar);
  border-radius: 999px;
  padding: 9px 20px;
}
.nav-menu li.uplode a::after { display: none; }
.nav-menu li.uplode a:hover { background: var(--cinnabar-d); color: #fff; }

/* ---------- Hero -------------------------------------------------- */
#hero {
  width: 100%;
  height: auto;              /* override template 80vh — size to content */
  min-height: 0;
  margin: 0;
  padding: 150px 0 90px;     /* top padding clears the fixed header     */
  background:
    radial-gradient(1000px 520px at 88% -8%, var(--tan-soft) 0%, rgba(248,242,220,0) 58%),
    var(--cornsilk) !important;
  background-attachment: scroll !important;
}
#hero .container { height: auto; }
#hero .row { height: auto; }
#hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.07;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--brown);
}
#hero .banner-text h5 {
  color: var(--brown-deep) !important;
  opacity: .92;
  max-width: 46ch;
  font-size: 1.12rem;
  line-height: 1.6;
  margin-bottom: 30px !important;
}
#hero .btn-get-started { margin: 0; }
#hero .hero-img img { max-height: none; box-shadow: none; }
#hero .btn-get-started {
  background: var(--cinnabar);
  border-radius: 999px;
  padding: 14px 40px;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 8px 22px rgba(205, 70, 49, .28);
  transition: transform .18s ease, background .18s ease;
}
#hero .btn-get-started:hover { background: var(--cinnabar-d); transform: translateY(-2px); }

/* The one bold thing: a cool sky-blue device frame around the hero art */
#hero .hero-img {
  position: relative;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(145deg, var(--sky) 0%, var(--sky-deep) 100%);
  box-shadow: 0 24px 60px rgba(62, 124, 155, .30);
}
#hero .hero-img img {
  border-radius: 12px;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* ---------- Section rhythm + titles ------------------------------- */
section { padding: 72px 0; }
.section-title { margin-bottom: 44px; }
.section-title h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  display: inline-block;
  padding-bottom: 12px;
  position: relative;
}
.section-title h2::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 56px; height: 4px; border-radius: 4px;
  background: var(--cinnabar);
}
.section-title.text-center h2::after { left: 50%; transform: translateX(-50%); }
.section-title p { color: var(--ink-soft); margin: 0 auto; }
.section-title p::after { display: none; }   /* drop redundant 2nd underline */

/* ---------- Cards / license tiers --------------------------------- */
.services .icon-box, .tier-card {
  background: var(--card);
  border: 1px solid var(--tan-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 26px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.services .icon-box:hover, .tier-card:hover {
  transform: translateY(-6px);
  border-color: var(--sky);
  box-shadow: 0 18px 44px rgba(74, 43, 26, .14);
}
.services .icon-box .icon svg { width: 46px; height: 46px; fill: var(--brown); }
.services .icon-box:hover .icon svg { fill: var(--cinnabar); }
.services .icon-box .title a { color: var(--brown); }
.services .icon-box .description {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.9rem; font-weight: 700; color: var(--cinnabar);
  margin: 6px 0 18px;
}
.services .icon-box .btn, .tier-card .btn {
  background: var(--brown);
  color: #fff;
  border-radius: 999px;
  padding: 10px 26px;
  font-weight: 600;
}
.services .icon-box:hover .btn, .tier-card .btn:hover { background: var(--cinnabar); }

/* Price tier "best value" highlight */
.tier-card.featured { border-color: var(--sky); box-shadow: 0 18px 44px rgba(62,124,155,.18); }
.tier-badge {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: #fff; background: var(--sky-deep);
  border-radius: 999px; padding: 4px 12px; margin-bottom: 12px;
}

/* ---------- Feature list cards (About / Why choose) --------------- */
.feature-card {
  background: var(--card);
  border: 1px solid var(--tan-soft);
  border-left: 4px solid var(--sky);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow);
  height: 100%;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature-card p { margin-bottom: 0; color: var(--ink-soft); }
.about ul li, .content-prose ul li { margin-bottom: 8px; }
.about ul li::marker, .content-prose ul li::marker { color: var(--cinnabar); }

/* ---------- Breadcrumbs ------------------------------------------- */
.breadcrumbs {
  background: var(--brown);
  padding: 118px 0 36px;
  margin-bottom: 0;
}
.breadcrumbs h2 { color: var(--cornsilk); margin: 0 0 6px; }
.breadcrumbs ol { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; font-size: 14px; }
.breadcrumbs ol li { color: rgba(248,242,220,.7); }
.breadcrumbs ol li + li::before { content: "/"; padding-right: 8px; color: rgba(248,242,220,.45); }
.breadcrumbs ol a { color: var(--tan); }
.breadcrumbs ol a:hover { color: #fff; }

/* ---------- Forms (contact / activate / upload) ------------------- */
.form-control {
  border: 1px solid var(--tan);
  border-radius: 10px;
  padding: 12px 14px;
}
.form-control:focus {
  border-color: var(--sky-deep);
  box-shadow: 0 0 0 3px rgba(129, 173, 200, .3);
}
.php-email-form button[type="submit"],
.activate-card .btn,
.input-group .btn[type="submit"],
input.btn[type="submit"] {
  background: var(--cinnabar);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 13px 38px;
  font-weight: 600;
}
.php-email-form button[type="submit"]:hover,
.activate-card .btn:hover,
input.btn[type="submit"]:hover { background: var(--cinnabar-d); }

.contact .info h4 { color: var(--brown); font-size: 1.05rem; margin-bottom: 2px; }
.contact .info > div { padding: 16px 0; border-bottom: 1px solid var(--tan-soft); }
.contact .info > div:last-child { border-bottom: 0; }

/* ---------- Activate card ----------------------------------------- */
.activate-card {
  background: var(--card);
  border: 1px solid var(--tan-soft);
  border-top: 5px solid var(--sky);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  max-width: 560px;
  margin: 0 auto;
}
.activate-card h3 { margin-bottom: 20px; }
.activate-card .input-group-text { background: var(--cornsilk); border: 1px solid var(--tan); }

/* ---------- Footer ------------------------------------------------ */
#footer { background: var(--brown); color: var(--cornsilk); }
#footer .copyright { color: var(--cornsilk); }
#footer .credits a { color: var(--tan); margin: 0 10px; }
#footer .credits a:hover { color: #fff; }

/* ---------- Framed media (about / content figures) ---------------- */
.media-frame {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--tan-soft);
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ---------- Setup & installation gallery -------------------------- */
.gallery { margin-top: 8px; }
.gallery-item {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--tan-soft);
  margin-bottom: 26px;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 18px 14px;
  background: linear-gradient(to top, rgba(74,43,26,.82) 0%, rgba(74,43,26,0) 100%);
  color: var(--cornsilk);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -.01em;
}
.gallery-item .cap .tag {
  display: block;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sky); margin-bottom: 2px;
}
/* a portrait source (e.g. drilling shot) reads better focused high */
.gallery-item.tall img { object-position: center 28%; }

/* ---------- Install band (services) ------------------------------- */
.install-band .install-media {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--tan-soft);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
}
.install-band .install-media.wide { aspect-ratio: 16 / 10; }

/* ---------- CTA band (reusable) ----------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-deep) 100%);
  color: var(--cornsilk);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(248,242,220,.85); margin: 0 auto 24px; }
.cta-band .btn {
  background: var(--sky);
  color: var(--brown-deep);
  font-weight: 700;
  border-radius: 999px;
  padding: 13px 38px;
}
.cta-band .btn:hover { background: #fff; }

/* ---------- Responsive mobile nav fallback ------------------------ */
@media (max-width: 991px) {
  #hero { padding-top: 96px; text-align: center; }
  #hero .hero-img { margin-top: 32px; }
  .section-title.text-left h2::after { left: 0; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
