/* ---- Base styles ---- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #6b7280;
  --muted2: hsl(223, 3%, 48%);
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --primary: #2563eb; /* blue-600 */
  --primary-contrast: #ffffff;
  --primary-hover: #1d4ed8;
  --ring: rgba(37, 99, 235, .35);
  --shadow: 0 10px 20px rgba(2, 6, 23, .08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --text: #e5e7eb;
    --muted: #94a3b8;
    --surface: #0f172a;
    --surface-alt: #0b1220;
    --shadow: 0 10px 20px rgba(0,0,0,.35);
  }
}
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.center-text { 
  text-align: center; 
  background-color: rgba(255, 255, 255, 0.3); /* Semi-transparent white */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0.5rem; /* Rounded corners */
}
.skip-link {
  position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { position: static; width: auto; height: auto; padding: .5rem 1rem; background: var(--surface); }

/* ---- Layout helpers ---- */
.container { 
  max-width: 1120px; 
  margin-inline: auto; 
  padding: 0 1rem; 
}


.row { display: flex; gap: .75rem; }
.row.gap { gap: 1rem; }
.row.gap-sm { gap: .5rem; }
.row.between { justify-content: space-between; }
.row.center { align-items: center; }
.col { flex: 1; }

.section { padding: 4rem 0; }
.section-alt { background: var(--surface-alt); }

/* ---- Topbar ---- */
.topbar {
  backdrop-filter: saturate(180%) blur(8px);
  background: color-mix(in oklab, var(--surface) 80%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--text) 10%, transparent);
  position:relative; z-index: 10;
  padding: 1rem;
}
.brand { font-weight: 600; letter-spacing: .2px; }
.nav { display: none; gap: .25rem;}
.nav-toggle { background: none; border: none; font-size: 1.25rem; padding: .25rem .5rem; }
.mobile-nav { display: grid; gap: .5rem; padding: .5rem 1rem 1rem; border-top: 1px solid rgba(0,0,0,.08); }
.mobile-nav a { padding: .5rem .75rem; border-radius: .75rem; }
@media (min-width: 768px) {
  .nav { display: flex; }
  .nav-toggle, .mobile-nav { display: none; }
}

nav > a {
  border-right: solid 1.75px var(--muted);
  padding-right: .25rem;
}
nav > a:last-of-type {
  border-right: none;
}

#navbar {
	
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .6rem .95rem; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; font-weight: 600; line-height: 1.1;
  box-shadow: var(--shadow);
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: var(--primary-contrast); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { background: transparent; border-color: color-mix(in oklab, var(--text) 12%, transparent); }
.btn-lg { padding: .85rem 1.25rem; }
.floating-cta {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 20;
}

/* ---- Hero ---- */
.hero { 
  position: relative; padding: 10rem 0; 
  overflow: hidden; background-image: url("assets/pexels-esteban-carriazo-2153373740-33008790.jpg"); /* Replace with your image path */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  background-size: cover; /* Scales the image to cover the entire div */
  background-position: center; /* Centers the image within the div */
  

  width: 100%; /* Example width, adjust as needed */}
.hero-bg::before, .hero-bg::after {
  content: \"\"; position: absolute; inset: -20% -10% auto -10%; height: 560px;
  /*background: radial-gradient(ellipse at center, color-mix(in oklab, #3b82f6 30%, transparent) 0%, transparent 60%);*/
  
  filter: blur(2px); z-index: -1;
}
.hero-bg::after {
  inset: auto -20% -30% auto; height: 320px; width: 320px; border-radius: 50%;
  /*background: linear-gradient(135deg, #10b981 0%, #0ea5e9 100%); opacity: .2; filter: blur(40px);*/
  
}
.lead { max-width: 56ch; margin-inline: auto; color: var(--surface-alt); font-size: 1.1rem;}
.cta-group { padding: 1rem; display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }
.quick-contacts { margin-top: .75rem; display: flex; gap: 1.5rem; justify-content: center; color: var(--muted); }
.icon { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.icon-line { display: inline-flex; gap: .5rem; align-items: center; }

/* ---- Cards / grid ---- */
.grid { display: grid; gap: 1rem; }
.grid.cards { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid.two-col { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.two-col { grid-template-columns: 1fr 1fr; }
}
.card {
  background: var(--surface); border-radius: 1.25rem; box-shadow: var(--shadow);
  border: 1px solid color-mix(in oklab, var(--text) 6%, transparent);
  padding: 1rem;
}
.card-body { padding: 1.25rem; }
.card h3 { margin: 0 0 .35rem; }
.card p { margin: 0 0 .75rem; color: var(--muted); }
.card-icon { color: var(--primary); }
.divider { height: 1px; background: color-mix(in oklab, var(--text) 10%, transparent); margin: .5rem 0; }

/* ---- Form ---- */
.form { display: grid; gap: .75rem; }
label { font-size: .9rem; color: var(--text); }
input, select, textarea {
  width: 100%; padding: .6rem .7rem; border-radius: .75rem; border: 1px solid color-mix(in oklab, var(--text) 12%, transparent);
  background: var(--surface); color: var(--text);
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }
.muted { color: var(--muted); font-size: .9rem; }

/* ---- Footer ---- */
.footer { border-top: 1px solid color-mix(in oklab, var(--text) 10%, transparent); padding: 1.25rem 0; margin-top: 2rem; }

/* ---- Utilities ---- */
.center { align-items: center; }
.center-text { text-align: center; color: var(--surface) }

/* ----- BACK TO TOP BUTTON ------ */
#backToTopBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap other elements */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #555; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#backToTopBtn:hover {
  background-color: #777; /* Add a darker background on hover */
}

/* Optional: For smooth scrolling behavior */
html {
  scroll-behavior: smooth;
}