
:root {
  --color-primary: #1E3A8A;
  --color-secondary: #475569;
  --color-accent: #C8A55F;
  --color-background: #FFFFFF;
  --color-text: #0F172A;
  --color-light-gray: #F1F5F9;
  --color-error: #EF4444;
  --color-success: #10B981;
  --font-family: 'Nunito', sans-serif;
  --transition: all 0.3s ease;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border-radius: 0.375rem;
  --container-max-width: 1280px;
  --container-padding: 1.5rem;
  --header-height: 80px;
}


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

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

body {
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-background);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover, a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}

button, .btn {
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 600;
  transition: var(--transition);
}


.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}


h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--color-primary);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

.text-primary {
  color: var(--color-primary);
}

.text-accent {
  color: var(--color-accent);
}

.text-center {
  text-align: center;
}

.section-title {
  position: relative;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
}

.section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}


.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-lg {
  padding: 8rem 0;
}

.section-alt {
  background-color: var(--color-light-gray);
}

.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.grid {
  display: grid;
  gap: 2rem;
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 2.5rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 2.5rem;
}


.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--color-background);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  height: 60px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  height: 60px;
  transition: var(--transition);
}

.header.scrolled .logo {
  height: 40px;
}


.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-item {
  margin: 0 1rem;
}

.nav-link {
  font-weight: 600;
  padding: 0.5rem;
  position: relative;
}

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

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

.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.5rem;
}


.footer {
  background-color: var(--color-primary);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-contact p {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}


.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #15306d;
  color: white;
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--color-accent);
  color: white;
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: #b69452;
  color: white;
  text-decoration: none;
}

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

.btn-outline:hover, .btn-outline:focus {
  background-color: var(--color-primary);
  color: white;
  text-decoration: none;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}


.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-color: var(--color-light-gray);
  overflow: hidden;
  margin-top: var(--header-height);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  color: var(--color-secondary);
}

.hero-buttons .btn {
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
}


.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}


.service-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.service-icon {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.service-title {
  margin-bottom: 1rem;
}


.testimonial-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.testimonial-content {
  position: relative;
  padding: 1.5rem 0;
}

.testimonial-content::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--color-light-gray);
  position: absolute;
  top: -1rem;
  left: -1rem;
  font-family: serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.testimonial-author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.testimonial-author-name {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.testimonial-author-title {
  color: var(--color-secondary);
  font-size: 0.875rem;
}


.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(30, 58, 138, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
  padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}

.gallery-title {
  color: white;
  margin-bottom: 0.5rem;
  text-align: center;
}

.gallery-description {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-size: 0.9rem;
}


.cta-section {
  background-color: var(--color-primary);
  color: white;
  text-align: center;
  padding: 5rem 2rem;
}

.cta-title {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-description {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.2rem;
}


.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #cbd5e0;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.form-check-input {
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.form-message {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius);
}

.form-message-success {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
}

.form-message-error {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--color-error);
}


.calendar-section {
  padding: 5rem 0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.calendar-event {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  transition: var(--transition);
}

.calendar-event:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.calendar-date {
  display: inline-block;
  background-color: var(--color-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.calendar-title {
  margin-bottom: 0.75rem;
}

.calendar-description {
  margin-bottom: 1.5rem;
}


.contact-info {
  margin-bottom: 3rem;
}

.contact-info-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-right: 1rem;
  min-width: 2rem;
  text-align: center;
}

.contact-info-content h4 {
  margin-bottom: 0.25rem;
}

.contact-form-wrapper {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.google-map {
  height: 450px;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-top: 3rem;
}

.google-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


.iti {
  width: 100%;
}


.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background-color: var(--color-primary);
  color: white;
  z-index: 9999;
  display: none;
  box-shadow: var(--shadow-lg);
}

.cookie-consent.show {
  display: block;
}

.cookie-consent-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-consent-text {
  flex: 1;
  min-width: 280px;
}

.cookie-consent-text h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.cookie-consent-text p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

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

.btn-cookie {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: var(--border-radius);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-accept-all {
  background-color: var(--color-accent);
  color: white;
}

.btn-accept-all:hover {
  background-color: #b69452;
}

.btn-reject-all {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.btn-reject-all:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-settings {
  background-color: white;
  color: var(--color-primary);
}

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


.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.cookie-settings-content {
  background-color: white;
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

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

.cookie-settings-header h3 {
  margin-bottom: 0;
}

.cookie-settings-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-secondary);
}

.cookie-settings-body {
  margin-bottom: 2rem;
}

.cookie-type {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-light-gray);
}

.cookie-type:last-child {
  border-bottom: none;
}

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

.cookie-type-header h4 {
  margin-bottom: 0;
}

.cookie-type-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

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

.cookie-type-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 34px;
  transition: var(--transition);
}

.cookie-type-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: var(--transition);
}

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

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

.cookie-type-description {
  font-size: 0.9rem;
  color: var(--color-secondary);
}

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


@media (max-width: 1200px) {
  :root {
    --container-padding: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-image {
    order: -1;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1.5rem;
  }
  
  .hero {
    height: auto;
    padding: 6rem 0;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-image {
    display: none;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-sm {
    padding: 2.5rem 0;
  }
  
  .section-lg {
    padding: 6rem 0;
  }
  
  .nav-list {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-background);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
  }
  
  .nav-list.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .header.scrolled .nav-list {
    top: 60px;
  }
  
  .nav-item {
    margin: 0.75rem 0;
  }
  
  .nav-mobile-btn {
    display: block;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .cookie-consent-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-consent-buttons {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero-title {
    font-size: 2.4rem;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-right: 0;
  }
}