/* ===== Dispartes S.A.S — Custom Stylesheet ===== */

:root {
  --primary: #c4451c;
  --secondary: #e8874a;
  --accent: #f4c430;
  --background: #fff8f0;
  --text: #2d1810;

  --text-soft: #6b4a38;
  --white: #ffffff;
  --surface: #ffffff;
  --border: #efd9c6;
  --shadow-sm: 0 2px 8px rgba(45, 24, 16, 0.08);
  --shadow-md: 0 10px 30px rgba(45, 24, 16, 0.12);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1140px;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--background);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 700; }

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

.section { padding: 68px 0; }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-head { max-width: 700px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.section-sub { color: var(--text-soft); margin-top: 12px; font-size: 1.05rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #a83916; }
.btn-accent { background: var(--accent); color: var(--text); box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: #e3b422; }
.btn-ghost { background: transparent; border-color: var(--white); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-block { width: 100%; }

/* Claim button — highly visible */
.btn-claim {
  background: var(--accent);
  color: var(--text);
  border-color: var(--text);
  font-weight: 700;
}
.btn-claim:hover { background: #e3b422; }

/* ===== Disclaimer bar ===== */
.disclaimer-bar {
  background: var(--text);
  color: #ffe9d6;
  text-align: center;
  font-size: 0.82rem;
  padding: 8px 16px;
  letter-spacing: .3px;
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  border-radius: 11px;
  letter-spacing: .5px;
}
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--text); }
.brand-text em { font-style: normal; color: var(--primary); }

.nav-links { list-style: none; display: flex; align-items: center; gap: 26px; }
.nav-links a { font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; color: var(--text); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--primary); }
.nav-claim { padding: 9px 18px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--primary); border-radius: 2px; transition: .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; color: var(--white); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(45,24,16,.9) 0%, rgba(196,69,28,.82) 55%, rgba(232,135,74,.55) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 96px 20px 88px; max-width: 760px; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); font-weight: 800; margin-bottom: 18px; }
.hero h1 .hl { color: var(--accent); }
.hero .lead { font-size: 1.12rem; max-width: 620px; color: #ffeede; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 40px; }

.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 34px; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.7rem; color: var(--accent); }
.hero-stats span { font-size: .85rem; color: #ffe4cf; }

/* ===== Cards (services / testimonials) ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 26px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.7rem;
  background: linear-gradient(135deg, var(--background), #ffe9d3);
  border: 1px solid var(--border);
  margin-bottom: 18px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--text-soft); }

/* ===== Catalog ===== */
.catalog { background: linear-gradient(180deg, #fff8f0, #fff2e4); }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.catalog-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  background: var(--white);
}
.catalog-item.wide { grid-column: span 2; }
.catalog-item img { width: 100%; height: 260px; object-fit: cover; transition: transform .4s ease; }
.catalog-item:hover img { transform: scale(1.04); }
.catalog-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 20px 16px;
  color: var(--white);
  font-family: var(--font-head); font-weight: 600;
  background: linear-gradient(transparent, rgba(45,24,16,.85));
}

/* ===== Hours ===== */
.hours-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.hours-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); height: 100%; object-fit: cover; }
.hours-list { list-style: none; margin: 22px 0 18px; }
.hours-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 4px; border-bottom: 1px dashed var(--border);
}
.hours-list span { color: var(--text-soft); }
.hours-list strong { font-family: var(--font-head); color: var(--primary); }
.hours-note {
  background: #fff2e4; border-left: 4px solid var(--secondary);
  padding: 14px 16px; border-radius: 10px; color: var(--text-soft); font-size: .95rem;
}

/* ===== Contact ===== */
.contact { background: var(--surface); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-details { list-style: none; margin-top: 26px; display: grid; gap: 20px; }
.contact-details li { display: flex; gap: 14px; align-items: flex-start; }
.contact-details .ci {
  width: 42px; height: 42px; flex: none; border-radius: 11px;
  display: grid; place-items: center; font-size: 1.2rem;
  background: var(--background); border: 1px solid var(--border);
}
.contact-details a:hover { color: var(--primary); }

.contact-form {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { margin-bottom: 18px; font-size: 1.3rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem;
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--white); color: var(--text); transition: border .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(232,135,74,.25);
}
.field textarea { resize: vertical; }
.form-error { border-color: var(--primary) !important; box-shadow: 0 0 0 3px rgba(196,69,28,.18) !important; }
.form-status { margin-top: 14px; font-weight: 600; text-align: center; }
.form-status.ok { color: #2e7d32; }

/* ===== Collaborate ===== */
.collaborate { background: linear-gradient(180deg, #fff2e4, #fff8f0); }
.collab-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
.collab-list { list-style: none; margin: 22px 0 26px; display: grid; gap: 10px; }
.collab-list li { color: var(--text-soft); }
.collab-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.collab-card {
  background: var(--text); color: #ffe9d6;
  border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow-md);
}
.collab-card h3 { color: var(--white); margin-bottom: 20px; }
.steps { list-style: none; display: grid; gap: 20px; }
.steps li { display: flex; gap: 14px; }
.steps span {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700;
  background: var(--accent); color: var(--text);
}
.steps strong { color: var(--white); font-family: var(--font-head); }
.steps p { font-size: .92rem; color: #e8c9b3; }

/* ===== CTA band ===== */
.cta-band { background: linear-gradient(120deg, var(--primary), var(--secondary)); color: var(--white); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
.cta-inner p { color: #ffe9d6; margin-top: 6px; }

/* ===== Testimonials ===== */
.testimonials { background: var(--surface); }
.quote {
  background: var(--background); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow-sm);
  position: relative;
}
.quote::before {
  content: "“"; font-family: var(--font-head); font-size: 3.4rem; line-height: 1;
  color: var(--secondary); position: absolute; top: 10px; right: 20px; opacity: .4;
}
.quote p { font-size: 1.03rem; margin-bottom: 18px; }
.quote footer strong { font-family: var(--font-head); display: block; }
.quote footer span { color: var(--text-soft); font-size: .9rem; }

/* ===== Team ===== */
.team { background: linear-gradient(180deg, #fff8f0, #fff2e4); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.team-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 20px; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform .2s;
}
.team-card:hover { transform: translateY(-5px); }
.avatar {
  width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.team-card strong { font-family: var(--font-head); display: block; }
.team-card span { color: var(--text-soft); font-size: .9rem; }

/* ===== Footer ===== */
.site-footer { background: var(--text); color: #e8c9b3; padding-top: 56px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 34px; padding-bottom: 40px;
}
.footer-brand .brand-text { color: var(--white); }
.footer-brand .brand-text em { color: var(--accent); }
.footer-brand p { margin: 14px 0 18px; font-size: .95rem; max-width: 320px; }
.footer-brand .brand-mark { display: inline-grid; vertical-align: middle; margin-right: 8px; }
.footer-claim { padding: 10px 20px; font-size: .85rem; }
.footer-col h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a:hover { color: var(--accent); }
.footer-contact li { font-size: .95rem; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; padding-bottom: 26px;
  font-size: .9rem;
}
.footer-bottom .powered { color: var(--accent); font-family: var(--font-head); font-weight: 600; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--background); border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px; box-shadow: var(--shadow-md);
    clip-path: inset(0 0 100% 0); transition: clip-path .3s ease;
  }
  .nav-links.open { clip-path: inset(0 0 0 0); }
  .nav-links a { display: block; width: 100%; padding: 8px 0; }
  .nav-claim { margin-top: 6px; }

  .hours-wrap, .contact-wrap, .collab-wrap { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-item.wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .section { padding: 52px 0; }
  .hero-content { padding: 70px 20px 60px; }
  .hero-stats { gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
