 /*
Theme Name: Matiz Aplicaciones
Theme URI: https://matizaplicaciones.com/
Author: La Barba del SEO
Author URI: https://labarbadelseo.com/
Description: Tema para Matiz Aplicaciones. Basado en LaBarbav3.
Version: 1.0.0
Text Domain: matiz
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400&display=swap');

/* =============================================
   VARIABLES — colores exactos del diseño
   ============================================= */
:root {
  --background:    #f7f7f6;
  --foreground:    #191919;
  --card:          #ffffff;
  --primary:       #4d2c2c;   /* burdeos oscuro */
  --primary-fg:    #f9f9f9;
  --secondary:     #f46c23;   /* naranja cálido */
  --secondary-fg:  #f9f9f9;
  --muted:         #e6e6e4;
  --muted-fg:      #686863;
  --accent:        #f3f3f1;
  --border:        #e1e1de;
  --font:          'Montserrat', sans-serif;
  --radius:        0.125rem;  /* rounded-sm = casi cuadrado */
}

/* =============================================
   BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--background);
  color: var(--foreground);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 !important;
}

body.customize-support .matiz-navbar { margin-top: 32px; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; transition: color .2s; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1.25rem; line-height: 1.7; }
section { scroll-margin-top: 80px; }

/* =============================================
   LAYOUT
   ============================================= */
.centro {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
.max-7xl { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

/* =============================================
   NAVBAR — transpararente → burdeos al scroll
   ============================================= */
.matiz-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background .3s, box-shadow .3s;
}
.matiz-navbar.scrolled, .matiz-navbar.no-hero {
  background: rgba(77,44,44,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.matiz-navbar .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Logo texto */
.nav-logo { display: flex; align-items: baseline; gap: 6px; }
.nav-logo .nombre {
  font-size: 1.4rem; font-weight: 900;
  color: #fff; letter-spacing: -.02em;
}
.nav-logo .sub {
  font-size: .7rem; font-weight: 500;
  color: rgba(255,255,255,.75);
  text-transform: uppercase; letter-spacing: .1em;
}
/* Links desktop */
.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-links a {
  font-size: .8rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em;
  color: rgba(255,255,255,.8);
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.activo { color: #fff; }

/* Botón hamburguesa */
.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 6px; flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: #fff; transition: all .3s;
}

/* Menú móvil */
@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute;
    top: 80px; left: 0; right: 0;
    background: rgba(77,44,44,.98);
    flex-direction: column; gap: 0;
    padding: .5rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: .9rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-toggle { display: flex; }
}

/* =============================================
   HERO
   ============================================= */
.matiz-hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.3); }
.hero-inner {
  position: relative; z-index: 10;
  max-width: 1280px; margin: 0 auto;
  padding: 0 2rem; text-align: center;
}
.hero-inner h1 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 900; color: #fff;
  letter-spacing: -.03em; line-height: 1.05;
  margin: 0 0 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-inner h1 .text-secondary { color: var(--secondary); }
.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.2rem);
  font-weight: 300; color: rgba(255,255,255,.93);
  max-width: 820px; margin: 0 auto 2.5rem;
  line-height: 1.65;
  text-shadow: 0 1px 10px rgba(0,0,0,.2);
}
.hero-btns {
  display: flex; gap: 1rem;
  justify-content: center; flex-wrap: wrap;
}
/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%); z-index: 10;
}
.scroll-ring {
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 12px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-dot {
  width: 5px; height: 5px; background: #fff;
  border-radius: 50%; animation: sdot 1.8s infinite;
}
@keyframes sdot {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* =============================================
   BOTONES
   ============================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: .9rem; font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer; border: none;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, background .2s;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--primary); color: var(--primary-fg);
}
.btn-primary:hover {
  background: #3a2020;
  box-shadow: 0 8px 24px rgba(77,44,44,.4);
  color: var(--primary-fg);
}
.btn-secondary {
  background: var(--secondary); color: var(--secondary-fg);
}
.btn-secondary:hover {
  background: #d45a18;
  box-shadow: 0 8px 24px rgba(244,108,35,.4);
  color: var(--secondary-fg);
}
.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,.7);
  color: #fff;
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); color: #fff; }

/* =============================================
   SECTION HEADER
   ============================================= */
.sec-head { text-align: center; margin-bottom: 4rem; }
.sec-head h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900; letter-spacing: -.03em;
  color: var(--foreground); line-height: 1.1;
  margin: 0 0 1rem;
}
.sec-head h2 .text-primary  { color: var(--primary); }
.sec-head h2 .text-secondary { color: var(--secondary); }
.sec-head p {
  font-size: 1.05rem; color: var(--muted-fg);
  max-width: 680px; margin: 0 auto;
}

/* =============================================
   ABOUT
   ============================================= */
.sec-about { padding: 6rem 0; background: var(--background); }

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem; margin-top: .5rem;
}
.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow .3s, transform .3s;
}
.about-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
  transform: translateY(-4px);
}
.about-icon {
  width: 52px; height: 52px;
  background: rgba(77,44,44,.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}
.about-card h4 {
  font-size: 1.1rem; font-weight: 700;
  color: var(--foreground); margin: 0 0 .75rem;
}
.about-card p { font-size: .95rem; color: var(--muted-fg); margin: 0; }

.about-quote {
  font-size: 1.4rem; font-weight: 300;
  font-style: italic; color: var(--foreground);
  text-align: center; max-width: 760px;
  margin: 4rem auto 0; line-height: 1.5;
}
.about-sub {
  font-size: 1.5rem; font-weight: 700;
  text-align: center; margin: 3rem 0 2rem;
  color: var(--foreground);
}

/* =============================================
   SERVICIOS
   ============================================= */
.sec-services { padding: 6rem 0; background: #fff; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.5rem;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow .3s, transform .3s;
}
.service-card:nth-child(1) { background: var(--accent); }
.service-card:nth-child(2) { background: var(--muted); }
.service-card:nth-child(3) { background: rgba(77,44,44,.04); }
.service-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,.1);
  transform: translateY(-4px);
}
.service-icon {
  width: 60px; height: 60px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; color: #fff;
}
.service-card h3 {
  font-size: 1.4rem; font-weight: 700;
  color: var(--foreground); margin: 0 0 .25rem;
}
.service-subtitle {
  font-size: .75rem; font-weight: 500;
  color: var(--secondary); text-transform: uppercase;
  letter-spacing: .08em; margin: 0 0 1rem;
}
.service-card > p { font-size: .95rem; color: var(--muted-fg); }
.service-list { margin: 0 0 1.5rem; }
.service-list li {
  font-size: .9rem; color: var(--foreground);
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 6px;
}
.service-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%; margin-top: 6px;
}
.service-link {
  font-size: .9rem; font-weight: 500;
  color: var(--primary);
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap .2s;
}
.service-link:hover { gap: 8px; color: var(--primary); }

/* =============================================
   GALERÍA / PROYECTOS
   ============================================= */
.sec-gallery { padding: 6rem 0; background: var(--accent); }

.gallery-filters {
  display: flex; flex-wrap: wrap;
  gap: .75rem; justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 8px 22px;
  font-family: var(--font); font-size: .85rem; font-weight: 500;
  border-radius: var(--radius); cursor: pointer;
  border: 1px solid var(--border);
  background: #fff; color: var(--foreground);
  transition: all .2s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}
.project-card {
  background: #fff; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  transition: box-shadow .3s, transform .3s;
}
.project-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,.1);
  transform: translateY(-4px);
}
.project-img { height: 250px; overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-card:hover .project-img img { transform: scale(1.05); }
.project-info { padding: 1.25rem 1.5rem; }
.project-info h3 { font-size: 1rem; font-weight: 700; margin: 0 0 .4rem; }
.project-info p  { font-size: .85rem; color: var(--muted-fg); margin: 0; }

/* =============================================
   CONTACTO
   ============================================= */
.sec-contact { padding: 6rem 0; background: var(--background); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.contact-info h3 {
  font-size: 1.6rem; font-weight: 700; margin: 0 0 1rem;
}
.contact-info > p { color: var(--muted-fg); margin-bottom: 2rem; }

.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-item-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: rgba(77,44,44,.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.contact-item h4 { font-size: .95rem; font-weight: 700; margin: 0 0 3px; }
.contact-item p  { color: var(--muted-fg); font-size: .9rem; margin: 0; }
.contact-item a  { color: var(--muted-fg); }
.contact-item a:hover { color: var(--primary); }

.horario-box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem; margin-top: 2rem;
}
.horario-box h4 { font-weight: 700; margin: 0 0 .4rem; }
.horario-box p  { font-size: .85rem; color: var(--muted-fg); margin: 0; }

/* Formulario */
.contact-form-wrap {
  background: var(--card); padding: 2rem;
  border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.form-field { margin-bottom: 1.25rem; }
.form-field label {
  display: block; font-size: .85rem; font-weight: 500;
  margin-bottom: .4rem;
}
.form-field input,
.form-field textarea,
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel],
.wpcf7-form textarea {
  width: 100%; box-sizing: border-box;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font); font-size: .95rem;
  color: var(--foreground); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus,
.form-field textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(244,108,35,.12);
}
.form-field textarea, .wpcf7-form textarea { resize: vertical; min-height: 120px; }
.wpcf7-form input[type=submit] {
  width: 100%;
  background: var(--secondary); color: #fff;
  border: none; border-radius: var(--radius);
  font-family: var(--font); font-size: .95rem; font-weight: 500;
  padding: 13px 28px; cursor: pointer;
  transition: background .2s, box-shadow .2s;
}
.wpcf7-form input[type=submit]:hover {
  background: #d45a18;
  box-shadow: 0 8px 24px rgba(244,108,35,.35);
}

/* =============================================
   FOOTER
   ============================================= */
.matiz-footer { background: var(--primary); color: #fff; padding: 5rem 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
}
.footer-brand .brand-name {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: .75rem;
}
.footer-brand .nombre { font-size: 1.6rem; font-weight: 900; }
.footer-brand .sub {
  font-size: .7rem; font-weight: 500;
  text-transform: uppercase; color: rgba(255,255,255,.65);
  letter-spacing: .1em;
}
.footer-brand p { color: rgba(255,255,255,.72); font-size: .9rem; }

.footer-col h3 {
  font-size: .9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  margin: 0 0 1.25rem;
}
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { color: rgba(255,255,255,.72); font-size: .9rem; }
.footer-col ul li a:hover { color: #fff; }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: .9rem;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; opacity: .7; }
.footer-contact-item span { color: rgba(255,255,255,.72); font-size: .9rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 1.25rem 0; text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,.55); font-size: .8rem; margin: 0; }

/* =============================================
   MENÚ MÓVIL INFERIOR
   ============================================= */
.foomov {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 999; background: var(--primary);
  display: flex; padding: 10px 0;
  box-shadow: 0 -2px 16px rgba(0,0,0,.15);
}
.foomov a {
  flex: 1; height: 40px;
  background-size: 22px 22px;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(10); opacity: .8;
  transition: opacity .2s;
}
.foomov a:hover { opacity: 1; }
@media (min-width: 769px) { .foomov { display: none; } }
@media (max-width: 768px) { body { padding-bottom: 62px; } }

/* =============================================
   PÁGINAS INTERNAS
   ============================================= */
.page-hero {
  min-height: 320px;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
}
.page-hero .inner {
  padding: 3rem 2rem; max-width: 1280px; margin: 0 auto; width: 100%;
}
.page-hero h1 {
  color: #fff; font-size: 2.5rem; font-weight: 900;
  text-shadow: 0 2px 20px rgba(0,0,0,.4); margin: 0;
}
.page-body { padding: 4rem 0; }

/* =============================================
   EMPRESA / ABOUT page
   ============================================= */
.empresa-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center; margin-bottom: 4rem;
}
.empresa-intro img { border-radius: var(--radius); }
.empresa-intro h2 { font-size: 2rem; font-weight: 900; margin: 0 0 1rem; }
.empresa-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-bottom: 4rem;
}
.stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; text-align: center;
}
.stat-card .num {
  font-size: 3rem; font-weight: 900;
  color: var(--primary); line-height: 1;
}
.stat-card .label { font-size: .85rem; color: var(--muted-fg); margin-top: .5rem; }

/* =============================================
   SERVICIOS page
   ============================================= */
.servicio-detalle {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
  padding: 4rem 0; border-bottom: 1px solid var(--border);
}
.servicio-detalle:last-child { border-bottom: none; }
.servicio-detalle.reverse .img-col { order: 2; }
.servicio-detalle.reverse .txt-col { order: 1; }
.servicio-detalle img { border-radius: var(--radius); }
.servicio-detalle h2 { font-size: 1.8rem; font-weight: 900; margin: 0 0 .5rem; }
.servicio-detalle .sub { font-size: .8rem; font-weight: 500; color: var(--secondary); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .empresa-intro, .servicio-detalle { grid-template-columns: 1fr; }
  .servicio-detalle.reverse .img-col,
  .servicio-detalle.reverse .txt-col { order: unset; }
}
@media (max-width: 768px) {
  .empresa-stats { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .services-grid, .about-grid, .gallery-grid { grid-template-columns: 1fr; }
}

/* WP admin bar */
#wpadminbar #wp-admin-bar-wp-logo>.ab-item .ab-icon:before {
  content: ''; width: 19px; height: 24px; top: 0; display: block;
}

.logosrecup img {
	filter: invert(1) !important;
	padding: 15px 0;
}

/******
BLOG
*******/
 .homep .header{ position: relative; overflow: hidden;}
 .homep .header:before{ display: block; content: ""; padding-top: calc(100% * 184 / 1440);}
 .homep .header img{ top: 50%; left: 50%; transform: translate(-50%, -50%); position: absolute; width: 100%; height: 100%; object-fit: cover; z-index: -1;}
 .homep .header:after{background: rgba(0,0,0,.3); position: absolute; top: 0; left: 0; width: 100%; height: 100%; content: "";}
 .homep .header h1{position: absolute; width: 1280px; padding-left: 2rem; padding-right: 2rem; left: 50%; bottom: 25px; transform: translateX(-50%); color: #FFF; margin-bottom: 0; z-index: 5;}

 .homep .centro {padding-top: 40px; padding-bottom: 40px;}

 .homep .pagination {width: 100%; display: flex; justify-content: center; margin-top: 40px;}
 .homep .pagination .nav-links{display: flex; justify-content: center; gap: 10px;}
 .homep .pagination .nav-links :is(span,a){font-size: 18px; color: var(--foreground); text-decoration: none; line-height: 1; padding-top: 3px; padding-bottom: 3px;}
 .homep .pagination .nav-links .current{padding-left: 5px; padding-right: 5px; background: var(--foreground); color: #FFF;}

 .contenedor-single .centro{padding-top: 140px; padding-bottom: 60px; display: flex; gap: 80px; align-items: flex-start;}
 .contenedor-single .centro .left{flex:1 0 0;}
 .contenedor-single .centro .left h1{font-size: 50px; line-height: 1; letter-spacing: 0; margin: 0;}
 .contenedor-single .centro .left .read-time{font-size: 25px; line-height: 1; letter-spacing: 0; margin: 0;}
 .contenedor-single .centro .left h1 + .read-time{margin-top: 10px;}
 .contenedor-single .centro .left :is(h1,.read-time) + .info-post{margin-top: 45px;}
 .contenedor-single .centro .left .info-post{display: flex; flex-wrap: wrap; gap: 25px; margin-bottom: 70px; align-items: center;}
 .contenedor-single .centro .left .info-post .author-foto{width: 80px; height: 80px; overflow: hidden; padding: 1px; position: relative; box-shadow: 0 0 1px rgba(0,0,0,.1);}
 .contenedor-single .centro .left .info-post .author-foto img{width: 100%; height: 100%; object-fit: cover; max-width: unset; }
 .contenedor-single .centro .left .info-post .post-info {display: flex; gap: 10px; align-items: center; flex: 1 0 0;}
 .contenedor-single .centro .left .info-post .post-info p{margin: 0;font-weight: 300; font-size: 15px; line-height: 1; letter-spacing: 0;}
 .contenedor-single .centro .left .info-post .post-info .date:before{display: inline-block; content: '·'; margin-right: 10px;}
 .contenedor-single .centro .left .info-post .post-info a{text-decoration: none; font-weight: 300; color: var(--foreground);}
 .contenedor-single .centro .left .info-post .post-info a:hover{text-decoration: underline;}
 .contenedor-single .centro .left .content * + :is(h1,h2,h3,h4,h5,h6){margin-top: 35px;}
 .contenedor-single .centro .left .content :is(h3,h4,h5,h6){font-family: "Hanken Grotesk", sans-serif; font-weight: 600; font-size: 22px; line-height: 1; letter-spacing: 0;}
 .contenedor-single .centro .left .content img{margin-top: 35px; margin-bottom:35px;}
 .contenedor-single .centro .right{flex: 0 0 auto; width: 345px; position: sticky; top: 100px;}
 .logged-in .contenedor-single .centro .right{ top: 125px;}
 .contenedor-single .centro .right .call-to-action{padding: 40px 25px; background: var(--primary); box-shadow: 0 10px 57px 1px #C7C4B91A; backdrop-filter: blur(20px); color: #FFFFFF; text-align: center;}
 .contenedor-single .centro .right .call-to-action h2{font-weight: 700; font-size: 16px; line-height: 1; text-transform: uppercase; color: #FFFFFF; margin: 0;}
 .contenedor-single .centro .right .call-to-action p{font-size: 25px; line-height: 1; margin: 0;}
 .contenedor-single .centro .right .call-to-action h2 + p{margin-top: 25px;}
 .contenedor-single .centro .right .call-to-action a.btn{margin-top: 20px;}

 .homep.author .centro .author-call {padding-top: 140px; padding-bottom: 0; align-items: stretch; margin-bottom: 100px;}
 .homep.author .centro .author-call {display: flex; align-items: center; gap: 60px;}
 .homep.author .centro .author-call .author-foto{flex: 0 0 auto; width: 395px; position: relative;}
 .homep.author .centro .author-call .author-foto:before{display: block; content: ""; padding-top: calc(100% * 393 / 400);}
 .homep.author .centro .author-call .author-foto img{position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;}
 .homep.author .centro .author-call .author-info h2{font-weight: 400; font-size: 15px; line-height: 1; letter-spacing: -2%; color: var(--foreground); margin-bottom: 15px; margin-top: 0;}
 .homep.author .centro .author-call .author-info h1{font-size: 50px; line-height: 1; letter-spacing: 0; margin-bottom: 15px; margin-top: 0;}

 @media (max-width: 1400px) {
   .homep .header h1 {width: 94%;}
 }

 @media(min-width: 941px) {
   .contenedor-single .centro .left .content img{max-width: calc(100% * 616 / 791);}
 }

 @media(max-width: 940px) {
   .homep .centro > section > article {width: 100%;}

   .contenedor-single .centro, .homep.author .centro {flex-wrap: wrap; gap: 30px;}
   .contenedor-single .centro .left, .contenedor-single .centro .right{flex:0 0 100%; width: 100%;}
   .contenedor-single .centro .right{position: relative; top: unset !important;}

 }