/* Sundown Serwis – Elegant Classic CSS Theme */

/* CSS Reset & Normalize */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F5F5;
  color: #253953;
}
ol, ul {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  background: transparent;
  color: #253953;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #FB9B02;
  outline: none;
}

:root {
  --primary: #253953;
  --secondary: #F5F5F5;
  --accent: #FBAF3E;
  --accent-dark: #FB9B02;
  --bg-card: #fff;
  --shadow: 0 4px 20px 0 rgba(37, 57, 83, 0.08);
  --border-radius: 14px;
  --container-width: 1200px;
  --transition: 0.2s cubic-bezier(.4,.2,.2,1);
}

/* Typography – Elegant Classic */
body {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 400;
  font-size: 16px;
  background: var(--secondary);
  color: var(--primary);
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 600;
  color: var(--primary);
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 32px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
h6 { font-size: .95rem; }

p, li {
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 0.7em;
}
strong, b {
  font-weight: bold;
}

/* Container & Layouts */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  /* To be set on sections as class="section" if needed */
}

/* Card, Flex Patterns – Classic Proportions */
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  flex: 1 1 300px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 8px 36px 0 rgba(37,57,83,0.15);
  transform: translateY(-6px);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(37,57,83,0.08);
  margin-bottom: 24px;
  min-width: 220px;
  max-width: 480px;
}
.testimonial-card p {
  font-style: italic;
  color: #1c2640;
  font-size: 1.08rem;
  line-height: 1.6;
}
.testimonial-card strong {
  font-size: 1rem;
  color: var(--primary);
  margin-top: 6px;
  font-family: 'Georgia', 'Times New Roman', serif;
}

/* Hero Section */
.hero {
  background: #fff;
  padding: 56px 0 52px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  max-width: 680px;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.5rem;
}
.hero p {
  color: #3F4D69;
  font-size: 1.15rem;
}

/* Features */
.features {
  background: var(--secondary);
  padding: 40px 0;
}
.features h2 {
  margin-bottom: 18px;
}
.features ul li {
  margin-bottom: 12px;
  padding-left: 22px;
  position: relative;
  font-size: 1.02rem;
}
.features ul li:before {
  content: "\2014 ";
  color: var(--accent);
  position: absolute;
  left: 0;
}

/* Services Overview & Cards */
.services-overview, .services {
  padding: 40px 0 0 0;
}
.services-overview h2, .services h1 {
  margin-bottom: 18px;
}
.service-card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 26px 20px 16px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  max-width: 500px;
  gap: 8px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  box-shadow: 0 8px 36px 0 rgba(37,57,83,0.12);
  transform: translateY(-4px);
}
.service-card h3, .service-card h2 {
  font-size: 1.24rem;
  color: #214278;
  margin-bottom: 8px;
  font-family: 'Georgia', 'Times New Roman', serif;
}
.service-card p {
  margin-bottom: 3px;
  color: #36405B;
  font-size: 1.02rem;
}
.service-card .price, .service-card .price {
  margin-top: 7px;
  font-weight: bold;
  color: var(--accent);
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}

/* Pricing Table */
.pricing-table {
  background: #fff;
  padding: 40px 0;
}
.pricing-table table {
  width: 100%;
  font-family: 'Georgia', 'Times New Roman', serif;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  background: #fff;
  overflow: hidden;
  margin-bottom: 24px;
}
.pricing-table th, .pricing-table td {
  padding: 18px 16px;
  text-align: left;
}
.pricing-table th {
  background: var(--primary);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
}
.pricing-table td {
  border-top: 1px solid #E6E8EC;
  color: #253953;
  font-size: 1.04rem;
}
.pricing-table tr:nth-child(even) td {
  background: #f8f8fa;
}

/* CTA Strip */
.cta-strip {
  background: var(--primary);
  color: #fff;
  border-radius: var(--border-radius);
  padding: 38px 0;
  box-shadow: 0 2px 20px 0 rgba(37,57,83,0.06);
  margin-top: 38px;
  margin-bottom: 60px;
}
.cta-strip .content-wrapper {
  align-items: center;
  text-align: center;
}
.cta-strip h2, .cta-strip p {
  color: #fff;
}

/* About, Values, Guarantee sections */
.about, .values, .guarantee, .why-us, .info, .legal, .confirmation, .contact {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 40px 0;
  margin-bottom: 60px;
}
.values ul li, .why-us ul li, .guarantee ul li, .info ul li {
  margin-bottom: 13px;
  padding-left: 22px;
  position: relative;
}
.values ul li:before, .why-us ul li:before, .guarantee ul li:before, .info ul li:before {
  content: "\2022 ";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-size: 1.08em;
}

.text-section {
  margin-bottom: 24px;
}

/* Link with Arrow */
.link-arrow {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--primary);
  font-weight: 500;
  font-size: 1.09rem;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: color 0.2s;
}
.link-arrow:after {
  content: '→';
  margin-left: 5px;
  color: var(--accent);
  transition: margin-left 0.2s, color 0.2s;
}
.link-arrow:hover {
  color: var(--accent);
}
.link-arrow:hover:after {
  margin-left: 12px;
  color: var(--accent-dark);
}

/* Call to Action Button */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  background: var(--accent);
  color: #fff;
  font-size: 1.08rem;
  padding: 13px 32px;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 12px rgba(251,175,62,0.07);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-top: 8px;
  margin-bottom: 10px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent-dark);
  color: #fff;
  transform: scale(1.035);
  box-shadow: 0 4px 18px rgba(251,175,62,0.18);
  outline: none;
}

/* Header & Navigation */
header {
  background: #fff;
  box-shadow: 0 3px 12px 0 rgba(37,57,83,0.06);
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 80px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 60px;
}
.logo {
  display: flex;
  align-items: center;
  height: 56px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.01rem;
  color: #253953;
  padding: 7px 10px;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.12s, color 0.17s;
}
nav a:hover, nav a.active {
  color: var(--accent);
  background: #f7ebe0;
}

/* Hide desktop nav on mobile */
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  header .cta-btn {
    display: none;
  }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 8px 16px 8px 4px;
  border-radius: 10px;
  margin-right: 4px;
  display: inline-block;
  z-index: 106;
  transition: background 0.12s, box-shadow 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #f7ebe0;
  box-shadow: 0 2px 10px rgba(37,57,83,0.06);
  outline: none;
}
@media (min-width: 901px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(37,57,83,0.94);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.77,.2,.3,1), opacity 0.12s;
  z-index: 121;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  padding: 15px 24px 0 0;
  align-self: flex-end;
}
.mobile-nav {
  margin-top: 36px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 38px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.22rem;
  padding: 10px 0 10px 0px;
  width: 100%;
  border-radius: 7px;
  font-weight: bold;
  transition: background 0.12s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--accent);
  background: rgba(251,175,62,0.08);
}

/* Footer */
footer {
  background: #fff;
  padding: 56px 0 12px 0;
  border-top: 1px solid #e8ebf1;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 24px;
  align-items: flex-start;
  justify-content: space-between;
}
.brand-footer {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.brand-footer img {
  height: 42px;
  width: auto;
  margin-bottom: 10px;
}
.brand-footer p, .brand-footer a {
  color: #496296;
  font-size: .98rem;
  margin-bottom: 0;
  font-family: 'Georgia', 'Times New Roman', serif;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-menu a {
  color: #253953;
  font-size: 1.01rem;
  font-family: 'Georgia', 'Times New Roman', serif;
}
.footer-menu a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.legal-info {
  flex-basis: 100%;
  text-align: left;
  margin-top: 28px;
}
.legal-info p {
  color: #385e88;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: .95rem;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin: 14px 0 0 0;
}

/* Responsive Footer */
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
}

/* Contact / Map placeholder */
.map-placeholder {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding: 16px 0 0 0;
  color: #253953;
  background: #f9f7f4;
  border-radius: 10px;
  min-height: 48px;
  font-size: 1.08rem;
}
.map-placeholder img {
  width: 30px;
  height: auto;
}

/* Legal / Info / Policy Sections */
.legal, .info, .text-section, .confirmation {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 36px 0;
  margin-bottom: 50px;
}
.text-section ul, .text-section ol {
  padding-left: 16px;
}
.text-section ul li, .text-section ol li {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1rem;
  margin-bottom: 7px;
}
.text-section a {
  color: var(--accent);
  word-break: break-all;
}
.text-section a:hover {
  text-decoration: underline;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 1.5px solid #E6E8EC;
  box-shadow: 0 -4px 20px 0 rgba(40,54,90,0.09);
  padding: 24px 20px;
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(.9,.13,.29,1), opacity 0.17s;
  opacity: 1;
}
.cookie-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-message {
  font-size: 1.05rem;
  color: #253953;
  font-family: 'Georgia', 'Times New Roman', serif;
  margin: 0 18px 0 0;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-btn {
  border: none;
  outline: none;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: bold;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow 0.16s;
}
.cookie-btn.accept {
  background: var(--accent);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 2px 10px #fbaf3e25;
}
.cookie-btn.reject {
  background: #dde2eb;
  color: var(--primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #becbdc;
  color: var(--primary);
}
.cookie-btn.settings {
  background: #fff;
  color: var(--primary);
  border: 1px solid #c2c7d6;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #f6f5f2;
  color: var(--primary);
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(37,57,83,0.75);
  z-index: 2200;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 38px rgba(37,57,83,0.18);
  padding: 38px 24px 26px 24px;
  max-width: 380px;
  min-width: 260px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalIn 0.21s cubic-bezier(.8,-0.01,.67,1.16);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.cookie-category label {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.01rem;
  color: #253953;
  font-weight: 500;
}
.cookie-toggle {
  width: 38px;
  height: 20px;
  border-radius: 12px;
  background: #e6e7ed;
  position: relative;
  transition: background 0.18s;
  margin-left: 12px;
  cursor: pointer;
  flex-shrink: 0;
  border: 1px solid #bfcbe1;
  display: inline-block;
}
.cookie-toggle.enabled {
  background: var(--accent);
}
.cookie-toggle::after {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 2.5px;
  width: 15px;
  height: 15px;
  border-radius: 8px;
  background: #fff;
  transition: left 0.17s, background 0.16s;
}
.cookie-toggle.enabled::after {
  left: 18px;
  background: #fff;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal h3 {
  margin-top: 0;
  font-size: 1.2rem;
  font-weight: bold;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--primary);
}
.cookie-modal .cookie-category .essential {
  color: #868686;
  font-size: .98em;
  font-style: italic;
}

/* Utilities */
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2.14rem; }
  h2 { font-size: 1.42rem; }
  section, .section { padding: 32px 6px; }
  .container { padding-left: 10px; padding-right: 10px; }
  .cta-strip { padding: 24px 0; }
  footer { padding: 28px 0 8px 0; }
  .content-wrapper { gap: 16px; }
  .card, .service-card { padding: 18px 10px; min-width: 95%; }
  .testimonial-card { min-width: 90%; }
}
@media (max-width: 576px) {
  .container { padding-left: 4px; padding-right: 4px; }
  .footer-menu { gap: 2px; }
  .legal-info p { font-size: .92rem; }
}

/* Prevent content overlapping */
main > section, .section, .info, .legal, .testimonials, .about, .contact, .confirmation, .values,
.why-us, .guarantee {
  margin-bottom: 60px;
  box-sizing: border-box;
}
.card, .service-card, .testimonial-card {
  margin-bottom: 20px;
}

/* Transitions + Subtle effects */
.card, .service-card, .testimonial-card, .cta-btn, .cookie-banner, .cookie-btn, .link-arrow {
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}

/* Micro-interaction for button click (scale) */
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.98);
}

/* Hide scroll on open mobile menu */
html.menu-open {
  overflow: hidden;
}

/* Miscellaneous fixes */
::-webkit-input-placeholder { color: #b9babd; opacity: 1; }
::-moz-placeholder { color: #b9babd; opacity: 1; }
:-ms-input-placeholder { color: #b9babd; opacity: 1; }
::placeholder { color: #b9babd; opacity: 1; }

/***********************
End of Elegant Classic CSS
***********************/
