/* Core layout & variables */
:root {
  --color-primary: #0f766e;
  --color-primary-light: #14b8a6;
  --color-primary-soft: #ccfbf1;
  --color-accent: #facc15;
  --color-bg: #020617;
  --color-surface: #020617;
  --color-surface-alt: #0b1120;
  --color-border: #1f2937;
  --color-text: #f9fafb;
  --color-text-muted: #9ca3af;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.6);
  --radius-lg: 18px;
  --radius-full: 999px;
  --transition-fast: 0.2s ease-out;
  --transition-med: 0.35s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: radial-gradient(circle at top, #0f172a 0, #020617 48%, #000 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, rgba(20, 184, 166, 0.12), transparent 56%),
              radial-gradient(circle at bottom right, rgba(250, 204, 21, 0.1), transparent 45%);
}

.section-highlight {
  background: linear-gradient(135deg, rgba(20,184,166,0.23), rgba(15,23,42,0.95));
}

.section-header {
  text-align: left;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--color-text-muted);
  max-width: 36rem;
}

/* Header & navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.86));
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: conic-gradient(from 180deg, #22c55e, #eab308, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #020617;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 0 0 2px rgba(15,23,42,0.9), 0 0 40px rgba(34,197,94,0.7);
}

.logo-text {
  font-size: 1.1rem;
}

.main-nav {
  position: relative;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--color-text);
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.8);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #e5e7eb;
  border-radius: 999px;
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
}

.hero-content p {
  color: var(--color-text-muted);
  max-width: 30rem;
}

.hero-highlights {
  margin: 1.5rem 0 1.75rem;
  padding: 0;
  list-style: none;
}

.hero-highlights li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
  font-size: 0.96rem;
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #eab308);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.hero-seo-note {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.hero-media img {
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  background: radial-gradient(circle at top, rgba(34, 197, 94, 0.25), transparent 60%);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #eab308);
  color: #020617;
  box-shadow: 0 14px 35px rgba(34, 197, 94, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.6);
}

.btn-outline {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--color-text-muted);
}

.btn-outline:hover {
  border-color: rgba(248, 250, 252, 0.8);
  color: var(--color-text);
  background: rgba(15, 23, 42, 0.9);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.9);
  color: var(--color-text);
  border-color: rgba(148, 163, 184, 0.5);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 1);
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.85rem;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.footer-cta:hover {
  border-color: #eab308;
  background: rgba(15, 23, 42, 0.95);
}

/* Cards & grids */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.product-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.35rem 1.35rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.8);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med), background var(--transition-med);
}

.product-card img {
  border-radius: 16px;
  margin-bottom: 1rem;
  border: 1px solid rgba(55, 65, 81, 0.8);
}

.product-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.product-card p {
  margin: 0 0 0.75rem;
  color: var(--color-text-muted);
  font-size: 0.93rem;
}

.product-card ul {
  margin: 0 0 0.85rem;
  padding-left: 1.1rem;
  font-size: 0.89rem;
  color: var(--color-text-muted);
}

.card-link {
  font-size: 0.88rem;
  color: var(--color-primary-light);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 212, 191, 0.8);
  background: radial-gradient(circle at top left, rgba(20, 184, 166, 0.22), rgba(15, 23, 42, 0.98));
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.9);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem 1.2rem;
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.8);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(234, 179, 8, 0.8);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 1);
}

.news-tag {
  display: inline-flex;
  padding: 0.24rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(234, 179, 8, 0.12);
  color: #fde047;
  font-size: 0.75rem;
  margin-bottom: 0.6rem;
}

.news-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.news-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}

.highlight-grid img {
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
}

.section-cta {
  margin-top: 2.2rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.section-cta .btn {
  margin-top: 0.7rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(30, 64, 175, 0.7);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), #020617 70%);
  padding: 2.5rem 0 1.4rem;
  margin-top: 3rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: flex-start;
}

.footer-grid h3 {
  margin: 0 0 0.6rem;
}

.footer-grid h4 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.footer-grid p {
  margin: 0;
  color: var(--color-text-muted);
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 0.25rem;
}

.footer-bottom {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding-top: 1rem;
  color: var(--color-text-muted);
  font-size: 0.78rem;
}

.seo-tail {
  opacity: 0.55;
  max-width: 18rem;
}

/* Page specific */
.page-main {
  padding-top: 2rem;
}

.page-hero {
  padding: 3rem 0 2rem;
}

.page-hero h1 {
  margin-bottom: 0.6rem;
}

.page-hero p {
  color: var(--color-text-muted);
  max-width: 40rem;
}

.catalog-grid {
  margin-top: 1.4rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.filter-btn {
  border-radius: var(--radius-full);
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: var(--color-text-muted);
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.filter-btn.is-active {
  background: rgba(45, 212, 191, 0.16);
  border-color: rgba(45, 212, 191, 0.9);
  color: #a7f3d0;
}

.filter-btn:hover {
  transform: translateY(-1px);
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0;
  font-size: 0.82rem;
}

.spec-list dt {
  color: var(--color-text-muted);
}

.spec-list dd {
  margin: 0;
  font-weight: 500;
}

.guide-section {
  margin-top: 2.4rem;
  border-radius: 22px;
  padding: 2rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  font-size: 0.93rem;
}

.history-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.team-card img {
  border-radius: 18px;
  margin-bottom: 0.7rem;
  border: 1px solid rgba(55, 65, 81, 0.8);
}

.team-card h3 {
  margin: 0 0 0.3rem;
  color: var(--color-text);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-form {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 22px;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(31, 41, 55, 1);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
}

.form-row {
  margin-bottom: 0.9rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.6rem 0.65rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: var(--color-text);
  font-size: 0.9rem;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(45, 212, 191, 0.8);
  outline-offset: 2px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
}

.form-checkbox input[type="checkbox"] {
  width: auto;
}

.form-feedback {
  font-size: 0.84rem;
  margin-top: 0.5rem;
  color: var(--color-text-muted);
}

.contact-info {
  margin: 1.2rem 0 1.4rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.catalogo-box {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 20px;
  padding: 1.1rem 1.1rem 1.2rem;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  font-size: 0.9rem;
}

/* Animations on scroll */
[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-animate="fade-up"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .product-grid,
  .news-grid,
  .highlight-grid,
  .footer-grid,
  .guide-grid,
  .history-grid,
  .team-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero-media {
    order: -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding-inline: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 120%;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 18px;
    padding: 0.7rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    min-width: 180px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.95);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero-grid {
    gap: 2.4rem;
  }

  .product-grid,
  .news-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section,
  .page-hero {
    padding-inline: 0;
  }

  .guide-section {
    padding-inline: 1.2rem;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 2rem, 480px);
  }

  .hero-content h1 {
    font-size: 1.9rem;
  }
}


