html {
  min-width: 280px;
}

:root {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-light: #334155;
  --header: #020617;
  --accent: #facc15;
  --accent-dark: #eab308;
  --text: #ffffff;
  --text-soft: #cbd5e1;
  --danger: #ef4444;
  --whatsapp: #25d366;
  --shadow:
    0 0 0 1px rgba(255, 255, 255, 0.38), 0 -6px 18px rgba(0, 0, 0, 0.52),
    0 8px 22px rgba(0, 0, 0, 0.62), 0 22px 50px rgba(0, 0, 0, 0.72);
}

/* Theme 1: Dark + Yellow */
body[data-theme="dark-yellow"] {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-light: #334155;
  --header: #020617;
  --accent: #facc15;
  --accent-dark: #eab308;
  --text: #ffffff;
  --text-soft: #cbd5e1;
}

/* Theme 2: Navy + Orange */
body[data-theme="navy-orange"] {
  --bg: #08111f;
  --surface: #102033;
  --surface-light: #1d3557;
  --header: #020817;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --text: #ffffff;
  --text-soft: #dbeafe;
}

/* Theme 3: Modern Green + Yellow */
body[data-theme="green-yellow"] {
  --bg: #052e1c;
  --surface: #064e3b;
  --surface-light: #047857;
  --header: #021c12;
  --accent: #facc15;
  --accent-dark: #eab308;
  --text: #ffffff;
  --text-soft: #d1fae5;
}

/* Theme 4: Light Professional */
body[data-theme="light"] {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-light: #e2e8f0;
  --header: #0f172a;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --text: #0f172a;
  --text-soft: #475569;
  --shadow:
    0 0 0 1px rgba(15, 23, 42, 0.16), 0 -6px 18px rgba(15, 23, 42, 0.16),
    0 8px 22px rgba(15, 23, 42, 0.22), 0 22px 50px rgba(15, 23, 42, 0.26);
}

/* Future theme: Christmas */
body[data-theme="christmas"] {
  --bg: #0f172a;
  --surface: #14532d;
  --surface-light: #166534;
  --header: #450a0a;
  --accent: #dc2626;
  --accent-dark: #991b1b;
  --text: #ffffff;
  --text-soft: #fef2f2;
  --danger: #ef4444;
  --whatsapp: #25d366;
}

/* Global View aka Desktop View  */
body {
  min-width: 280px;
  color: var(--text);
  background-color: var(--bg);
  background-image: url(../images/background-contur.webp);
  background-repeat: repeat;
  font-family: Arial, Helvetica, sans-serif;
}

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

/* Accessibility: visible keyboard focus, skip link, reduced motion */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 4000;
  padding: 10px 18px;
  border-radius: 999px;
  background-color: var(--accent);
  color: #111111;
  font-weight: bold;
}

.skip-link:focus {
  top: 12px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

.container {
  min-height: 500px;
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 36px;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
}

.mybutton {
  padding: 12px 15px;
  border: 2px solid var(--accent);
  font-weight: bold;
  color: var(--text);
  border-radius: 999px;
  transition: 0.2s ease;
  background-color: transparent;
}

.mybutton:hover,
.mybutton.active {
  background-color: var(--accent);
  color: #111111;
}

body[data-theme="light"] .hero-card,
body[data-theme="light"] .service-card,
body[data-theme="light"] .tariff-card,
body[data-theme="light"] .gallery-card,
body[data-theme="light"] .contact-method-card,
body[data-theme="light"] .contact-details-card,
body[data-theme="light"] .theme-panel,
body[data-theme="light"] .theme-preview-card,
body[data-theme="light"] .error-card,
body[data-theme="light"] .page-hero,
body[data-theme="light"] .final-cta {
  border: 1px solid rgba(15, 23, 42, 0.12);
}

/* Homepage modern rebuild */

.hero-card {
  width: 100%;
  margin-bottom: 40px;
  background: linear-gradient(135deg, var(--surface), var(--surface-light));
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 50px 40px;
  box-sizing: border-box;
}

.hero-content {
  max-width: 820px;
}

.hero-label {
  color: var(--accent);
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding: 0;
}

.hero-title {
  font-size: 3rem;
  line-height: 3.4rem;
  font-weight: 800;
  padding: 0;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.8rem;
  color: var(--text-soft);
  max-width: 760px;
  padding: 0;
  margin-bottom: 28px;
}

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

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: bold;
  text-align: center;
  transition: 0.2s ease;
}

.cta-primary {
  background-color: var(--accent);
  color: #111111;
  border: 2px solid var(--accent);
}

.cta-primary:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
}

.cta-secondary {
  background-color: transparent;
  color: var(--text);
  border: 2px solid var(--surface-light);
}

.cta-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.quick-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
}

.info-pill {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 18px;
  box-sizing: border-box;
}

.info-pill strong {
  display: block;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 5px;
}

.info-pill span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.3rem;
}

.info-pill-link {
  display: block;
  transition: border-color 0.2s ease;
}

.info-pill-link:hover {
  border-color: var(--accent);
}

.rating-line {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-weight: 800;
}

@media (max-width: 1024px) {
  .quick-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.section-intro {
  width: 100%;
  margin-bottom: 30px;
  background-color: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 30px;
  box-sizing: border-box;
}

.section-title {
  font-size: 2rem;
  line-height: 2.4rem;
  color: var(--text);
  margin-bottom: 14px;
  font-weight: 800;
}

.section-intro p {
  font-size: 1rem;
  line-height: 1.7rem;
  color: var(--text-soft);
  padding: 0;
}

.services-preview {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.service-card {
  background-color: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 26px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-card h2 {
  font-size: 1.35rem;
  line-height: 1.7rem;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 800;
  font-family: Arial, Helvetica, sans-serif;
  padding: 0;
}

.service-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-weight: bold;
  text-decoration: underline;
}

.service-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55rem;
  padding: 0;
}

.final-cta {
  width: 100%;
  background-color: var(--surface);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 36px;
  box-sizing: border-box;
  margin-bottom: 40px;
  text-align: center;
}

.final-cta h2 {
  font-size: 2rem;
  line-height: 2.4rem;
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 800;
  font-family: Arial, Helvetica, sans-serif;
  padding: 0;
}

.final-cta p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.6rem;
  padding: 0;
  margin-bottom: 24px;
}

.final-cta .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

/* Frequently asked questions */
.faq-section {
  width: 100%;
  margin-bottom: 40px;
  background-color: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 30px;
  box-sizing: border-box;
}

.faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.5rem;
  font-weight: bold;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 1.6rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.faq-item p {
  color: var(--text-soft);
  line-height: 1.7rem;
  padding-bottom: 18px;
}

.faq-item a {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 500px) {
  .faq-section {
    padding: 24px 18px;
  }
}

@media (max-width: 768px) {
  .hero-card {
    padding: 38px 24px;
  }

  .hero-title {
    font-size: 2.3rem;
    line-height: 2.7rem;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6rem;
  }

  .services-preview {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-button {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 620px) {
  .quick-info-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

@media (max-width: 500px) {
  .hero-card {
    padding: 30px 20px;
    border-radius: 18px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 2.35rem;
  }

  .quick-info-grid {
    display: block;
  }

  .info-pill {
    margin-bottom: 12px;
  }

  .services-preview,
  .services-grid-full {
    grid-template-columns: 1fr;
  }

  .section-intro,
  .final-cta {
    padding: 24px 20px;
  }
}
/* Modern header and mobile navigation */

.header-container {
  background-color: var(--header);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-height: auto;
}

.site-header {
  max-width: 1024px;
  min-height: 90px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand .logo {
  width: 220px;
  max-width: 100%;
  height: auto;
}

.brand-text {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1px;
  white-space: nowrap;
  padding-bottom: 10px;
  display: block;
}
.brand-container {
  text-align: center;
  width: 100%;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.mobile-call-button {
  background-color: var(--accent);
  color: #111111;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: bold;
}

.menu-toggle {
  background-color: var(--surface-light);
  color: var(--text);
  border: 2px solid var(--accent);
  border-radius: 10px;
  font-size: 1.4rem;
  line-height: 1;
  padding: 8px 12px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 20px 18px 20px;
  box-sizing: border-box;
}

.mobile-nav.open {
  display: grid;
  gap: 10px;
}

.mobile-nav .navbutton {
  display: block;
  background-color: var(--surface);
  color: var(--text);
  padding: 14px 18px;
  border-radius: 12px;
  text-align: center;
  font-weight: bold;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav .navbutton:hover,
.mobile-nav .navbutton.active {
  background-color: var(--accent);
  color: #111111;
}

@media (max-width: 768px) {
  .site-header {
    min-height: 82px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-actions {
    display: flex;
  }

  .brand .logo {
    width: 180px;
  }
}

@media (max-width: 500px) {
  .site-header {
    padding: 0 14px;
  }

  .mobile-call-button {
    padding: 9px 13px;
    font-size: 0.9rem;
  }

  .menu-toggle {
    padding: 7px 10px;
  }
}
/* Floating emergency call button */

.floating-call-button {
  display: none;
}

@media (max-width: 768px) {
  .floating-call-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);

    width: 58px;
    min-height: 90px;
    padding: 12px 8px;
    box-sizing: border-box;

    background-color: color-mix(in srgb, var(--accent) 75%, transparent);
    backdrop-filter: blur(4px);
    color: #111111;
    border-radius: 18px 0 0 18px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-right: none;

    font-weight: 800;
    text-align: center;
    line-height: 1.15rem;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    z-index: 2000;
  }

  .floating-call-button:hover {
    background-color: var(--accent);
    color: #111111;
  }

  .floating-call-icon {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .phone-svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
  }

  .floating-call-text {
    font-size: 0.9rem;
  }
}
/* Services page rebuild */

.page-hero {
  width: 100%;
  margin-bottom: 40px;
  background: linear-gradient(135deg, var(--surface), var(--surface-light));
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 50px 40px;
  box-sizing: border-box;
}

.services-grid-full {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 38px 24px;
  }

  .services-grid-full {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .page-hero {
    padding: 30px 20px;
    border-radius: 18px;
  }
}
/* Tariff page rebuild */

.tariff-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.tariff-card {
  background-color: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 26px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tariff-card h2 {
  font-size: 1.35rem;
  line-height: 1.7rem;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 800;
  font-family: Arial, Helvetica, sans-serif;
  padding: 0;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.price-row span {
  color: var(--text-soft);
  line-height: 1.4rem;
}

.price-row strong {
  color: var(--text);
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.price-note {
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55rem;
}

@media (max-width: 768px) {
  .tariff-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .tariff-card {
    padding: 22px 18px;
  }

  .price-row {
    display: block;
  }

  .price-row strong {
    display: block;
    text-align: left;
    margin-top: 5px;
  }
}
/* Modern footer with contact form */

.site-footer {
  width: 100%;
  background-color: var(--header);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 20px;
}

.footer-content {
  max-width: 1024px;
  margin: 0 auto;
  padding: 42px 20px 28px 20px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 34px;
}

.footer-info h2,
.footer-form-wrapper h2 {
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1.9rem;
  font-weight: 800;
  margin-bottom: 14px;
  font-family: Arial, Helvetica, sans-serif;
}

.footer-info p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55rem;
  margin-bottom: 18px;
}

.footer-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-contact-links a {
  display: inline-block;
  padding: 10px 14px;
  background-color: var(--surface);
  color: var(--text);
  border-radius: 999px;
  font-weight: bold;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-links a:hover {
  background-color: var(--accent);
  color: #111111;
}

.footer-contact-form {
  width: 100%;
}

.footer-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-contact-form input,
.footer-contact-form textarea {
  width: 100%;
  margin: 0;
  padding: 13px 15px;
  box-sizing: border-box;
  border-radius: 10px;
  border: 2px solid transparent;
  background-color: var(--surface);
  color: var(--text);
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
}

.footer-contact-form textarea {
  resize: vertical;
  margin-bottom: 12px;
}

.footer-contact-form .footer-form-full {
  margin-bottom: 12px;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: bold;
}

.footer-contact-form input:focus,
.footer-contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.footer-contact-form input::placeholder,
.footer-contact-form textarea::placeholder {
  color: var(--text-soft);
  opacity: 0.85;
}

.footer-contact-form button {
  cursor: pointer;
  border: none;
}

.form-privacy-note {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.3rem;
}

/* Served areas in footer */
.footer-zones {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 20px 24px 20px;
  box-sizing: border-box;
}

.footer-zones h2 {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-zones ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-zones a {
  color: var(--text-soft);
  font-size: 0.9rem;
  text-decoration: underline;
}

.footer-zones a:hover,
.footer-zones a[aria-current="page"] {
  color: var(--accent);
}

/* Legal information: company details and ANPC SAL pictogram */
.footer-legal {
  max-width: 1024px;
  margin: 0 auto;
  padding: 18px 20px;
  box-sizing: border-box;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-legal-info p {
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.4rem;
}

.footer-legal-info strong,
.legal-page strong,
.zone-page strong {
  font-weight: 800;
  color: var(--text);
}

.footer-legal-info a,
.form-privacy-note a {
  color: var(--accent);
  text-decoration: underline;
}

.anpc-sal-link {
  display: inline-block;
  line-height: 0;
}

.anpc-sal-link img {
  width: 250px;
  max-width: 100%;
  height: auto;
}

.footer-bottom {
  max-width: 1024px;
  margin: 0 auto;
  padding: 16px 20px;
  box-sizing: border-box;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  color: var(--text-soft);
  opacity: 0.75;
  font-size: 0.9rem;
  text-align: center;
}

.button-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: currentColor;
  transform: scale(1.9);
  transform-origin: center;
  overflow: visible;
  padding-right: 5px;
  color: var(--whatsapp);
}

.footer-contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-contact-links .button-icon {
  width: 18px;
  height: 18px;
  color: inherit;
}

@media (max-width: 768px) {
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-content {
    grid-template-columns: 1fr;
    padding: 34px 20px 24px 20px;
  }

  .footer-form-row {
    grid-template-columns: 1fr;
  }
}

/* Popup message for contact forms */
.form-popup-message {
  position: fixed;
  right: 20px;
  bottom: 24px;
  max-width: 340px;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1.4rem;
  box-shadow: var(--shadow);
  z-index: 3600;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: 0.25s ease;
}

.form-popup-visible {
  opacity: 1;
  transform: translateY(0);
}

.form-popup-success {
  background-color: rgba(34, 197, 94, 0.95);
  color: #052e16;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.form-popup-error {
  background-color: rgba(239, 68, 68, 0.95);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hidden-field {
  display: none;
}

/* Cookie consent banner (created by js/main.js) */
.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 3500;
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 20px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  background-color: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner p {
  flex: 1 1 320px;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.45rem;
}

.consent-banner a,
.link-button {
  color: var(--accent);
  text-decoration: underline;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.consent-actions .cta-button {
  flex: 1 1 0;
  width: auto;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

/* Compact banner on phones, so it covers as little of the page as possible */
@media (max-width: 500px) {
  .consent-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 14px 16px;
    gap: 10px;
  }

  .consent-banner p {
    flex-basis: 100%;
    font-size: 0.88rem;
    line-height: 1.3rem;
  }

  .consent-actions {
    width: 100%;
    flex-wrap: nowrap;
  }

  .consent-actions .cta-button {
    padding: 10px 14px;
  }
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 768px) {
  .form-popup-message {
    right: 14px;
    left: 14px;
    bottom: 18px;
    max-width: none;
    text-align: center;
  }
}
/* Gallery page */

.gallery-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.gallery-card {
  background-color: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: 0.25s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card h2 {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4rem;
  font-weight: 800;
  padding: 16px;
  font-family: Arial, Helvetica, sans-serif;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-card img {
    height: 210px;
  }
}

@media (max-width: 500px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card img {
    height: 220px;
  }
}
/* Contact page rebuild */

.contact-methods-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-bottom: 40px;
}

.contact-method-card {
  background-color: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 26px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-method-card h2 {
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1.7rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-method-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55rem;
  margin-bottom: 18px;
}

.contact-method-link {
  display: inline-block;
  color: #111111;
  background-color: var(--accent);
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 800;
}

.contact-method-link:hover {
  background-color: var(--accent-dark);
  color: #111111;
}

.contact-info-layout {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 40px;
}

.contact-details-card {
  background-color: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 30px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-details-card h2 {
  color: var(--accent);
  font-size: 1.45rem;
  line-height: 1.8rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.contact-checklist {
  color: var(--text-soft);
  line-height: 1.6rem;
  padding-left: 18px;
}

/* Privacy policy page and service area pages */
.legal-page,
.zone-page {
  width: 100%;
  display: grid;
  gap: 22px;
  margin-bottom: 40px;
}

.legal-page p,
.zone-page p {
  color: var(--text-soft);
  line-height: 1.6rem;
  margin-bottom: 12px;
}

.legal-page p:last-child,
.zone-page p:last-child {
  margin-bottom: 0;
}

.legal-page .contact-checklist,
.zone-page .contact-checklist {
  list-style: disc;
  margin-bottom: 12px;
}

.zone-page .zone-steps {
  list-style: decimal;
  padding-left: 20px;
  color: var(--text-soft);
  line-height: 1.6rem;
}

.zone-page .zone-steps li {
  margin-bottom: 10px;
}

.zone-page .contact-detail-row {
  margin-bottom: 0;
}

.zone-page .contact-detail-row + p {
  margin-top: 16px;
}

.legal-page a,
.zone-page a {
  color: var(--accent);
  text-decoration: underline;
}

.contact-checklist li {
  margin-bottom: 10px;
}

.contact-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-detail-row span {
  color: var(--text-soft);
}

.contact-detail-row strong {
  color: var(--text);
  font-weight: 800;
  text-align: right;
}

.contact-detail-row a {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact-methods-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .contact-method-card,
  .contact-details-card {
    padding: 24px 18px;
  }

  .contact-detail-row {
    display: block;
  }

  .contact-detail-row strong {
    display: block;
    text-align: left;
    margin-top: 6px;
  }
}
/* Themes page */

.theme-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.theme-panel,
.theme-preview-card {
  width: 100%;
  background: linear-gradient(135deg, var(--surface), var(--surface-light));
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 36px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-page-title {
  color: var(--text);
  font-size: 2.3rem;
  line-height: 2.7rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.theme-page-description {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.7rem;
  margin-bottom: 24px;
}

.theme-select-label {
  display: block;
  color: var(--text-soft);
  font-weight: 800;
  margin-bottom: 10px;
}

.theme-select {
  display: block;
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 2px solid var(--accent);
  background-color: var(--surface);
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.theme-select:focus {
  outline: none;
  border-color: var(--accent-dark);
}

.theme-status {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.5rem;
  margin-bottom: 22px;
}

.theme-back-button {
  display: inline-block;
}

.theme-preview-card h2 {
  color: var(--accent);
  font-size: 1.6rem;
  line-height: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.theme-preview-card p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.7rem;
  margin-bottom: 22px;
}

.theme-preview-card .footer-contact-links {
  margin-bottom: 28px;
}

.theme-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.theme-preview-box {
  background-color: var(--surface);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.theme-preview-box strong {
  display: block;
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.theme-preview-box span {
  display: block;
  color: var(--text-soft);
  line-height: 1.5rem;
}

@media (max-width: 768px) {
  .theme-main {
    grid-template-columns: 1fr;
  }

  .theme-panel,
  .theme-preview-card {
    padding: 28px 22px;
  }

  .theme-page-title {
    font-size: 2rem;
    line-height: 2.35rem;
  }
}
/* 404 page */

.error-main {
  min-height: calc(100vh - 180px);
  align-items: center;
}

.error-card {
  width: 100%;
  background: linear-gradient(135deg, var(--surface), var(--surface-light));
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 50px 40px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .error-card {
    padding: 38px 24px;
  }
}

@media (max-width: 500px) {
  .error-card {
    padding: 30px 20px;
    border-radius: 18px;
  }
}
/* Header menu button hover effect */

.desktop-nav .mybutton {
  position: relative;
  display: inline-block;
  overflow: visible;
  border: 2px solid transparent;
  transform: scale(1);
  transition:
    transform 0.22s ease,
    color 0.22s ease,
    background-color 0.22s ease;
}

.desktop-nav .mybutton::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  opacity: 0;
  transform: scale(0.82);
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
  pointer-events: none;
}

.desktop-nav .mybutton:hover {
  transform: scale(1.14);
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--accent);
}

.desktop-nav .mybutton:hover::after {
  opacity: 1;
  transform: scale(1);
}

.desktop-nav .mybutton.active {
  background-color: var(--accent);
  color: #111111;
  border-color: var(--accent);
}

.desktop-nav .mybutton.active::after {
  opacity: 0;
}

/* Service icons */

.service-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 18px;
  margin-bottom: 0;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card {
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.service-card-header h2 {
  margin-bottom: 0;
}

body[data-theme="light"] .service-icon {
  background-color: color-mix(in srgb, var(--accent) 12%, white);
}
/* Prevent service cards from overflowing on small screens */

.services-preview,
.services-grid-full {
  min-width: 0;
}

.service-card {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

.service-card-header {
  min-width: 0;
}

.service-card-header h2 {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}
/* Footer contact buttons: two per row, both columns as wide as the widest button */

.footer-contact-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: max-content;
  max-width: 100%;
}

.footer-contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-width: max-content;
  box-sizing: border-box;

  padding: 10px 14px;
  background-color: var(--surface);
  color: var(--text);
  border-radius: 999px;
  font-weight: bold;
  font-size: 0.95rem;
  white-space: nowrap;

  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-links a:hover {
  background-color: var(--accent);
  color: #111111;
}

.footer-contact-links .button-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  transform: scale(1.9);
  transform-origin: center;
}
.whatsapp-icon {
  color: #25d366;
  fill: #25d366;
}

.facebook-icon {
  color: #1877f2;
  fill: #1877f2;
}
.google-icon {
  color: #fbbc04;
  fill: #fbbc04;
}

.contact-method-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.call-icon {
  color: #9b0747;
  fill: #9b0747;
}

@media (max-width: 620px) {
  .footer-contact-links {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .footer-contact-links a {
    width: 100%;
    min-width: 0;
  }
}
