/* ==========================================================================
   Adelio & Sons Enterprise — Design System
   Theme: Orange / Black
   ========================================================================== */

:root {
  --black: #0a0a0a;
  --black-soft: #131313;
  --black-elevated: #1c1c1c;
  --charcoal: #2a2a2a;
  --orange: #ff7a00;
  --orange-bright: #ff9433;
  --orange-dim: #cc5f00;
  --white: #ffffff;
  --off-white: #f4f4f2;
  --gray-100: #cfcfcf;
  --gray-300: #9a9a9a;
  --gray-500: #6b6b6b;

  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --container: 1200px;
  --radius: 6px;
  --radius-lg: 8px;
  --transition: 0.3s ease;

  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-orange: 0 8px 24px rgba(255, 122, 0, 0.35);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--off-white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

@media (max-width: 768px) {
  section { padding: 64px 0; }
}

/* ---------- Utility ---------- */
.text-orange { color: var(--orange); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--gray-100);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--black);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: var(--orange-bright);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
}

.logo-img {
  display: block;
  height: auto;
  width: auto;
  max-width: 100%;
}

.site-header .logo-img { height: 44px; }
.site-footer .logo-img { height: 52px; }

@media (max-width: 480px) {
  .site-header .logo-img { height: 34px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-100);
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}

.nav-links a:hover { color: var(--white); }

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links a.active { color: var(--orange); }

.header-actions { display: flex; align-items: center; gap: 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  z-index: 1100;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--black-soft);
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 28px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a { width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .header-actions .btn-primary { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero image slider ---------- */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero-slider.size-lg { height: 92vh; min-height: 680px; }
.hero-slider.size-md { height: 60vh; min-height: 440px; }

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 1.2s ease;
}

.slide.active { opacity: 1; z-index: 2; pointer-events: auto; }

.slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.72) 45%, rgba(10,10,10,0.5) 100%),
    radial-gradient(circle at 85% 15%, rgba(255,122,0,0.16), transparent 45%);
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.slide-content .container { width: 100%; }
.slide-inner { max-width: 620px; }

.slide-content h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 20px; }
.slide-content h1 span { color: var(--orange); }
.slide-content p.lead { font-size: 1.15rem; color: var(--gray-100); max-width: 520px; margin-bottom: 32px; }

.size-md .slide-content { justify-content: center; text-align: center; }
.size-md .slide-inner { max-width: 640px; margin: 0 auto; }
.size-md .slide-content h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.size-md .slide-content p.lead { font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.size-md .hero-actions { justify-content: center; }
.size-md .eyebrow { justify-content: center; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }

.slider-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.slider-dots { display: flex; gap: 10px; }

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: var(--transition);
}

.slider-dots button.active { background: var(--orange); width: 28px; border-radius: 6px; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: var(--transition);
}

.slider-arrow:hover { background: var(--orange); color: var(--black); border-color: var(--orange); }
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

.mini-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 12px;
}

.mini-card i { color: var(--orange); font-size: 1.2rem; }
.mini-card span { font-size: 0.92rem; color: var(--gray-100); }

.visual-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: rgba(255, 122, 0, 0.12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .hero-slider.size-lg { height: 82vh; min-height: 580px; }
  .hero-slider.size-md { height: 52vh; min-height: 400px; }
  .slider-arrow { display: none; }
}

/* ---------- Logos / Trust strip ---------- */
.trust-strip {
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.trust-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-strip p { color: var(--gray-300); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }

.trust-tags { display: flex; gap: 28px; flex-wrap: wrap; }
.trust-tags span { color: var(--gray-300); font-weight: 600; font-size: 0.95rem; }

/* ---------- Cards Grid ---------- */
.grid {
  display: grid;
  gap: 28px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--black-soft);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: var(--transition);
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 0, 0.4);
  box-shadow: var(--shadow-card);
}

.card .icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  background: rgba(255, 122, 0, 0.12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 22px;
  transition: var(--transition);
}

.card:hover .icon-box { background: var(--orange); color: var(--black); }

.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--gray-100); font-size: 0.95rem; }

.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Alt sections ---------- */
.section-alt { background: var(--black-soft); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}

.split-gap { margin-bottom: 96px; }

@media (max-width: 900px) {
  .split-gap { margin-bottom: 48px; }
}

.panel {
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--black-elevated), var(--black-soft));
  border: 1px solid rgba(255,255,255,0.08);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--gray-100);
}

.check-list i {
  color: var(--orange);
  margin-top: 3px;
}

/* ---------- Stats band ---------- */
.stats-band {
  background: linear-gradient(120deg, var(--black-elevated), var(--black));
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stats-band .grid-4 { text-align: center; }
.stats-band strong { display: block; font-family: var(--font-heading); font-size: 2.4rem; color: var(--orange); }
.stats-band span { color: var(--gray-300); font-size: 0.9rem; }

/* ---------- Timeline / values ---------- */
.value-card { text-align: center; }
.value-card .icon-box { margin: 0 auto 20px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--orange-dim), var(--orange));
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 { color: var(--black); font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { color: rgba(0,0,0,0.75); margin-top: 8px; }
.cta-band .btn-primary { background: var(--black); color: var(--white); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--black-elevated); }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--black-soft);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.testimonial-card .stars { color: var(--orange); margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p.quote { color: var(--gray-100); margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dim));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--black);
}
.testimonial-author strong { font-size: 0.92rem; color: var(--white); display: block; }
.testimonial-author span { font-size: 0.82rem; color: var(--gray-300); }

/* ---------- Page header (non-home) ---------- */
.breadcrumb { color: var(--gray-300); font-size: 0.9rem; margin-bottom: 14px; }
.breadcrumb .text-orange { font-weight: 600; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-100);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255,255,255,0.05);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: var(--radius);
  display: none;
}

.form-status.show { display: block; }
.form-status.success { background: rgba(46, 204, 113, 0.12); color: #6be09a; border: 1px solid rgba(46,204,113,0.3); }
.form-status.error { background: rgba(231, 76, 60, 0.12); color: #ff8e80; border: 1px solid rgba(231,76,60,0.3); }

/* ---------- Contact info cards ---------- */
.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 16px;
}

.contact-info-card .icon-box { flex-shrink: 0; margin-bottom: 0; width: 46px; height: 46px; font-size: 1.15rem; }
.contact-info-card h4 { font-size: 0.95rem; margin-bottom: 4px; color: var(--white); }
.contact-info-card p { color: var(--gray-100); font-size: 0.9rem; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  filter: grayscale(0.3) invert(0.92) contrast(0.9);
}

/* ---------- Product/service detail table ---------- */
.category-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.category-tabs button {
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--gray-100);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.category-tabs button.active,
.category-tabs button:hover {
  background: var(--orange);
  color: var(--black);
  border-color: var(--orange);
}

.product-item { display: none; }
.product-item.active { display: block; }

.tag-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255,122,0,0.12);
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 14px;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  color: var(--white);
  font-size: 1rem;
}

.faq-question i { color: var(--orange); transition: var(--transition); }
.faq-item.open .faq-question i { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  color: var(--gray-100);
  font-size: 0.92rem;
}

.faq-answer p { padding-top: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black-soft);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-about p { color: var(--gray-300); font-size: 0.92rem; margin: 18px 0 22px; max-width: 320px; }

.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-100);
  transition: var(--transition);
}
.social-row a:hover { background: var(--orange); color: var(--black); }

.footer-col h4 { font-size: 0.95rem; margin-bottom: 20px; letter-spacing: 0.02em; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--gray-300); font-size: 0.9rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--orange); }

.footer-contact li {
  display: flex;
  gap: 10px;
  color: var(--gray-300);
  font-size: 0.9rem;
  margin-bottom: 14px;
  align-items: flex-start;
}
.footer-contact li i { color: var(--orange); margin-top: 3px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--gray-500);
  font-size: 0.85rem;
}

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a:hover { color: var(--orange); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-orange);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 900;
}

.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card .avatar-lg {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dim));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 700; color: var(--black);
}
.team-card h4 { font-size: 1.02rem; margin-bottom: 4px; }
.team-card span { color: var(--orange); font-size: 0.85rem; font-weight: 600; }

/* ---------- Misc ---------- */
.divider-orange {
  width: 60px; height: 4px; background: var(--orange); border-radius: 2px; margin: 18px 0 26px;
}

/* ---------- White section (light theme break) ---------- */
.section-white {
  background: #ffffff;
  color: #3a3a3a;
}

.section-white h1,
.section-white h2,
.section-white h3,
.section-white h4 { color: #131313; }

.section-white p { color: #4a4a4a; }
.section-white .breadcrumb { color: #777777; }

.section-white .card {
  background: #f7f7f5;
  border: 1px solid rgba(0,0,0,0.08);
}

.section-white .card:hover {
  border-color: rgba(255, 122, 0, 0.5);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.section-white .check-list li { color: #4a4a4a; }

.section-white .mini-card {
  background: #f2f2f0;
  border: 1px solid rgba(0,0,0,0.06);
}

.section-white .mini-card span { color: #4a4a4a; }

.section-white .btn-outline {
  border-color: rgba(0,0,0,0.18);
  color: #131313;
}

.section-white .btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.section-white .faq-item { border-bottom-color: rgba(0,0,0,0.1); }
.section-white .faq-question { color: #131313; }
.section-white .faq-answer { color: #4a4a4a; }

.section-white .category-tabs button {
  border-color: rgba(0,0,0,0.15);
  color: #4a4a4a;
}

.section-white .category-tabs button.active,
.section-white .category-tabs button:hover {
  background: var(--orange);
  color: var(--black);
  border-color: var(--orange);
}

.section-white .map-embed {
  border: 1px solid rgba(0,0,0,0.1);
  filter: none;
}

/* .panel stays dark by design even inside a white section (contrast block) */
.section-white .panel h3,
.section-white .panel h4 { color: var(--white); }
.section-white .panel p { color: var(--gray-100); }
