@charset "UTF-8";
/*  
Theme Name: Dra. Bibiana Mejía
Author: Cliento
*/

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

@font-face {
  font-family: 'roundo-regular-webfont';
  src: url('assets/fonts/roundo-regular-webfont.woff2') format('woff2'),
       url('assets/fonts/roundo-regular-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'roundo-bold-webfont';
  src: url('assets/fonts/roundo-bold-webfont.woff2') format('woff2'),
       url('assets/fonts/roundo-bold-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

:root {
    --blanco: #fff;
    --blanco_op: rgba(234, 234, 234, 0.70);
    --negro: #000;
    --negrorgb: 0,0,0;
    --gris: #F7F9FB;
    --grisc: #f2f2f2;
    --aqua: #02B8BF;
    --font: "Montserrat", sans-serif;
    --bgheader: #eeece2;
    --bgfooter: #040A48;
    scroll-behavior: auto
}

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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
html, body {
	position: relative;
	width: 100%;
	-webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body {
	line-height: 1;
    font-family: var(--font);
}
body, p {
    color: #505760;
    font-size: 20px;
    line-height: 130%;
}
p {
    margin-bottom: 15px;
}
p:last-of-type {
    margin-bottom: 0;
}
ol, ul {
	list-style: none;
	text-decoration: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

strong, b {
    font-weight: 600;
}

h1,
h2,
h3,
h4,
h5, 
h6 {
  font-family: 'roundo-regular-webfont';
}

h1 strong,
h2 strong,
h3 strong,
h4 strong,
h5 strong,
h6 strong {
  font-family: 'roundo-bold-webfont';
}

.line-normal { line-height: normal }
.line-150 { line-height: 150% }
.line-140 { line-height: 140% }
.line-130 { line-height: 130% }
.line-120 { line-height: 120% }
.line-110 { line-height: 110% }
.line-100 { line-height: 100% }

.fs10 { font-size: 10px; }
.fs11 { font-size: 11px; }
.fs12 { font-size: 12px; }
.fs13 { font-size: 13px; }
.fs14 { font-size: 14px; }
.fs15 { font-size: 15px; }
.fs16 { font-size: 16px; }
.fs17 { font-size: 17px; }
.fs18 { font-size: 18px; }
.fs19 { font-size: 19px; }
.fs20 { font-size: 20px; }
.fs21 { font-size: 21px; }
.fs22 { font-size: 22px; }
.fs23 { font-size: 23px; }
.fs24 { font-size: 24px; }
.fs25 { font-size: 25px; }
.fs26 { font-size: 26px; }
.fs27 { font-size: 27px; }
.fs28 { font-size: 28px; }
.fs29 { font-size: 29px; }
.fs30 { font-size: 30px; }
.fs31 { font-size: 31px; }
.fs32 { font-size: 32px; }
.fs33 { font-size: 33px; }
.fs34 { font-size: 34px; }
.fs35 { font-size: 35px; }
.fs36 { font-size: 36px; }
.fs37 { font-size: 37px; }
.fs38 { font-size: 38px; }
.fs39 { font-size: 39px; }
.fs40 { font-size: 40px; }
.fs41 { font-size: 41px; }
.fs42 { font-size: 42px; }
.fs43 { font-size: 43px; }
.fs44 { font-size: 44px; }
.fs45 { font-size: 45px; }
.fs46 { font-size: 46px; }
.fs47 { font-size: 47px; }
.fs48 { font-size: 48px; }
.fs49 { font-size: 49px; }
.fs50 { font-size: 50px; }
.fs51 { font-size: 51px; }
.fs52 { font-size: 52px; }
.fs53 { font-size: 53px; }
.fs54 { font-size: 54px; }
.fs55 { font-size: 55px; }
.fs56 { font-size: 56px; }
.fs57 { font-size: 57px; }
.fs58 { font-size: 58px; }
.fs59 { font-size: 59px; }
.fs60 { font-size: 60px; }
.fs61 { font-size: 61px; }
.fs62 { font-size: 62px; }
.fs63 { font-size: 63px; }
.fs64 { font-size: 64px; }
.fs65 { font-size: 65px; }
.fs66 { font-size: 66px; }
.fs67 { font-size: 67px; }
.fs68 { font-size: 68px; }
.fs69 { font-size: 69px; }
.fs70 { font-size: 70px; }
.fs71 { font-size: 71px; }
.fs72 { font-size: 72px; }
.fs73 { font-size: 73px; }
.fs74 { font-size: 74px; }
.fs75 { font-size: 75px; }
.fs76 { font-size: 76px; }
.fs77 { font-size: 77px; }
.fs78 { font-size: 78px; }
.fs79 { font-size: 79px; }
.fs80 { font-size: 80px; }

a {
    color: var(--aqua);
}


/* Colores */

.blanco {
    color: var(--blanco);
}


/* Backgrounds */

.bgblanco_op {
    background-color: var(--blanco_op);
}

.bggris {
    background-color: var(--gris);
}

.bgaqua {
    background-color: var(--aqua);
}


/* Botones */

.btn-aqua,
.btn-borde {
    margin-top: 1.5rem!important;
}

.btn-aqua,
.btn-aqua a {
    display: inline-block;
    background-color: var(--aqua);
    border: 1px solid var(--aqua);
    border-radius: 30px;
    color: var(--blanco);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    padding: 20px 24px;
    line-height: 100%;
}

.btn-borde a {
    padding: 0;
}

.btn-borde,
.btn-borde a {
    display: inline-block;
    background-color: #fff;
    border: 1px solid #AA7948;
    border-radius: 30px;
    color: #AA7948;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    padding: 20px 24px;
    line-height: 100%;
}

.btn-borde a {
    border: 0;
}

.btn-aqua a,
.btn-borde a {
    padding: 0;
}


/* Margin */

.container-wrapper {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 15px;
}

.container-inside {
    margin: 0 auto;
    max-width: 1000px;
    padding: 0 15px;
}


/* Header */

.header-desktop {
    position: relative;
}

.header-desktop ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-desktop ul li:nth-child(1) { order: 3; } /* logo */
.header-desktop ul li:nth-child(2) { order: 1; } /* Sobre mí */
.header-desktop ul li:nth-child(3) { order: 2; } /* Tratamientos */
.header-desktop ul li:nth-child(4) { order: 4; } /* FAQS */
.header-desktop ul li:nth-child(5) { order: 5; } /* Cotiza */

.header-desktop ul li:nth-child(1) img {
  display: block;
  width: 160px;
}

.header-desktop ul li a {
    color: #000;
    font-weight: 700;
    text-decoration: none;
}

.header-desktop li:last-of-type {
    display: inline-block;
    background-color: var(--aqua);
    border: 1px solid var(--aqua);
    border-radius: 30px;
    color: var(--blanco);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    padding: 20px 24px;
    line-height: 100%;
}

.header-desktop li:last-of-type a {
    color: #fff;
}

.header-absolute {
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    padding: 12px 14px;
    border-radius: 0 0 12px 12px;
    background-color: #f9f9f9;
    font-size: 14px;
    align-items: center;
}

.header-absolute p {
    margin: 0;
    padding: 0 20px;
    font-size: 14px;
    color: #1E1E1E;
}

@media (max-width: 768px) {
  .header-desktop ul li:not(:first-child) {
    display: none;
  }

  .header-desktop ul li:first-child {
    margin: 0 auto;
  }
}


h1, 
.h1 {
    font-size: 60px;
    font-weight: 700;
    font-family: var(--font2);
    color: #1E1E1E;
    line-height: 100%;
}

h2, 
.h2 {
    font-size: 48px;
    font-weight: 500;
    font-family: var(--font2);
    color: #1E1E1E;
    line-height: 100%;
}

h3, 
.h3 {
    font-size: 32px;
    font-weight: 400;
    font-family: var(--font2);
    color: #1E1E1E;
    line-height: 110%;
}


/* Menú mobile */

.cmn-toggle-switch {
    position: relative;
    display:block;
    overflow: visible;
    top:0;
    /*left:0;*/
    margin: 0;
    padding: 0;
    width: 30px;
    height: 30px;
    font-size: 0;
    text-indent: -9999px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
    border: none;
    cursor: pointer;
    z-index: 1000000;
}

.cmn-toggle-switch.m-active {
    position: fixed;
    top: 55px;
    right: 15px;
}

.cmn-toggle-switch.m-active span {
    background-color: var(--aqua);
}
  
.cmn-toggle-switch.m-active span:before{
	opacity: 0;
}
 
.cmn-toggle-switch.m-active span:after{
    top: 0;
    transform: rotate(-90deg); 
    background-color: var(--aqua);
}
 
.cmn-toggle-switch.m-active span{
    transform: rotate(-45deg); 
}

.cmn-toggle-switch:focus {
    outline: none;
}

.cmn-toggle-switch span {
    display: block;
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    height: 3px;
    background: #000;
}

.cmn-toggle-switch span::before,
.cmn-toggle-switch span::after {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height:3px;
    background-color: #000; 
    content: "";
}

.cmn-toggle-switch span::before {
    top: -10px;
}

.cmn-toggle-switch span::after {
    bottom: -10px;
}

.hs-menu-wrapper {
	overflow: auto;
	transform: translateX(-105%);
	top:0;
	left:0;
	bottom: 0;
	width: 100%;
	height: 100%;
	position:fixed;
	background-color:#fff;
	z-index:999999;
	-webkit-box-shadow: 1px 0px 5px 0px rgba(50, 50, 50, 0.55);
	-moz-box-shadow:    1px 0px 5px 0px rgba(50, 50, 50, 0.55);
	box-shadow:         1px 0px 5px 0px rgba(50, 50, 50, 0.55);
	-webkit-transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    -moz-transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    -ms-transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    -o-transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.hs-menu-wrapper.show {
    transform: translateX(0);
}

.hs-menu-wrapper .logo {
    width: 280px;
}

.hs-menu-wrapper ul {
    display: block!important;
}

.hs-menu-wrapper ul li {
    max-width: 100%!important;
    padding: 0;
    border-top: none;
    border-bottom: 1px solid #ededed;
    margin: 0;
}

.hs-menu-wrapper ul li a {
    display: block;
    padding: 10px 15px;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
}


/* Home */

.wp-block-columns-is-layout-flex {
    column-gap: 15px;
    row-gap: 20px;
}


/* Home - Banner */

#video_background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 101%;
	object-fit: cover;
	z-index: 0;
}

.banner {
    position: relative;
    padding: 11% 15px 4%;
    /*background-image: url("assets/images/ortodoncia-bibiana-mejia-banner-1920.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;*/
	background-color: #94AFAF;
    overflow: hidden;
}

.banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, rgba(236, 208, 158, 0.00) 61.41%, rgba(204, 180, 137, 0.80) 82.96%);
    z-index: 1;
}

.banner .wp-block-group__inner-container {
    position: relative;
    max-width: 1200px;
    margin: auto;
    z-index: 1;
}

.banner .wp-block-group__inner-container h1,
.banner .wp-block-group__inner-container p {
    color: #fff;
}

.banner .wp-block-group__inner-container h1 {
    max-width: 450px;
    margin-bottom: 15px;
    font-weight: 600;
}

.banner .wp-block-group__inner-container p {
    max-width: 410px;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}


/* Home - Anclas */

.anclas-t {
    display: flex;
    max-width: 800px;
    margin: auto;
    align-items: center;
    justify-content: space-between;
}

.anclas-t li {
    position: relative;
}

.anclas-t li:before {
    content: '';
    position: absolute;
    left: -52px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background-color: #94AFAF;
    border-radius: 50%;
}

.anclas-t li:first-of-type::before {
    display: none;
}

.anclas-t li a {
    color: #94AFAF;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
}


/* Home - Tratamientos */

.tratamientos .wp-block-column {
    position: relative;
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 40px;
}

.tratamientos .wp-block-column:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -28px;
    width: 28px;
    height: 28px;
    background-image: url('assets/images/ortodoncia-bibiana-mejia-boton.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.tratamientos h3 {
    padding: 15px 0;
    font-size: 30px;
    line-height: 130%;
}

.tratamientos p {
    padding: 15px 0;
    border-top: 1px solid #BBCDCD;
    font-size: 16px;
}

.tratamientos .wp-block-gallery  {
    padding: 15px 0;
}

.tratamientos .wp-block-gallery.has-nested-images figure.wp-block-image {
    width: auto!important;
}

.tratamientos .wp-block-gallery.has-nested-images figure.wp-block-image img {
    width: auto;
    max-width: max-content!important;
    flex: auto;
    height: auto;    
}


/* Home - Testimonial */

.testimonial {
    border-radius: 20px;
    background-image: url('assets/images/ortodoncia-bibiana-mejia-testimonio.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.testimonial .wp-block-group__inner-container {
    width: 50%;
    padding: 12% 6%;
    background: rgba(234, 234, 234, 0.90);
}

.testimonial .wp-block-group__inner-container p strong {
    display: block;
}


/* Home - Videos */

.txt-video1 * {
    max-width: 452px;
    margin: auto;
}

.txt-video2 * {
    max-width: 370px;
    margin: auto;
}

.txt-video3 * {
    max-width: 452px;
    margin: auto;
}

.img-negative-left img,
.img-negative-right img {
    border-radius: 20px;
    overflow: hidden;
}

.tit-center {
    max-width: 650px;
    margin: auto;
}


/* Home - Comparación */ 

.comparison-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.comparison-before,
.comparison-after {
    position: relative;
    width: 100%;
    margin: 0;
}

.comparison-before::before {
    content: 'Antes';
    position: absolute;
    bottom: 5px;
    left: 5px;
    padding: 4px 8px;
    border-radius: 12px;
    background: #FFF;
    font-size: 14px;
    line-height: 130%;
}

.comparison-after::before {
    content: 'Después';
    position: absolute;
    bottom: 5px;
    right: 5px;
    padding: 4px 8px;
    border-radius: 12px;
    background: #FFF;
    font-size: 14px;
    line-height: 130%;
}

.comparison-before img,
.comparison-after img {
    display: block;
    width: 100%;
    height: auto;
}

.comparison-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0 0 0 50%);
    transition: clip-path 0.15s ease-out;
}

.comparison-after::after {
    content: '';
    position: absolute;
    top: 0;
    left: -8px; /* antes era right:-8px */
    width: 16px;
    height: 100%;
    background: linear-gradient(to left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 80%);
    pointer-events: none;
}

.comparison-slider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
    cursor: grab;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left 0.15s ease-out;
}

.comparison-slider::before {
    content: '<>'; /* Flechas dobles */
    font-size: 18px;
    color: #AA7948;
    pointer-events: none; 
}

.comparison-slider::after {
    content: '';
    position: absolute;
    top: -9999px;      /* se extiende hacia arriba */
    bottom: -9999px;   /* se extiende hacia abajo */
    left: 50%;
    width: 3px;
    background: #fff;
    transform: translateX(-50%);
    pointer-events: none; /* para que no bloquee el drag */
    z-index: 1;
}

.c-comparison {
    padding: 30px 20px 0;
}

.c-comparison p {
    font-size: 16px;
}

.c-comparison strong {
    color: #D1A165;
    font-size: 20px;
    letter-spacing: 4px;
}

.slide-c .slick-slide {
    margin: 0 9px;
}


/* Home - Timeline */

.timeline {
    position: relative;
    margin-bottom: 20px;
    text-align: center;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 22px;
    left: 12%;
    right: 12%;
    height: 1px;
    background-color: #ECD09E;
    z-index: -1;
}

.ico-n {
    display: inline-block;
    width: 44px;
    min-width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: #ECD09E;
    font-weight: 700;
    text-align: center;
    line-height: 44px;
}


/* Home - Faqs */

.faqs {
    display: flex;
    flex-wrap: wrap;
}

.faqs .wp-block-column {
    display: flex!important;
    max-width: 380px;
    flex-direction: column;
    border-radius: 10px;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.faqs.faqs-s .wp-block-column {
    max-width: 320px;
}

.faqs .wp-block-column .wp-block-group {
    position: relative;
    display: flex;
    padding: 55px 30px 20px;
    text-align: center;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.faqs .wp-block-column .wp-block-group:before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 90px;
    top: -45px;
    background-image: url('assets/images/ortodoncia-bibiana-mejia-play.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.faqs .wp-block-column .wp-block-group .wp-block-group__inner-container p {
    margin-bottom: 10px;
}

.faqs .wp-block-column .wp-block-group .wp-block-group__inner-container p:last-of-type {
    margin-bottom: 0;
}

.slide-f,
.slide-p {
    margin-bottom: 0!important
}

.slide-f .slick-track,
.slide-p .slick-track {
    display: flex
}

.slide-f .slick-slide,
.slide-p .slick-slide {
    float: none!important;
    height: auto;
    margin: 5px 8px 20px;
}

.slide-f .slick-slide div,
.slide-p .slick-slide div {
    height: 100%
}


/* Home Formulario */

form {
    max-width: 430px;
    margin: 0 auto 20px;
}

form fieldset {
    margin-bottom: 10px;
}

form input,
form select,
form textarea {
    background: var(--blanco_op);
    border: none;
    border-radius: 20px;
    color: #4d4e53;
    height: 42px;
    padding: 0 10px;
    width: 100%;
    font-size: 14px;
}

form label {
    display: block;
    font-size: 12px;
}

form .submit {
    display: block;
    width: 100%;
    background-color: var(--aqua);
    border: 1px solid var(--aqua);
    border-radius: 30px;
    color: var(--blanco);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    padding: 20px 24px;
    line-height: 100%;
    text-align: center;
}

form .error {
    font-size: 12px;
    font-style: italic;
    color: red;
}

.mensaje-exito {
    text-align: center;
    font-weight: 700;
    font-size: 16px;    
}

.f-mapa {
    position: relative;
}

.c-mapa {
    position: absolute;
    box-sizing: border-box;
    max-width: 522px;
    width: 100%;
    padding: 25px 35px;
    left: 18px;
    bottom: 18px;
    z-index: 1;
}

.c-mapa:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0.9;
    z-index: -1;
}

.c-mapa .wp-block-group__inner-container {
    display: flex;
    justify-content: space-between;
}

.c-mapa .wp-block-group__inner-container p {
    margin: 0;
}


/* Tratamientos */

.t-caption .wp-block-image {
    max-width: 520px;
}

.t-caption .wp-block-image .wp-element-caption {
    position: relative;
    max-width: 420px;
    margin-left: auto;
    margin-top: -58px;
    margin-bottom: 0;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--aqua);
    background-color: #fff;
    font-size: 16px;
    line-height: 130%;
}

.c-brackets * {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.c-alineadores * {
    max-width: 410px;
    margin-left: auto;
    margin-right: auto;
}

.t-icons.wp-block-columns-is-layout-flex {
    column-gap: 0;
}

.t-icons .wp-block-column {
    padding: 0 25px;
    border-left: 1px solid #BBCDCD;
}

.t-icons .wp-block-column:first-of-type {
    border-left: 0;
}

.t-icons .wp-block-column p {
    font-size: 16px;
}

.t-icons .wp-block-image {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 10px;
}

.c-limpiezas * {
    max-width: 370px;
    margin-left: auto;
    margin-right: auto;
}

.f-limpiezas {
    justify-content: space-evenly;
}

.f-limpiezas .wp-block-column {
    padding: 15px;
    max-width: 340px;
    border: 1px solid #BBCDCD;
    border-radius: 12px;
}

.f-limpiezas .wp-block-column * {
    margin-bottom: 10px;
}

.f-limpiezas .wp-block-column p {
    margin-bottom: 0;
    font-size: 16px;
}


/* Tratamientos - CTA */

.cta-consulta {
    max-width: 600px;
    margin: auto;
    font-weight: 600;
}


/* Sobre mí - CTA */

.c-sobremi * {
    max-width: 410px;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-gallery.has-nested-images figure.wp-block-image.img1-sobremi img {
    max-width: 520px !important;
    width: 90% !important;
}

.wp-block-gallery.has-nested-images figure.wp-block-image.img2-sobremi img {
    max-width: max-content !important;
    width: 50% !important;
    margin-top: -167px;
    margin-left: auto;
}


/* Faqs */

@media (min-width: 782px) {
    .wp-block-columns.slide-p {
        flex-wrap: wrap!important;
    }
    
    .wp-block-columns.slide-p:not(.is-not-stacked-on-mobile) > .wp-block-column {
        flex-basis: 32.3333%; /* 3 columnas por fila */
        flex-grow: 1;
        max-width: 32.3333%;  /* asegura que no se expandan demasiado */
    }
}


/* Footer */

.nav-link-footer {
    display: block;
    color: #505760;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}


/* Modal - Video - Youtube */

.modal {
    display: none;
    position: fixed;
    /*padding-top: 100px;*/
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    z-index:1000;
}

.modal-content {
    background-color: #f2f2f2;
    margin: auto;
    border: 1px solid #888;
    width: 740px;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
    max-width: 90%;
    top: 50%;
    transform: translateY(-50%);
}

.close {
    position: absolute;
    background: var(--aqua);
    color: #fff;
    font-size: 25px;
    font-weight: 500;
    padding: 5px 12px;
    right: -8px;
    top: -8px;
    cursor: pointer;
}

.video-yt {
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.video-yt:before {
    content: '';
    position: absolute;
    width: 104px;
    height: 104px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url("assets/images/play-bahia-de-la-luna.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.wp-block-gallery.has-nested-images.grid-restaurant figure.wp-block-image.image2.video-yt:before {
    margin-top: 25px;
    margin-left: -7.5%;
}

iframe.video_y {
    width: 100%;
}


@media screen and (min-width: 1200px) {
    .img-negative-left {
        margin-left: -115px;
    }
    
    .img-negative-left img {
        border-radius: 0 20px 20px 0;
        overflow: hidden;
    }

    .img-negative-right {
        margin-right: -155px;
    }
    
    .img-negative-right img {
        border-radius: 20px 0 0 20px;
        overflow: hidden;
    }
    
    .txt-video1 p {
        padding-left: 60px;
    }
}


@media (max-width: 797px) {
    .faqs.slide-f .wp-block-column.slick-slide,
    .faqs.slide-p .wp-block-column.slick-slide {
        margin-right: 10px;
        max-width: 265px;
        width: 265px;
    }
    
    .faqs .wp-block-column .wp-block-group:before {
        width: 80px;
        height: 80px;
        top: -40px;
    }
    
    .faqs .wp-block-column .wp-block-group {
        padding: 55px 15px 20px;
    }
    
    .faqs p {
        font-size: 16px;
    }
    
    .c-comparison {
        padding: 25px 0 0;
    } 
    
    .slide-c {
        padding-bottom: 40px;
    }
    
    .slide-c .slick-next,
    .slide-c .slick-prev {
        top: 100%
    }

    .slide-c .slick-next {
        right: 50%;
        margin-right: -48px;
    }

    .slide-c .slick-prev {
        left: 50%;
        margin-left: -48px;
    }
    
    .slide-c .slick-next,
    .slide-c .slick-prev {
        align-items: center;
        border: 1px solid #BBCDCD;
        border-radius: 50%;
        color: #fff;
        cursor: pointer;
        display: flex;
        font-size: 0;
        height: 40px;
        justify-content: center;
        opacity: 1;
        position: absolute;
        transition: background-color .3s;
        width: 40px;
        z-index: 2
    }

    .slide-c .slick-prev {
        background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='10' height='16' viewBox='0 0 10 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 1L1 8L9 15' stroke='%231E1E1E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
    }

    .slide-c .slick-next {
        background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='10' height='16' viewBox='0 0 10 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L9 8L1 15' stroke='%231E1E1E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
    }

    .slide-c .slick-prev:focus,
    .slide-c .slick-prev:hover {
        background-color: #fcf7ee;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='10' height='16' viewBox='0 0 10 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 1L1 8L9 15' stroke='%231E1E1E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
    }

    .slide-c .slick-next:focus,
    .slide-c .slick-next:hover {
        background-color: #fcf7ee;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='10' height='16' viewBox='0 0 10 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L9 8L1 15' stroke='%231E1E1E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
    }

    .slide-c .slick-next:before,
    .slide-c .slick-prev:before {
        display: none
    }

    .slide-c .slick-next svg,
    .slide-c .slick-prev svg {
        fill: #000;
    }
}

@media screen and (max-width: 781px) {
    h1, 
    .h1 {
        font-size: 40px;
    }

    h2, 
    .h2 {
        font-size: 32px;
    }
    
    h3, 
    .h3 {
        font-size: 28px;
    }
    
    .banner {
        padding: 60% 30px 35px;
    }
    
    .banner .wp-block-group__inner-container p {
        font-size: 20px;
    }
    
    .banner:before {
        background: linear-gradient(180deg, rgba(236, 208, 158, 0.00) 66.43%, rgba(204, 180, 137, 0.80) 92.84%);
        z-index: 1;
    }
    
    .testimonial {
        padding-bottom: 73.5%;
        border-radius: 20px;
        background-image: url('assets/images/ortodoncia-bibiana-mejia-testimonio-movil.png');
        background-size: contain;
        background-position: bottom;
    }

    .testimonial .wp-block-group__inner-container {
        width: 100%;
        padding: 30px 15px;
        background: rgba(234, 234, 234, 0.90);
    }
    
    .t-icons .wp-block-column {
        padding: 0;
        border-left: 0;
    }
    
    .tratamientos .wp-block-column {
        padding-bottom: 0;
    }
    
    .tratamientos .wp-block-column:after {
        top: 200px;
        margin-top: -14px;
    }
    
    .timeline {
        margin-bottom: 0;
        text-align: left;
    }
    
    .timeline:before {
        display: none;
    }
    
    .timeline .wp-block-column {
        display: flex;
    }
    
    .ico-n {
        margin-right: 15px;
    }
    
    .t-caption .wp-block-image .wp-element-caption {
        margin: -58px 15px 0;
    }
}

@media screen and (max-width: 767px) {
    .anclas-t {
        display: block;
    }
    
    .anclas-t li {
        padding: 5px 0;
        text-align: center;
    }
    
    .anclas-t li:before {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .c-mapa {
        padding: 15px 20px;
        width: auto;
    }
    
    .c-mapa .wp-block-group__inner-container {
        display: block;
    }
    
    .c-mapa .wp-block-group__inner-container p {
        font-size: 16px;
    }

    .c-mapa .wp-block-group__inner-container p:first-of-type {
        margin-bottom: 12px;
    }
}

@media screen and (max-width: 380px) {
    .banner {
        padding: 60% 15px 35px;
    }
}