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

:root {
  --color-deep-sea: #1a3a52;
  --color-ocean: #2d6a8a;
  --color-coastal: #4a8fa8;
  --color-sand: #c9a962;
  --color-light-sand: #e8dcc4;
  --color-foam: #f5f0e6;
  --color-white: #ffffff;
  --color-dark: #0f1f2a;
  --color-text: #2c3e4a;
  --color-text-light: #5a6d7a;
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --shadow-sm: 0 2px 8px rgba(26, 58, 82, 0.1);
  --shadow-md: 0 4px 16px rgba(26, 58, 82, 0.15);
  --shadow-lg: 0 8px 32px rgba(26, 58, 82, 0.2);
  --transition: 0.3s ease;
}

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-foam);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--color-ocean);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-deep-sea);
}

a:focus {
  outline: 2px solid var(--color-sand);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-deep-sea);
  line-height: 1.3;
  font-weight: 600;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-deep-sea);
}

.logo svg {
  width: 40px;
  height: 40px;
}

.logo:hover {
  color: var(--color-ocean);
}

nav {
  display: none;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  font-weight: 500;
  color: var(--color-text);
  padding: 0.5rem 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-sand);
  transition: width var(--transition);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a:hover {
  color: var(--color-deep-sea);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-deep-sea);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--color-white);
  box-shadow: var(--shadow-lg);
  transition: right var(--transition);
  z-index: 1000;
  padding: 5rem 2rem 2rem;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li {
  margin-bottom: 0;
  border-bottom: 1px solid var(--color-light-sand);
}

.mobile-nav a {
  display: block;
  padding: 1rem 0;
  font-size: 1.1rem;
  color: var(--color-text);
}

.mobile-nav a:hover {
  color: var(--color-ocean);
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 31, 42, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.mobile-overlay.visible {
  opacity: 1;
  visibility: visible;
}

main {
  flex: 1;
}

.hero {
  background: linear-gradient(135deg, var(--color-deep-sea) 0%, var(--color-ocean) 100%);
  color: var(--color-white);
  padding: 3rem 1rem;
  text-align: center;
}

.hero h1 {
  color: var(--color-white);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-wave {
  width: 100%;
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
}

.btn-primary {
  background-color: var(--color-sand);
  color: var(--color-deep-sea);
}

.btn-primary:hover {
  background-color: var(--color-light-sand);
  color: var(--color-deep-sea);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-white);
  color: var(--color-deep-sea);
}

.btn:focus {
  outline: 3px solid var(--color-sand);
  outline-offset: 2px;
}

section {
  padding: 3rem 1rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title p {
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0.5rem auto 0;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-card {
  background-color: var(--color-white);
  padding: 2rem 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-item {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-sand);
}

.service-item h3 {
  margin-bottom: 0.5rem;
}

.service-item p {
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.service-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-ocean);
}

.testimonials {
  background-color: var(--color-light-sand);
}

.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-card {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--color-text);
  line-height: 1.7;
}

.testimonial-text::before {
  content: '\201E';
  font-size: 2rem;
  color: var(--color-sand);
  line-height: 0;
  margin-right: 0.25rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-deep-sea);
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.value-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info {
  background-color: var(--color-white);
  padding: 2rem 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-ocean);
}

.contact-detail h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-detail p {
  margin-bottom: 0;
  color: var(--color-text-light);
}

.thank-you-content {
  text-align: center;
  padding: 4rem 1rem;
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 2rem;
}

.thank-you-content h1 {
  margin-bottom: 1rem;
}

.thank-you-content p {
  color: var(--color-text-light);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.legal-content {
  background-color: var(--color-white);
  padding: 2rem 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  margin: 2rem auto;
  max-width: 900px;
}

.legal-content h1 {
  margin-bottom: 0.5rem;
}

.legal-content .last-updated {
  color: var(--color-text-light);
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  font-size: 1.15rem;
}

.legal-content ul {
  margin-bottom: 1rem;
}

footer {
  background-color: var(--color-deep-sea);
  color: var(--color-foam);
  padding: 3rem 1rem 1.5rem;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  color: var(--color-foam);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--color-coastal);
  font-size: 0.95rem;
}

.footer-links h4,
.footer-legal h4 {
  color: var(--color-sand);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links ul,
.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a,
.footer-legal a {
  color: var(--color-foam);
  opacity: 0.85;
  font-size: 0.95rem;
  display: inline-block;
  padding: 0.25rem 0;
}

.footer-links a:hover,
.footer-legal a:hover {
  opacity: 1;
  color: var(--color-sand);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 240, 230, 0.15);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: var(--color-coastal);
  margin-bottom: 0;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  box-shadow: 0 -4px 16px rgba(26, 58, 82, 0.15);
  padding: 1.25rem 1rem;
  z-index: 2000;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-text {
  font-size: 0.95rem;
}

.cookie-text a {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.9rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-weight: 500;
}

.cookie-btn-accept {
  background-color: var(--color-ocean);
  color: var(--color-white);
}

.cookie-btn-accept:hover {
  background-color: var(--color-deep-sea);
}

.cookie-btn-settings {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-text-light);
}

.cookie-btn-settings:hover {
  background-color: var(--color-light-sand);
}

.cookie-btn-decline {
  background-color: transparent;
  color: var(--color-text-light);
}

.cookie-btn-decline:hover {
  color: var(--color-text);
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 31, 42, 0.6);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cookie-modal.visible {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-content {
  background-color: var(--color-white);
  border-radius: 8px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.cookie-modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-light-sand);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-light);
  padding: 0.25rem;
  line-height: 1;
}

.cookie-modal-close:hover {
  color: var(--color-text);
}

.cookie-modal-body {
  padding: 1.5rem;
}

.cookie-option {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-light-sand);
}

.cookie-option:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.cookie-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-option h3 {
  font-size: 1rem;
  margin: 0;
}

.cookie-toggle {
  position: relative;
  width: 48px;
  height: 26px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-text-light);
  border-radius: 26px;
  transition: var(--transition);
}

.cookie-toggle-slider::before {
  position: absolute;
  content: '';
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: var(--color-white);
  border-radius: 50%;
  transition: var(--transition);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background-color: var(--color-ocean);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(22px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-toggle input:focus + .cookie-toggle-slider {
  box-shadow: 0 0 0 3px rgba(45, 106, 138, 0.3);
}

.cookie-option p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0;
}

.cookie-modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-light-sand);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background-color: var(--color-deep-sea);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  z-index: 10000;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
}

@media (min-width: 600px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    padding: 4rem 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .features {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-card {
    flex: 1 1 calc(50% - 0.75rem);
  }

  .services-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-item {
    flex: 1 1 calc(50% - 0.75rem);
  }

  .testimonials-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .testimonial-card {
    flex: 1 1 calc(50% - 0.75rem);
  }

  .footer-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer-brand {
    flex: 1 1 100%;
  }

  .footer-links,
  .footer-legal {
    flex: 1 1 calc(50% - 1rem);
  }

  .cookie-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-text {
    flex: 1;
  }

  .cookie-buttons {
    flex-wrap: nowrap;
  }
}

@media (min-width: 900px) {
  .container {
    padding: 0 2rem;
  }

  nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav,
  .mobile-overlay {
    display: none;
  }

  h1 {
    font-size: 3rem;
  }

  .hero {
    padding: 5rem 2rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  section {
    padding: 4rem 2rem;
  }

  .features {
    gap: 2rem;
  }

  .feature-card {
    flex: 1 1 calc(33.333% - 1.34rem);
  }

  .service-item {
    flex: 1 1 calc(33.333% - 1rem);
    padding: 2rem;
  }

  .testimonials-list {
    gap: 2rem;
  }

  .testimonial-card {
    flex: 1 1 calc(33.333% - 1.34rem);
    padding: 2rem;
  }

  .about-content {
    flex-direction: row;
    align-items: flex-start;
  }

  .about-text {
    flex: 1;
  }

  .about-values {
    flex: 0 0 300px;
    margin-top: 0;
  }

  .contact-content {
    flex-direction: row;
  }

  .contact-info {
    flex: 1;
  }

  .legal-content {
    padding: 3rem;
  }

  .footer-grid {
    flex-wrap: nowrap;
  }

  .footer-brand {
    flex: 1 1 auto;
  }

  .footer-links,
  .footer-legal {
    flex: 0 0 auto;
  }
}
