/* CSS RESET & BASICS ---------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #131313;
  min-height: 100vh;
}
a {
  color: #131313;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #284D63;
  outline-offset: 2px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 20px;
}
input, button, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
button {
  cursor: pointer;
}

/* MONOCHROME SOPHISTICATED THEME ------------------------------------------*/
:root {
  --color-bg: #fff;
  --color-surface: #F7F7F9;
  --color-on-surface: #232323;
  --color-primary: #232323;
  --color-primary-dark: #131313;
  --color-secondary: #666666;
  --color-accent: #ededed;
  --color-accent-strong: #b3b3b3;
  --color-shadow: rgba(30,30,30,0.07);
  --color-border: #e1e2e6;
  --color-link: #232323;
  --color-link-hover: #284D63;

  --font-display: 'Montserrat', 'Open Sans', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --font-weight-bold: 700;
  --font-weight-semibold: 600;
  --font-weight-medium: 500;
  --font-weight-normal: 400;

  --radius-lg: 18px;
  --radius-md: 10px;
  --radius-sm: 4px;
  --shadow-main: 0 4px 20px rgba(30,30,30,0.10);
  --shadow-soft: 0 2px 6px rgba(50,50,50,0.07);

  --transition-main: 0.25s cubic-bezier(.5,1.5,.5,1);
  --transition-short: 0.14s;
}

/* LAYOUT CONTAINERS -------------------------------------------------------*/
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0 auto;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background-color: var(--color-surface);
  box-shadow: var(--shadow-main);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  max-width: 100%;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
  min-width: 250px;
  transition: box-shadow var(--transition-short), transform var(--transition-short);
}
.testimonial-card:hover {
  box-shadow: 0 1px 12px rgba(34,34,34,0.13);
  transform: translateY(-3px) scale(1.012);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TYPOGRAPHY: MONOCHROME ELEGANT ------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary-dark);
  letter-spacing: -0.01em;
  font-weight: var(--font-weight-bold);
}
h1 {
  font-size: 2.375rem;
  line-height: 1.13;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px #ededed;
}
h2 {
  font-size: 1.75rem;
  line-height: 1.21;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.33;
  font-weight: var(--font-weight-semibold);
}
h4 {
  font-size: 1.15rem;
  font-weight: var(--font-weight-medium);
}

p, li, blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: var(--font-weight-normal);
  color: var(--color-on-surface);
}
li {
  margin-bottom: 10px;
}
blockquote {
  font-style: italic;
  border-left: 4px solid #232323;
  background: #F7F7F9;
  padding: 12px 18px;
  margin: 18px 0 12px;
  color: #131313;
}
strong {
  font-weight: var(--font-weight-semibold);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 2px;
  color: #232323;
}


/* HERO SECTION ------------------------------------------------------------*/
.hero {
  background: #131313;
  color: #fff;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 8px 30px rgba(30,30,30,0.15);
  padding: 60px 0 44px;
  margin-bottom: 56px;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 6px 32px rgba(0,0,0,0.12);
}
.hero p {
  color: #dadada;
}
.hero .cta-btn {
  margin-top: 32px;
}


/* BUTTONS & CTA -----------------------------------------------------------*/
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 34px;
  border-radius: var(--radius-md);
  background: #131313;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.11rem;
  font-weight: var(--font-weight-semibold);
  box-shadow: 0 2px 12px rgba(50,50,50,0.10);
  border: 1px solid #232323;
  letter-spacing: 0.01em;
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main), border var(--transition-main);
}
.cta-btn:hover, .cta-btn:focus {
  background: #fff;
  color: #131313;
  border: 1px solid #232323;
  box-shadow: 0 6px 28px rgba(51,51,51,0.22);
  text-decoration: none;
}
button.cta-btn {
  outline: none;
  border: none;
}

/* NAVIGATION --------------------------------------------------------------*/
header {
  background: #fff;
  box-shadow: 0 1px 9px var(--color-shadow);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  position: relative;
}
.main-nav {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a,
.footer-nav a,
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: var(--font-weight-medium);
  font-size: 1.02rem;
  text-transform: none;
  letter-spacing: 0.01em;
  color: #232323;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-short), color var(--transition-short);
}
.main-nav a:hover, .main-nav a.active {
  background: #232323;
  color: #fff;
}
.main-nav .cta-btn {
  margin-left: 12px;
  padding: 10px 20px;
  color: #fff
}

/* HAMBURGER ICON */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #232323;
  font-size: 2.1rem;
  margin-left: 18px;
  line-height: 1;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ededed;
}

/* MOBILE MENU OVERLAY -----------------------------------------------------*/
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0,0,0,0.82);
  z-index: 1020;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(.5,1.5,.5,1), opacity 0.18s;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 24px 24px 12px 0;
  cursor: pointer;
  z-index: 1040;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFB97A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fff;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 36px 30px 30px 30px;
  min-width: 75vw;
  box-shadow: 0 10px 36px rgba(20,20,20,.14);
  margin: 0 0 0 0;
  align-items: flex-start;
}
.mobile-nav a {
  color: #232323;
  font-size: 1.125rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 10px 0;
  border-radius: 0;
  border-bottom: 1px solid #eee;
  transition: color var(--transition-short);
  width: 100%;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: #284D63;
}

/* SERVICE LIST ------------------------------------------------------------*/
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 24px;
  margin: 18px 0 4px;
  list-style: none;
  align-items: flex-start;
}
.service-list > div, .service-list > li {
  flex: 1 1 210px;
  min-width: 200px;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 18px 20px 14px 20px;
  color: var(--color-primary-dark);
  margin-bottom: 20px;
  font-size: 1rem;
  border: 1px solid #e9e9e9;
}
.service-list h3 {
  font-family: var(--font-display);
  font-size: 1.17rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 6px;
  color: #232323;
}

/* CARDS -------------------------------------------------------------------*/
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* FOOTER ------------------------------------------------------------------*/
footer {
  background: #232323;
  color: #ededed;
  padding: 40px 0 22px 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -6px 30px rgba(30,30,30,0.07);
  margin-top: 80px;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.footer-brand img {
  width: 78px;
  margin-bottom: 14px;
  margin-right: 5px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #ededed;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  transition: color 0.15s;
}
.footer-nav a:hover {
  color: #FFB97A;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.97rem;
  color: #ededed;
}
.footer-contact img {
  width: 18px;
  margin-right: 8px;
  vertical-align: middle;
  filter: grayscale(1) brightness(1.2);
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-bottom: 10px;
  align-items: center;
}
.footer-social a img {
  width: 28px;
  filter: grayscale(1) contrast(1.2);
  transition: filter 0.18s;
}
.footer-social a:hover img {
  filter: grayscale(0) brightness(1.13) drop-shadow(0 1px 4px #fff2);
}
.copyright {
  color: #b3b3b3;
  font-size: 0.93rem;
  letter-spacing: 0.02em;
  margin-top: 14px;
}


/* LISTS, LINKS ------------------------------------------------------------*/
ul {
  list-style: disc inside;
}
ol {
  list-style: decimal inside;
}
a {
  color: var(--color-link);
  transition: color var(--transition-short);
}
a:hover {
  color: var(--color-link-hover);
}

/* ICONS -------------------------------------------------------------------*/
img[alt^='Teléfono'],
img[alt^='Correo'],
img[alt^='Dirección'],
img[alt^='Horario'],
img[alt^='Mail'],
img[alt^='Phone'],
img[alt^='Map'],
img[alt^='Clock'] {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 12px;
}

/* TESTIMONIALS ------------------------------------------------------------*/
.testimonial-card p {
  color: #181818;
  font-size: 1.09rem;
  line-height: 1.54;
  margin-bottom: 4px;
}
.testimonial-card div img {
  vertical-align: middle;
  margin-right: 6px;
  width: 19px;
}
.testimonial-card div {
  color: #333;
  font-size: 1rem;
}

/* BLOCKS & SECTIONS -------------------------------------------------------*/
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0;
  display: flex;
  align-items: stretch;
}
section:last-child {
  margin-bottom: 0;
}

/* COOKIE CONSENT BANNER ---------------------------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #232323;
  color: #ededed;
  z-index: 1100;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 26px 20px 22px 20px;
  box-shadow: 0 -2px 16px rgba(28,28,28,.16);
  font-size: 1rem;
  animation: cookie-slide-up 0.48s cubic-bezier(.5,1.5,.5,1);
}
@keyframes cookie-slide-up {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.cookie-banner button {
  margin-left: 12px;
  background: #fff;
  color: #232323;
  border-radius: var(--radius-md);
  border: 1px solid #b3b3b3;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 8px 20px;
  margin-right: 4px;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(40,40,40,0.08);
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #284D63;
  color: #fff;
  border-color: #232323;
}
.cookie-banner .cookie-settings {
  background: #ededed;
  color: #232323;
  border: 1px solid #b3b3b3;
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  background: #232323;
  color: #ededed;
  border-color: #232323;
}

/* COOKIE MODAL POPUP ------------------------------------------------------*/
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 95vw;
  max-width: 420px;
  background: #fff;
  color: #232323;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(40,40,40,0.24);
  padding: 36px 30px 24px 30px;
  z-index: 1200;
  transform: translate(-50%, -50%) scale(0.98);
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1.03);
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #232323;
  z-index: 1250;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover{
  color: #284D63;
}
.cookie-modal h2 {
  font-size: 1.32rem;
  color: #131313;
  margin-bottom: 10px;
}
.cookie-modal ul {
  list-style: none;
  padding-left: 0;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 12px 0;
  font-size: 1.06rem;
  border-bottom: 1px solid #ededed;
}
.cookie-modal li:last-child {
  border-bottom: none;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 41px;
  height: 22px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #b3b3b3;
  border-radius: 11px;
  transition: background-color 0.18s;
}
.cookie-switch input:checked + .cookie-slider {
  background-color: #232323;
}
.cookie-slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(32,32,32,0.12);
  transition: transform 0.18s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(19px);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  padding: 10px 22px;
  background: #232323;
  color: #fff;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  border: 1px solid #232323;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 0;
}
.cookie-modal-actions button.cookie-cancel {
  background: #ededed;
  color: #232323;
  border: 1px solid #b3b3b3;
}
.cookie-modal-actions button.cookie-cancel:hover,
.cookie-modal-actions button.cookie-cancel:focus {
  background: #FFF;
  color: #232323;
}
.cookie-modal-actions button:hover {
  background: #FFF;
  color: #232323;
}

/*--- MEDIA QUERIES (RESPONSIVE) -------------------------------------------*/
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
  }
  .main-nav {
    gap: 12px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 8px 16px;
  }
}
@media (max-width: 900px) {
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
@media (max-width: 768px) {
  section {
    margin-bottom: 44px;
    padding: 30px 0;
  }
  .section {
    margin-bottom: 44px;
    padding: 30px 12px;
  }
  .footer-nav {
    gap: 6px 10px;
    font-size: 0.98rem;
  }
  .footer-social a img {
    width: 23px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.98rem;
    padding: 18px 10px 14px 10px;
  }
  .cookie-modal {
    padding: 22px 10px 16px 10px;
    max-width: 99vw;
  }
}
@media (max-width: 620px) {
  h1 {
    font-size: 1.35rem;
  }
  h2 {
    font-size: 1.08rem;
  }
  .footer-nav {
    flex-direction: column;
    gap: 6px 0px;
  }
  .footer-contact img {
    width: 15px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 8px;
    min-height: 64px;
    padding-top: 6px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 18px;
  }
  .service-list {
    flex-direction: column;
    gap: 16px;
  }
  .card-container,
  .content-grid,
  .footer-social {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card {
    margin-bottom: 18px;
    padding: 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .footer-nav {
    padding-bottom: 12px;
  }
  .footer-brand img {
    margin-bottom: 8px;
  }
}

/*--- MICRO ANIMATIONS -----------------------------------------------------*/
.cta-btn, .cookie-banner button, .cookie-modal-actions button {
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main), border var(--transition-main), transform 0.14s;
}
.cta-btn:active,
.cookie-banner button:active,
.cookie-modal-actions button:active {
  transform: scale(.97);
  box-shadow: 0 1px 9px rgba(0,0,0,0.09);
}

.card, .testimonial-card, .service-list > div, .service-list > li {
  transition: box-shadow 0.20s, transform 0.14s;
}
.card:hover, .service-list > div:hover, .service-list > li:hover {
  box-shadow: 0 3px 18px rgba(40,40,40,0.11);
  transform: translateY(-3px) scale(1.013);
}

/*--- UTILITIES ------------------------------------------------------------*/
.mt-1  { margin-top: 8px !important; }
.mt-2  { margin-top: 16px !important; }
.mt-3  { margin-top: 32px !important; }
.mb-1  { margin-bottom: 8px !important; }
.mb-2  { margin-bottom: 16px !important; }
.mb-3  { margin-bottom: 32px !important; }
.text-center { text-align: center !important; }
.d-flex { display: flex !important; }
.align-center { align-items: center !important; }
.justify-center { justify-content: center !important; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 32px; }

/*--- END ---*/
