/* -------------------
   CSS RESET & NORMALIZE
-------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #243543;
  min-height: 100vh;
  line-height: 1.65;
  font-size: 1rem;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: block;
}
a {
  color: #1A4468;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #A7613E;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 16px;
  text-align: left;
}
th {
  background: #A7C7E7;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: #1A4468;
}
td {
  background: #E5F2EA;
  border-bottom: 2px solid #fff;
  font-size: 1rem;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1A4468;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
p, li {
  font-size: 1rem;
  color: #243543;
}
small {
  font-size: 0.95em;
  color: #496782;
}

/* -------------
   BRAND COLORS
------------- */
:root {
  --primary: #1A4468;
  --primary-hover: #183c59;
  --secondary: #A7C7E7;
  --accent: #E5F2EA;
  --success: #5cb174;
  --warning: #ffd56b;
  --danger: #e57373;
  --neutral: #f6f8fa;
  --text-dark: #243543;
  --text-light: #fff;
  --shadow-color: rgba(33,65,92,.18);
  --shadow-medium: 0 4px 24px var(--shadow-color);
  --shadow-light: 0 2px 8px rgba(33,65,92,.12);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

/* --------------------
   CONTAINER & LAYOUTS
--------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
}

/* ----------
   FLEXBOX UTILITY CLASSES
----------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  padding: 28px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .28s;
}
.card:hover {
  box-shadow: var(--shadow-medium);
}
.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;
    gap: 18px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-medium);
  margin-bottom: 20px;
  max-width: 600px;
}
.testimonial-details {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #496782;
  margin-left: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--neutral);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-light);
  padding: 24px;
  min-width: 220px;
  transition: box-shadow .25s, transform .18s;
}
.feature-item:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-3px) scale(1.01);
}

/* ---------------
   MAIN NAVIGATION
---------------- */
.site-header {
  width: 100%;
  background: var(--primary);
  box-shadow: var(--shadow-light);
  padding: 0 0;
}
.site-header .container {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.site-header img[alt="AquaArroc Tisztító"] {
  height: 54px;
  border-radius: var(--radius-sm);
  box-shadow: none;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.main-nav a {
  color: var(--text-light);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 0;
  position: relative;
  border-radius: var(--radius-sm);
  transition: background .18s, color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #ffd56b;
  background: rgba(255,255,255,0.1);
}
.btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 28px;
  border: none;
  border-radius: 24px;
  outline: none;
  max-height: 44px;
  font-size: 1rem;
  box-shadow: var(--shadow-light);
  cursor: pointer;
  text-align: center;
  transition: background .2s, color .2s, box-shadow .25s, transform .15s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary {
  background: #FFAF85;
  color: #fff;
  box-shadow: var(--shadow-light);
}
.btn-primary:hover, .btn-primary:focus {
  background: #e98352;
  color: #fff;
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  background: var(--primary);
  color: #fff;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #A7613E;
  color: #fff;
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px) scale(1.03);
}

/* Hamburger menu button */
.mobile-menu-toggle {
  background: transparent;
  color: var(--secondary);
  font-size: 2rem;
  border: none;
  cursor: pointer;
  margin-left: 10px;
  display: none;
  z-index: 300;
  border-radius: 50%;
  padding: 5px 12px;
  transition: background .18s,color .18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(167,199,231,0.14);
  color: #ff8c54;
}

/* --------
   MOBILE MENU
-------- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  box-shadow: var(--shadow-medium);
  transform: translateX(-110vw);
  transition: transform .34s cubic-bezier(.85,.03,.22,1.0);
  z-index: 997;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.3rem;
  border: none;
  position: absolute;
  right: 24px;
  top: 20px;
  cursor: pointer;
  z-index: 1100;
  border-radius: 50%;
  transition: background .22s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(167,199,231,0.17);
  color: #FFD56B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 110px 32px 24px 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat',Arial,sans-serif;
  padding: 8px 6px 8px 2px;
  border-radius: var(--radius-sm);
  width: 100%;
  transition: background .18s,color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A7C7E7;
  color: #24486b;
}
@media (max-width: 992px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
}
@media (max-width: 992px) {
  .site-header .btn-primary { display:none; }
}

/* --------
   HERO SECTION (index)
--------- */
section:first-of-type {
  background: linear-gradient(96deg, #FFF1E6 60%, #E5F2EA 100%);
  box-shadow: var(--shadow-light);
  margin-bottom: 60px;
  border-radius: var(--radius-lg);
}
.subtitle {
  font-size: 1.125rem;
  color: #6e5750;
  margin-bottom: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}

/* ---------
   FEATURES GRID
---------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
@media (max-width: 992px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-item {
    min-width: 0;
  }
}

/* ---------------
   TESTIMONIALS
--------------- */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.testimonial-card {
  background: #fff;
  color: #1A4468;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  padding: 32px 26px;
  min-width: 280px;
  flex: 1 0 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-card p {
  font-size: 1.13rem;
  color: #1A4468;
  font-style: italic;
}
.testimonial-details {
  align-self: flex-end;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #4b5e6c;
}

/* --------
   CONTACT LISTS
-------- */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.11rem;
}
.contact-list img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

/* ---------------
   CARDS
--------------- */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

/* ---------------
   FOOTER
--------------- */
.site-footer {
  background: var(--primary);
  color: var(--text-light);
  padding: 34px 0 14px 0;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  box-shadow: 0 -2px 10px rgba(0,0,0,.09);
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}
.footer-nav {
  display: flex;
  gap: 14px;
  font-size: 1rem;
  flex-wrap: wrap;
  margin-bottom: 8px;
  justify-content: center;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color .18s, text-decoration .18s;
  border-radius: 4px;
}
.footer-nav a:focus, .footer-nav a:hover {
  color: #FFD56B;
  text-decoration: underline;
  background: rgba(255,255,255,.08);
}
.footer-contact {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-size: .99rem;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
}
.social-links {
  display: flex;
  gap: 18px;
  margin: 10px 0 5px 0;
}
.social-links img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  filter: grayscale(.1);
  transition: box-shadow .19s, filter .18s;
  box-shadow: 0 1px 7px rgba(167,199,231,.19);
  background: #fff;
  padding: 3px;
}
.social-links img:hover {
  filter: none;
  box-shadow: 0 2px 14px #FFD56B88;
}
.site-footer small {
  color: #E5F2EA;
  margin-top: 1em;
  letter-spacing: .05em;
}

/* -------------
   TABLES
-------------- */
table {
  margin: 18px 0 22px 0;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-light);
  overflow: hidden;
}
tr:nth-child(even) td {
  background: #F4F8F6;
}
th, td {
  border: none;
  line-height: 1.5;
}

/* -------------
   FAQ BLOCK
------------- */
.faq-block {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-block h3 {
  color: #9b5925;
  font-size: 1.15rem;
  margin-bottom: 6px;
  font-family: 'Montserrat',Arial,sans-serif;
}
.faq-block p {
  color: #243543;
  font-size: 1.01rem;
}

.search-bar {
  margin: 32px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.search-bar label {
  font-family: 'Montserrat',Arial,sans-serif;
  color: #6e5750;
  font-size: 1.02rem;
}
.search-bar input[type="text"] {
  border: 1.5px solid #A7C7E7;
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  font-size: 1rem;
  width: min(320px,90vw);
  background: #f8fafc;
  font-family: 'Roboto',sans-serif;
}
.search-bar input[disabled] {
  background: #eee;
  color: #ababb8;
  cursor: not-allowed;
}

/* ---------
   TEXT SECTIONS
---------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.07rem;
}
.embedded-map {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #A7C7E7;
  border-radius: var(--radius-md);
  font-family: 'Montserrat',sans-serif;
  color: #496782;
  font-size: 1.3rem;
}

/* -----------
   COOKIE CONSENT BANNER & MODAL
------------ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff8ee;
  color: #1A4468;
  box-shadow: 0 -4px 24px rgba(33,65,92,0.11);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  z-index: 1203;
  padding: 18px 20px 18px 20px;
  transition: transform .28s ease;
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
@media (min-width: 540px) {
  .cookie-banner-content {
    flex-direction: row;
    gap: 22px;
    justify-content: flex-start;
  }
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  margin-top: 2px;
}
.cookie-banner .btn {
  font-size: 1rem;
  padding: 8px 20px;
}
.btn-cookie-accept {
  background: #5cb174;
  color: #fff;
}
.btn-cookie-accept:hover {
  background: #3ca05d;
}
.btn-cookie-reject {
  background: #e57373;
  color: #fff;
}
.btn-cookie-reject:hover {
  background: #bf4b60;
}
.btn-cookie-settings {
  background: #FFD56B;
  color: #1A4468;
  border: 1px solid #FFD56B;
}
.btn-cookie-settings:hover {
  background: #F6C744;
  color: #1A4468;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1204;
  background: rgba(26,68,104,0.19);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .22s;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  padding: 36px 26px 26px 26px;
  min-width: 300px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookie-modal-in .28s cubic-bezier(.6,-.04,.44,1.19);
}
@keyframes cookie-modal-in {
  from { transform: translateY(80px) scale(.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: var(--primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  flex: 1;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A4468;
}
.cookie-category input[type="checkbox"] {
  width: 21px;
  height: 21px;
  accent-color: #5cb174;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.cookie-modal .btn {
  min-width: 110px;
}

/* -----------
   UTILITY: SPACING & FLEX ORDER
----------- */
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.gap-1 { gap: 10px; }
.gap-2 { gap: 22px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-col { display: flex; flex-direction: column; }
.flex-row { display: flex; flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }

/* --------
   CUSTOM CHECKBOXES
-------- */
input[type="checkbox"] {
  cursor: pointer;
  accent-color: #5cb174;
  border-radius: 5px;
  transition: accent-color .22s;
}
input[type="checkbox"][disabled] {
  cursor: not-allowed;
  accent-color: #d0d9de;
}

/* -------------
   RESPONSIVENESS
-------------- */
@media (max-width: 600px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.05rem; }
  .content-wrapper, .faq-block, .testimonials, .feature-grid, .contact-list { gap: 14px; }
  .card, .feature-item { padding: 17px; }
  .testimonial-card { padding: 18px 10px; }
  .section { padding: 18px 4px; }
}
@media (max-width: 425px) {
  .site-header .container { flex-direction: column; gap:10px;padding-top:6px; }
  .site-footer .container { padding-left: 2px; padding-right: 2px; }
}

/* --------------
   ANIMATIONS & MICROINTERACTIONS
--------------- */
.btn, .feature-item, .card, .testimonial-card {
  transition: box-shadow .23s, background .16s, transform .17s, color .16s;
}
.card:active, .btn:active, .feature-item:active {
  transform: scale(.99);
}

/* --------------
   COOKIE CONTROLS IN POLICY PAGE
------------ */
.cookie-controls {
  display: flex;
  gap: 16px;
  margin: 12px 0;
}
.cookie-controls label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #243543;
  font-size: 1rem;
  font-family: 'Montserrat',Arial,sans-serif;
}
.cookie-controls input[type="checkbox"] {
  accent-color: #5cb174;
  width: 18px;
  height: 18px;
}

/* ---------------
   SPECIALS: THANK YOU PAGE
---------------- */
.text-section a.btn {
  margin-top: 18px;
}

/* ---------------
   ACCESSIBILITY FOCUS STATES
---------------- */
a:focus, button:focus, .btn:focus {
  outline: 2.5px solid #FFD56B;
  outline-offset: 2px;
  z-index: 2;
}

/* ---------------
   PRINT STYLES (Minimal)
---------------- */
@media print {
  header, .site-header, .main-nav, .mobile-menu-toggle, .mobile-menu, .site-footer, .btn, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  section, .section, .container { margin: 0 !important; padding: 0 !important; box-shadow: none !important; }
}
