:root {
  --bg-dark: #0f172a;
  --bg-dark-alt: #1e293b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --primary: #d93848;
  --primary-hover: #b91c1c;
  --text-main: #1e293b;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --border: #e2e8f0;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 28px rgba(15, 23, 42, 0.1);
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Header & Sticky Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 44px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--primary);
  background-color: #fef2f2;
}

.nav-cta {
  background-color: var(--primary);
  color: #ffffff !important;
  padding: 9px 18px !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background-color: var(--primary-hover) !important;
  color: #ffffff !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--text-main);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 65%, #2d1620 100%);
  color: var(--text-light);
  padding: 84px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecaca;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: #f87171;
}

.hero-subtitle {
  margin: 0 0 28px;
  font-size: 1.08rem;
  color: #cbd5e1;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(217, 56, 72, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.16);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.93rem;
  color: #e2e8f0;
}

.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-highlights svg {
  color: #f87171;
  flex-shrink: 0;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 28px;
  backdrop-filter: blur(8px);
}

.hero-card h2 {
  margin: 0 0 16px;
  font-size: 1.25rem;
  color: #ffffff;
}

.hero-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.hero-contact-item:hover {
  border-color: rgba(248, 113, 113, 0.5);
}

.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(217, 56, 72, 0.18);
  color: #f87171;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Section Generic */
.section {
  padding: 76px 0;
}

.section-alt {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--bg-dark);
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-content h3 {
  margin: 0 0 16px;
  font-size: 1.5rem;
  color: var(--bg-dark);
}

.about-content p {
  margin: 0 0 14px;
  color: var(--text-muted);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-badge {
  background: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--bg-dark);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Services / Products Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #fecaca;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fef2f2;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--bg-dark);
}

.service-card p {
  margin: 0 0 18px;
  font-size: 0.94rem;
  color: var(--text-muted);
  flex-grow: 1;
}

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

/* Second Hand Banner */
.secondhand-box {
  background: linear-gradient(120deg, #0f172a, #1e293b);
  color: #ffffff;
  border-radius: 20px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.secondhand-box h2 {
  margin: 0 0 12px;
  font-size: 1.85rem;
}

.secondhand-box p {
  margin: 0 0 22px;
  color: #cbd5e1;
}

.secondhand-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.secondhand-points li {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Portfolio Gallery */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.portfolio-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.portfolio-info {
  padding: 18px 20px;
}

.portfolio-info h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--bg-dark);
}

.portfolio-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Contact Section */
.contact-top-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 36px;
}

.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.contact-card .service-icon {
  margin: 0 auto 14px;
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.contact-card p,
.contact-card a {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.contact-card a:hover {
  color: var(--primary);
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 400px;
  background: #e2e8f0;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  display: block;
}

.contact-form-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--bg-dark);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 56, 72, 0.14);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.checkbox-group input {
  margin-top: 4px;
}

.checkbox-group a {
  color: var(--primary);
  text-decoration: underline;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-alert {
  padding: 12px 16px;
  border-radius: 9px;
  font-size: 0.92rem;
  margin-bottom: 16px;
  display: none;
}

.form-alert.success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-alert.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
  height: 44px;
  margin-bottom: 16px;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1.05rem;
  margin: 0 0 14px;
}

.footer-col p {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: #94a3b8;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.social-links a:hover {
  background: var(--primary);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.875rem;
  color: #94a3b8;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 990;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #16a34a;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.35);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float:hover {
  background: #15803d;
  transform: translateY(-2px);
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 995;
  max-width: 380px;
  background: var(--bg-dark);
  color: #f8fafc;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.cookie-btn {
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.cookie-btn-accept {
  background: var(--primary);
  color: #ffffff;
}

.cookie-btn-link {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .secondhand-box,
  .contact-main-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .portfolio-grid,
  .contact-top-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 20px 20px;
    box-shadow: var(--shadow-md);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 11px 14px;
  }
}

@media (max-width: 640px) {
  .cards-grid,
  .portfolio-grid,
  .contact-top-cards,
  .hero-highlights,
  .secondhand-points {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 52px 0 60px;
  }

  .secondhand-box {
    padding: 28px 22px;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 14px;
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 84px;
    max-width: none;
  }
}
