/* Shredsec - Modern Hugo Theme | Brand Color: #6b824a */

:root {
  --color-primary: #6b824a;
  --color-primary-dark: #5a6e3e;
  --color-primary-light: #8ba066;
  --color-white: #ffffff;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --container-max: 1200px;
}

/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/inter-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/inter-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-family); font-size: 1rem; line-height: 1.6; color: var(--color-gray-700); background: var(--color-white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color 150ms ease; }
a:hover { color: var(--color-primary-dark); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 1rem; font-weight: 600; line-height: 1.3; color: var(--color-gray-900); }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.5rem; }

/* Utilities */
.skip-link { position: absolute; top: -40px; left: 0; background: var(--color-primary); color: var(--color-white); padding: 0.5rem 1rem; z-index: 1000; }
.skip-link:focus { top: 0; color: var(--color-white); }
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: var(--color-white); box-shadow: var(--shadow-md); }
.header__top { background: var(--color-primary); color: var(--color-white); padding: 0.5rem 0; font-size: 0.875rem; }
.header__top .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem; }
.header__tagline { margin: 0; font-weight: 500; }
.header__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.header__phone { display: flex; align-items: center; gap: 0.5rem; color: var(--color-white); font-weight: 600; }
.header__phone:hover { color: var(--color-gray-200); }
.header__area { display: none; }
@media (min-width: 768px) { .header__area { display: inline; } }
.header__main { padding: 1rem 0; }
.header__main .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.header__logo img { height: 50px; width: auto; }

/* Navigation Toggle */
.nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; z-index: 101; }
.nav-toggle__bar { width: 24px; height: 2px; background: var(--color-gray-700); transition: transform 200ms ease, opacity 200ms ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
@media (min-width: 992px) { .nav-toggle { display: none; } }

/* Navigation */
.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-white); box-shadow: var(--shadow-lg); padding: 1rem; }
.nav.is-open { display: block; }
@media (min-width: 992px) { .nav { display: block; position: static; box-shadow: none; padding: 0; } }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
@media (min-width: 992px) { .nav__list { flex-direction: row; } }
.nav__item { position: relative; }
.nav__item--dropdown { display: flex; flex-wrap: wrap; align-items: center; }
.nav__link { display: block; padding: 0.75rem 1rem; color: var(--color-gray-700); font-weight: 500; border-radius: var(--radius-md); transition: background 150ms ease, color 150ms ease; }
.nav__link:hover { background: var(--color-gray-100); color: var(--color-primary); }
.nav__dropdown-toggle { background: none; border: none; padding: 0.75rem; cursor: pointer; color: var(--color-gray-500); }
.nav__dropdown { list-style: none; margin: 0; padding: 0.5rem; display: none; width: 100%; background: var(--color-gray-50); border-radius: var(--radius-md); }
.nav__item--dropdown:hover .nav__dropdown, .nav__dropdown-toggle[aria-expanded="true"] + .nav__dropdown { display: block; }
@media (min-width: 992px) { .nav__dropdown { position: absolute; top: 100%; left: 0; width: 260px; background: var(--color-white); box-shadow: var(--shadow-lg); z-index: 50; } }
.nav__dropdown-link { display: block; padding: 0.75rem 1rem; color: var(--color-gray-600); border-radius: var(--radius-sm); transition: background 150ms ease, color 150ms ease; }
.nav__dropdown-link:hover { background: var(--color-primary); color: var(--color-white); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); color: var(--color-white); padding: 4rem 0; text-align: center; }
.hero__title { font-size: 2.25rem; color: var(--color-white); margin-bottom: 1rem; }
@media (min-width: 768px) { .hero__title { font-size: 3rem; } }
.hero__subtitle { font-size: 1.25rem; opacity: 0.9; max-width: 700px; margin: 0 auto 2rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; font-size: 1rem; font-weight: 600; text-align: center; border: 2px solid transparent; border-radius: var(--radius-md); cursor: pointer; transition: all 150ms ease; }
.btn--primary { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }
.btn--primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: var(--color-white); }
.btn--outline { background: transparent; color: var(--color-white); border-color: var(--color-white); }
.btn--outline:hover { background: var(--color-white); color: var(--color-primary); }
.btn--large { padding: 1rem 2rem; font-size: 1.125rem; }

/* Cards */
.card { background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; transition: transform 200ms ease, box-shadow 200ms ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__image { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card__content { padding: 1.5rem; }
.card__title { font-size: 1.25rem; margin-bottom: 0.75rem; }
.card__title a { color: var(--color-gray-900); }
.card__title a:hover { color: var(--color-primary); }

/* Sections */
.section { padding: 4rem 0; }
.section--gray { background: var(--color-gray-50); }
.section--green { background: var(--color-primary); color: var(--color-white); }
.section__header { text-align: center; max-width: 800px; margin: 0 auto 3rem; }
.section__title { font-size: 1.875rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .section__title { font-size: 2.25rem; } }

/* Grid */
.grid { display: grid; gap: 2rem; }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* Page Content */
.page-header { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); color: var(--color-white); padding: 3rem 0; text-align: center; }
.page-header__title { color: var(--color-white); margin-bottom: 0.5rem; }
.page-header__breadcrumb { font-size: 0.875rem; opacity: 0.8; }
.page-header__breadcrumb a { color: var(--color-white); }
.page-content { padding: 3rem 0; }
.page-content__inner { max-width: 800px; }
.page-content img { border-radius: var(--radius-md); margin: 1.5rem 0; }
.page-content h2 { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-gray-200); }
.page-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

/* Sidebar Layout */
.layout-sidebar { display: grid; gap: 2rem; }
@media (min-width: 992px) { .layout-sidebar { grid-template-columns: 1fr 300px; } }
.sidebar { background: var(--color-gray-50); padding: 1.5rem; border-radius: var(--radius-lg); height: fit-content; }
.sidebar__title { font-size: 1.125rem; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--color-primary); }
.sidebar__contact { background: var(--color-primary); color: var(--color-white); padding: 1.5rem; border-radius: var(--radius-md); text-align: center; }
.sidebar__contact a { color: var(--color-white); }
.sidebar__phone { font-size: 1.25rem; font-weight: 700; display: block; margin-top: 0.5rem; }

/* Contact Form */
.form__group { margin-bottom: 1rem; }
.form__label { display: block; font-weight: 500; margin-bottom: 0.5rem; color: var(--color-gray-700); }
.form__input, .form__textarea { width: 100%; padding: 0.75rem 1rem; font-size: 1rem; border: 1px solid var(--color-gray-300); border-radius: var(--radius-md); transition: border-color 150ms ease, box-shadow 150ms ease; }
.form__input:focus, .form__textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(107, 130, 74, 0.1); }
.form__textarea { min-height: 150px; resize: vertical; }

/* FAQ */
.faq__item { border-bottom: 1px solid var(--color-gray-200); }
.faq__question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; background: none; border: none; font-size: 1.125rem; font-weight: 600; text-align: left; color: var(--color-gray-900); cursor: pointer; }
.faq__question:hover { color: var(--color-primary); }
.faq__icon { flex-shrink: 0; width: 24px; height: 24px; color: var(--color-primary); transition: transform 200ms ease; }
.faq__item.is-open .faq__icon { transform: rotate(180deg); }
.faq__answer { display: none; padding-bottom: 1.25rem; color: var(--color-gray-600); }
.faq__item.is-open .faq__answer { display: block; }

/* Guarantee Grid */
.guarantee-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 600px) {
  .guarantee-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .guarantee-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guarantee-card {
  background: linear-gradient(135deg, var(--color-gray-50) 0%, #eef4e8 100%);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.guarantee-card h3 {
  color: var(--color-primary-dark);
  font-size: 1rem;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 0.5rem;
}

.guarantee-card p {
  color: var(--color-gray-600);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Footer */
.footer { background: var(--color-gray-900); color: var(--color-gray-300); padding: 3rem 0 1.5rem; }
.footer__grid { display: grid; gap: 2rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__heading { color: var(--color-white); font-size: 1rem; margin-bottom: 1rem; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 0.5rem; }
.footer__links a { color: var(--color-gray-400); transition: color 150ms ease; }
.footer__links a:hover { color: var(--color-white); }
.footer__phone { font-size: 1.125rem; font-weight: 600; color: var(--color-primary-light); }
.footer__bottom { padding-top: 1.5rem; border-top: 1px solid var(--color-gray-700); text-align: center; font-size: 0.875rem; }
.footer__bottom a { color: var(--color-gray-400); }

/* CTA */
.cta { background: var(--color-primary); color: var(--color-white); padding: 3rem 0; text-align: center; }
.cta__title { color: var(--color-white); margin-bottom: 0.5rem; }
.cta__text { font-size: 1.125rem; opacity: 0.9; margin-bottom: 1.5rem; }
.cta__phone { font-size: 1.5rem; font-weight: 700; color: var(--color-white); display: block; margin-bottom: 1rem; }

/* Footer Address */
.footer__address {
  font-style: normal;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--color-gray-400);
}

.footer__address strong {
  color: var(--color-white);
  font-weight: 600;
}
/* Map Embed */
.map-embed {
  margin: 1.5rem 0;
}

/* Testimonials */
.testimonials {
  display: grid;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.testimonial {
  background: var(--color-gray-50);
  border-left: 4px solid var(--color-primary);
  padding: 1.25rem 1.5rem;
  margin: 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.testimonial p {
  font-style: italic;
  margin: 0 0 0.75rem 0;
  color: var(--color-gray-700);
}

.testimonial cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--color-gray-500);
}

/* Tables in page content */
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.page-content th,
.page-content td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-gray-200);
}

.page-content th {
  background: var(--color-gray-50);
  font-weight: 600;
  color: var(--color-gray-900);
}

.page-content tr:hover {
  background: var(--color-gray-50);
}