/* Plastik De Durango — PHP + HTML5 */
:root {
  --navy-dark: #012232;
  --navy: #00283a;
  --navy-border: #001925;
  --green: #92c500;
  --green-dark: #6f9600;
  --muted: #6c7c84;
  --white: #ffffff;
  --surface: #f6f8f9;
  --text: #1a2b34;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(0, 40, 58, 0.12);
  --header-h: 88px;
  --topbar-h: 40px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--green-dark); }
.container { width: min(1120px, 92vw); margin-inline: auto; }

.topbar {
  background: var(--navy-dark);
  border-bottom: 1px solid var(--navy-border);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: inherit; }
.topbar a:hover { color: var(--green); }
.topbar__social { display: flex; gap: 1rem; }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 40, 58, 0.08);
  transition: box-shadow 0.3s var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1.5rem; }
.header__logo img { height: 56px; width: auto; }
.nav { display: flex; gap: 0.25rem; }
.nav a {
  color: var(--navy); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.6rem 0.9rem; border-radius: 8px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav a:hover, .nav a.is-active { background: var(--navy); color: var(--green); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; min-height: clamp(420px, 72vh, 640px); overflow: hidden; background: var(--navy); }
.hero__slides { position: relative; height: 100%; min-height: inherit; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s var(--ease); pointer-events: none; }
.hero__slide.is-active { opacity: 1; pointer-events: auto; }
.hero__bg { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s linear; }
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(0, 40, 58, 0.88) 0%, rgba(0, 40, 58, 0.55) 55%, rgba(0, 40, 58, 0.25) 100%);
}
.hero__content { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(720px, 90vw); z-index: 2; }
.hero__content h2 {
  display: inline-block; background: rgba(146, 197, 0, 0.92); color: var(--white);
  font-size: clamp(1.25rem, 3vw, 2rem); font-weight: 600; padding: 0.65rem 1.25rem; margin-bottom: 0.5rem; line-height: 1.3;
}
.hero__content p {
  background: rgba(0, 40, 58, 0.9); color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.9rem, 1.8vw, 1.05rem); padding: 0.85rem 1.25rem; max-width: 36em;
}
.hero__controls { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 1rem; z-index: 3; }
.hero__btn {
  width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 40, 58, 0.6); color: var(--white); border-radius: 50%; cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.hero__btn:hover { background: var(--green); border-color: var(--green); color: var(--navy); }
.hero__dots { display: flex; gap: 0.5rem; }
.hero__dot {
  width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent; cursor: pointer; padding: 0;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.hero__dot.is-active { background: var(--green); border-color: var(--green); }

.intro { padding: 5rem 0; background: var(--navy); color: var(--white); }
.intro__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.intro__badge {
  display: inline-block; font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--green); margin-bottom: 0.75rem;
}
.intro h1 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; line-height: 1.25; margin-bottom: 1rem; }
.intro p { color: var(--muted); margin-bottom: 1.75rem; max-width: 36em; }
.intro__visual { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.intro__visual img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 600; font-size: 0.9rem;
  border: none; cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn--primary { background: var(--green); color: var(--navy); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(146, 197, 0, 0.35); color: var(--navy); }
.btn--outline-light {
  background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.55);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); transform: translateY(-2px); }
.btn--outline {
  background: transparent; color: var(--navy); border: 1px solid rgba(0, 40, 58, 0.25);
}
.btn--outline:hover { border-color: var(--green); color: var(--green-dark); }
.btn--whatsapp { background: #25d366; color: var(--white); }
.btn--whatsapp:hover { background: #1fb855; color: var(--white); transform: translateY(-2px); }

.intro__actions, .hero__actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem;
}
.hero__actions { margin-top: 1rem; }
.hero__content .hero__actions .btn--outline-light { border-color: rgba(255, 255, 255, 0.6); }

.section-lead {
  text-align: center; max-width: 36em; margin: -1.5rem auto 2.5rem;
  color: var(--muted); font-size: 0.95rem;
}

.trust {
  background: var(--navy-dark); border-block: 1px solid var(--navy-border);
  padding: 1.75rem 0;
}
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.trust__item {
  text-align: center; padding: 0.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.trust__item:last-child { border-right: none; }
.trust__item strong {
  display: block; color: var(--green); font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.25rem;
}
.trust__item span { color: rgba(255, 255, 255, 0.75); font-size: 0.8rem; line-height: 1.4; }

.industries { padding: 5rem 0; background: var(--surface); }
.industries__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.industry-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid rgba(0, 40, 58, 0.08); border-radius: var(--radius);
  padding: 1.5rem; color: inherit; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.industry-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow);
  border-color: rgba(146, 197, 0, 0.45); color: inherit;
}
.industry-card__icon {
  font-size: 1.75rem; line-height: 1; margin-bottom: 0.75rem;
}
.industry-card h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 0.5rem; }
.industry-card p { color: var(--muted); font-size: 0.88rem; flex: 1; margin-bottom: 0.75rem; }
.industry-card__link { font-size: 0.8rem; font-weight: 600; color: var(--green); text-transform: uppercase; letter-spacing: 0.04em; }

.featured { padding: 5rem 0; background: var(--white); }
.featured__cta { text-align: center; margin-top: 2rem; }
.products__grid--featured { margin-bottom: 0; }

.values__grid--compact { grid-template-columns: repeat(3, 1fr); }
.objectives {
  margin-top: 1.5rem; background: var(--white); border: 1px solid rgba(0, 40, 58, 0.08);
  border-radius: var(--radius); padding: 0 1.25rem;
}
.objectives summary {
  cursor: pointer; font-weight: 600; color: var(--navy);
  padding: 1rem 0; list-style: none;
}
.objectives summary::-webkit-details-marker { display: none; }
.objectives summary::after { content: " +"; color: var(--green); }
.objectives[open] summary::after { content: " −"; }
.objectives ul { list-style: none; padding-bottom: 1.25rem; display: grid; gap: 0.5rem; }
.objectives li { font-size: 0.92rem; color: #4a5f6a; }
.objectives li::before { content: "—"; color: var(--green); margin-right: 0.5rem; }

.about__summary { font-size: 1.05rem; color: rgba(255, 255, 255, 0.9); margin-bottom: 1rem; }
.about__more {
  border: 1px solid rgba(255, 255, 255, 0.15); border-radius: var(--radius);
  padding: 0 1rem; background: rgba(0, 0, 0, 0.15);
}
.about__more summary {
  cursor: pointer; font-weight: 600; color: var(--green);
  padding: 0.85rem 0; list-style: none;
}
.about__more summary::-webkit-details-marker { display: none; }
.about__more p { padding-bottom: 1rem; }

.service-card p {
  color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; margin-top: 0.75rem; line-height: 1.5;
}
.contact__lead { color: var(--muted); margin: -1rem 0 1.25rem; font-size: 0.95rem; }
.contact__quick { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1rem 0 1.5rem; }

.whatsapp-fab {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.whatsapp-fab:hover {
  transform: scale(1.06); color: var(--white);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; color: var(--green);
  text-align: center; text-transform: uppercase; letter-spacing: -0.02em; margin-bottom: 2.5rem;
}
.section-title::after { content: ""; display: block; width: 64px; height: 3px; background: var(--navy); margin: 0.75rem auto 0; border-radius: 2px; }
.section-title--left { text-align: left; }
.section-title--left::after { margin-left: 0; }
.section-title--light { color: var(--white); }
.section-title--light::after { background: var(--white); }

.values { padding: 5rem 0; background: var(--surface); }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.value-card {
  background: var(--white); border: 1px solid rgba(0, 40, 58, 0.08);
  border-radius: var(--radius); padding: 1.75rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card--wide { grid-column: 1 / -1; }
.value-card__num { display: inline-block; font-size: 0.75rem; font-weight: 700; color: var(--green); letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.value-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 0.75rem; }
.value-card p, .value-card li { font-size: 0.92rem; color: #4a5f6a; }
.value-card ul { list-style: none; display: grid; gap: 0.5rem; }
.value-card li::before { content: "—"; color: var(--green); margin-right: 0.5rem; }

.about { padding: 5rem 0; background: var(--navy); color: var(--white); }
.about__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 3rem; align-items: start; }
.about__media { border-radius: var(--radius); overflow: hidden; }
.about__media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.about .section-title { color: var(--green); }
.about .section-title::after { background: var(--green); }
.about__content p { color: rgba(255, 255, 255, 0.78); margin-bottom: 1rem; font-size: 0.95rem; }

.products { padding: 5rem 0; background: var(--white); }
.products__tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; }
.products__tab {
  border: none; background: var(--navy); color: var(--white);
  padding: 0.65rem 1.25rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s var(--ease);
}
.products__tab:hover, .products__tab.is-active { background: var(--green); color: var(--navy); }
.products__panel { animation: fadeIn 0.4s var(--ease); }
.products__panel[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.products__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.product-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(0, 40, 58, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--white); }
.product-card__body { padding: 1rem 1.1rem 1.25rem; }
.product-card h4 { color: var(--navy); font-size: 1rem; margin-bottom: 0.35rem; }
.product-card p { font-size: 0.85rem; color: var(--muted); }

.services { padding: 5rem 0; background: var(--green-dark); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius); padding: 2.5rem 1.5rem; text-align: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.service-card:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-4px); }
.service-card h3 { color: var(--white); font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.05em; }

.contact { padding: 5rem 0; background: var(--surface); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact__info h3 { color: var(--green); font-size: 1rem; text-transform: uppercase; margin: 1.5rem 0 0.75rem; }
.contact__info h3:first-of-type { margin-top: 0; }
.contact__list { list-style: none; font-size: 0.95rem; }
.contact__list li { margin-bottom: 0.5rem; }
.contact__map { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contact__map iframe { width: 100%; height: 220px; border: 0; filter: grayscale(0.4); }
.contact__form { background: var(--white); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact__form h3 { color: var(--navy); margin-bottom: 1.25rem; font-size: 1.1rem; }
.contact__form label { display: block; margin-bottom: 1rem; }
.contact__form label span {
  display: block; font-size: 0.8rem; font-weight: 600; color: var(--muted);
  margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.contact__form input, .contact__form textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid rgba(0, 40, 58, 0.15);
  border-radius: 8px; font: inherit;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.contact__form input:focus, .contact__form textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(146, 197, 0, 0.25);
}
.contact__form .btn { width: 100%; margin-top: 0.5rem; }
.form-alert { padding: 0.85rem 1rem; border-radius: 8px; font-size: 0.9rem; margin-bottom: 1rem; }
.form-alert--ok { background: rgba(146, 197, 0, 0.15); color: var(--navy); border: 1px solid rgba(146, 197, 0, 0.45); }
.form-alert--error { background: rgba(180, 40, 40, 0.08); color: #8b2020; border: 1px solid rgba(180, 40, 40, 0.25); }

.footer { background: var(--navy); padding: 2.5rem 0; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.footer__logo { opacity: 0.95; }
.footer p { color: var(--muted); font-size: 0.85rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .intro__grid, .about__grid, .contact__grid, .values__grid,
  .values__grid--compact, .trust__grid, .industries__grid { grid-template-columns: 1fr; }
  .trust__item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding-bottom: 1rem; }
  .trust__item:last-child { border-bottom: none; }
  .services__grid { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: calc(var(--topbar-h) + var(--header-h)); right: 0;
    width: min(280px, 85vw); height: calc(100vh - var(--topbar-h) - var(--header-h));
    background: var(--navy); flex-direction: column; padding: 1.5rem;
    transform: translateX(100%); transition: transform 0.35s var(--ease);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { color: var(--white); padding: 0.85rem 1rem; }
}
@media (max-width: 600px) {
  :root { --header-h: 72px; }
  .header__logo img { height: 44px; }
}
