/*!
Theme Name: sapphira-aravaca
Theme URI: http://underscores.me/
Author: Hitz Karega
Author URI: http://hitzkareaga.com
Description: Un theme personalizado para Sapphira Privé Aravaca
Version: 1.0.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: sa
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

sapphira-aravaca is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */



@font-face {
    font-family: 'TheSeasons';
    src: url('fonts/TheSeasons-Thin.woff2') format('woff2'),
        url('fonts/TheSeasons-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TheSeasons';
    src: url('fonts/TheSeasons-ThinItalic.woff2') format('woff2'),
        url('fonts/TheSeasons-ThinItalic.woff') format('woff');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Italic.woff2') format('woff2'),
        url('fonts/Poppins-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-BoldItalic.woff2') format('woff2'),
        url('fonts/Poppins-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Bold.woff2') format('woff2'),
        url('fonts/Poppins-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.woff2') format('woff2'),
        url('fonts/Poppins-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
	--black: #0C0C0C;
	--gold: #BFA373;
}

body,
button,
input,
select,
optgroup,
textarea {
	color: var(--black);
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'TheSeasons';
	line-height: 1.1;
	font-weight: 300;
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
	font-style: italic; 
	font-size: 1.5rem;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: var(--black);
	text-decoration: underline;
}

a:visited {
	color: var(--black);
}

a:hover,
a:focus,
a:active {
	color: var(--black);
	text-decoration: none;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  padding: 16px 40px;
  border-radius: 50px;
  background: var(--gold);
  color: var(--black);
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
  transition: all 0.3s ease;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: var(--black);
   color: var(--gold);
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	background: var(--gold);
    color: var(--black);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: var(--black);
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 2px solid var(--black);
	border-radius: none;
	padding: 3px;
	background: transparent;
}
textarea {border: 2px solid var(--black); margin-top: 30px;}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: var(--black);
}

select {
	border-bottom: 2px solid var(--black);
	border-top: none;
	border-left: none;
	border-right: none;
	background-color: transparent;
	margin-right: 30px;
	width: 25vw;
	max-width: 330px;
}
.select-area {
	display: flex;
	
}
textarea {
	width: 100%;
	height: 120px;
	margin-bottom: 30px;
}
input[type="text"],
input[type="email"],
input[type="tel"] {
	width: 25vw;
	max-width: 330px;
	margin-right: 30px;
	margin-bottom: 30px;
}
.select-area > * , .select-area .wpcf7-form-control-wrap{
	display: flex;
}
/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.site-header {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	justify-content:space-between;
	padding: 30px 30px 10px;
	align-items: center;
}
.site-header.fixed {
  position: fixed;
  padding: 20px 30px 0px;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: white; /* O lo que necesites */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.site-branding {
	max-width: 200px;
	 display: flex;
  align-items: center;
  gap: 20px;
}
.main-navigation {
	display: block;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}
.main-navigation li.ico a {
	padding: 0 10px;
} 
.main-navigation a {
	display: block;
	text-decoration: none;
	color: var(--black);
}
.main-navigation a:hover {
	color: var(--black);
	text-decoration:underline;
}
/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}
.no-scroll {
  overflow: hidden;
  height: 100vh;
}

@media screen and (max-width: 1340px) {
	.site-header {
	  padding: 30px 30px 10px;
	}
	.site-branding {
	  max-width: 160px;
	}
	 .main-navigation ul {
	    gap: 15px;
	  }
}

@media screen and (min-width: 1220px) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
		gap: 15px;
		margin-top: 40px;
	}
	.main-navigation ul li a {
		font-size: 1.3rem;
	}
	.main-navigation ul li.ico a img{
		width: 28px;
		  height: 28px;
		  filter: brightness(0) saturate(100%);
	}
	.fixed .main-navigation ul li a {
		font-size: 1.1rem;
	}
	.main-navigation .menu-list {
        display: flex !important;
        flex-direction: row;
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }
}
@media screen and (max-width: 1219px) {
	 .menu-toggle {display: block;}
	/* Oculta el menú en pantallas pequeñas por defecto */
	.main-navigation .menu-list {
	    display: none;
	    flex-direction: column;
	    gap: 1rem;
	    background: var(--white);
	    position: absolute;
	    top: 100%;
	    left: 0;
	    right: 0;
	    padding: 1rem;
	    transition: transform 0.3s ease-in-out;
	    transform: translateY(-20px);
	    opacity: 0;
	    pointer-events: none;
	    z-index: 1000;
	}
	
	/* Mostrar menú cuando está activo */
	.main-navigation.active .menu-list {
	    display: flex;
	    transform: translateY(0);
	    opacity: 1;
	    pointer-events: auto;
	    padding-right: 40px;
	    align-items: flex-end;
	    flex-direction: column;
		position: fixed;
		background-color: #fff;
		right: 0;
		top: 80px;
		z-index: 999:
	}
	
	/* Botón hamburguesa */
	.menu-toggle, .menu-toggle.active, .menu-toggle:focus {
	    background: none;
	    border: none;
	    cursor: pointer;
	    padding: 1rem;
	    z-index: 1001;
	    position: relative;
	    background: transparent;
	}
	
	/* Ícono burger */
	.burger-icon,
	.burger-icon::before,
	.burger-icon::after {
	    content: '';
	    display: block;
	    width: 24px;
	    height: 3px;
	    background-color: var(--black);
	    transition: all 0.3s ease-in-out;
	    border-radius: 2px;
	}
	
	.burger-icon::before {
	    transform: translateY(-8px);
	    position: relative;
	}
	
	.burger-icon::after {
	    transform: translateY(5px);
	    position: relative;
	}
	
	/* Burger activa con forma de X */
	.main-navigation.active .burger-icon {
	    background-color: transparent;
	}
	
	.main-navigation.active .burger-icon::before {
	    transform: rotate(45deg);
	    top: 0;
	}
	
	.main-navigation.active .burger-icon::after {
	    transform: rotate(-45deg);
	    top: -3px;
	}

}
.scroll-offset {
  scroll-margin-top: 80px;
}
#medicina-estetica.scroll-offset {
  scroll-margin-top: 280px;
}
.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

.site-footer {
	background-color: #F2F0EB;
}
.footer {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  gap: 60px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.form-contact{
  flex: 5;
  min-width: 0; /* previene overflow en contenidos largos */
}
.form-contact h3 {
	font-size: clamp(1.5rem, 0.2027rem + 2.7027vw, 2.5rem);
}
.foot {
  flex: 3;
  min-width: 0;
  text-align: right;
  padding: 40px 0;
}
.foot img {
	max-width: 240px;
	width: 100%;
	height: auto;
}
.foot .social {
	display: flex;
	justify-content: end;
	padding: 40px 0;
	gap: 5px;
}
.foot .social a {
	padding: 0 5px;
}
.foot .permission img {
	width: 100%;
	max-width: 100%;
	height: auto;
}
.foot ul {
	margin: 0; 
	padding: 40px 0;
	list-style: none;
}
.form-contact input[type="text"], 
.form-contact input[type="email"], 
.form-contact input[type="tel"] {
  width: calc(50% - 30px);
  max-width: 530px;
  margin-right: 30px;
  margin-bottom: 30px;
}
.form-contact input[type="text"].text-lg {
	width: calc(100% - 30px);
	max-width: calc(100% - 30px);
}
.form-contact textarea {
  width: calc(100% - 30px);
}
@media screen and (max-width: 990px) {
	  .footer {
		  flex-direction: column;
	  }
	  .foot {
		  text-align: center;
		  width: 100%;
		}
	.foot .social {
	  justify-content: center;
	}
	.permission {text-align: left;}
  }
/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

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

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

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

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

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

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

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

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

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

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

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}
.alignright p {text-align: right;}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


/* HOMEPAGE
--------------------------------------------- */





.hero {
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 1;
    overflow: hidden;
    background-image: 
        linear-gradient(128deg, rgba(255,255,255,0.60) 2%, rgba(178,144,121,0.60) 100%),
        radial-gradient(circle at 0% 100%, #E6E8E4 0%, rgba(191,163,115,0.80) 93%);
}

.hero img {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;

    /* Comienza como un círculo en el centro */
    clip-path: circle(0% at 40% 60%);
    animation: reveal-hero 2.5s cubic-bezier(0.65, 0, 0.35, 1) forwards;
    animation-delay: 0.2s;
}

@keyframes reveal-hero {
    to {
        clip-path: circle(150% at 40% 60%);
    }
}
@media (max-width: 767px) {
    .hero img {
        animation: none !important;
        clip-path: none !important;
    }
}
.hero-content {
    position: relative;
    max-width: 30vw;
    margin-left: 60vw;
    margin-right: 10vw;
    margin-top: 30vh;
    color: var(--black);
    text-align: left;
    z-index: 2;
}
.hero-content h1 {
	font-size: clamp(2rem, -0.2857rem + 3.5714vw, 4rem);
	line-height: 1;
}
#reserve-wrapper {
	height: 0; 
	transition: height 0.3s ease;
}
.reserve-button {
	position: relative;
	z-index: 9;
    margin-top: 32vh;
    margin-left: 60vw;
    padding: 16px 24px;
    border-radius: 50px;
    background: var(--black);
    color: var(--gold);
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.reserve-button.fixed {
    position: fixed;
    top: 5px;
    right: 10px;
    margin: 0;
    z-index: 1000;
    padding: 10px 24px;
}
.reserve-button:hover, .reserve-button:target, .reserve-button:active {
	 background: var(--gold);
    color: var(--black);
}
.welcome-section {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;      
    max-height: 600px;
    height: 100%;
    padding: 0;
    margin-top: calc(100vh - 210px);
    max-height: 600px;
    gap: 0;
}

.welcome-text {
    flex: 0 0 60%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: calc(50vw - 755px);
    padding-right: 60px;
    padding-top: 40px;
    background-image: radial-gradient(circle at 50% 43%, #E1D0AB 0%, #BFA373 131%);
     height: 600px;
     
}
.welcome-image {
	flex: 0 0 40%;
    height: auto;
}
.welcome-text h2 {
    font-size: 2rem;
    margin: 0;
    padding: 0 0 15px;
}

.welcome-text p {
    font-size: clamp(1rem, 0.5658rem + 0.7018vw, 1.25rem);
    padding: 0 0 15px;
    margin: 0;
    max-width: 800px;
}



.welcome-image img {
    width: 100%;
  height: 100%;
  object-fit: cover;        
  display: block;
}
@media screen and (max-width: 1600px) {
	.welcome-text {
	    padding-left: 30px;
	}
}

.galeria-home {
  max-width: 1560px;
  margin: 20px auto 120px;
  padding: 0 30px;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 30px;
}

.galeria-grid .item {
	opacity: 0;
	clip-path: circle(0% at 50% 50%);
	transition: clip-path 0.9s ease-out, opacity 0.9s ease-out;
}

.galeria-grid .item.visible {
	opacity: 1;
	clip-path: circle(150% at 50% 50%);
}



.galeria-grid .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Distribución personalizada */
.item-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.item-2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.item-3 {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.item-4 {
  grid-column: 2 / 4;
  grid-row: 2 / 3;
}
.item img {
	border-radius: 0;
	transform: scale(1);
	transition: border-radius 0.3s ease;
}
.item-2 img:hover, .item-3 img:hover {
	border-radius: 250px 250px 0 0;
} 
.item-1 img:hover {
	border-radius: 0 0 250px 250px;
} 
.item-4 img:hover {
	border-radius: 0 250px 250px 0;
} 
.bloque-home-grid {
  max-width: 1560px;
  padding: 0 30px;
  margin: 90px auto 10px;
}

.bloque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  column-gap: 30px;
  row-gap: 90px;
}

.bloque-grid .item {
  font-size: clamp(1rem, 0.5658rem + 0.7018vw, 1.25rem);
}

.item-texto1 {
  grid-column: 1 / span 2;
  align-self: start;
}

.item-img1 {
  grid-column: 3 / 4;
}
.item-img1 img {
	border-radius: 0 0 50% 50%;
	transition: border-radius 0.3s ease;
}

.item-img2 {
  grid-column: 1 / 2;
  margin-top: -300px;
}
.item-img2 img {
	border-radius: 0;
	transition: border-radius 0.3s ease;
}
.item-img1, .item-img2 {
	opacity: 0;
	transform: scale(0.9);
	transition: opacity 1s ease, transform 1s ease;
}

.item-img1.visible, .item-img2.visible {
	opacity: 1;
	transform: scale(1);
}


.item-texto2 {
  grid-column: 2 / span 2;
  align-self: end;
}

.bloque-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.bloque-grid .item-img1 img,
.bloque-grid .item-img2 img {
	opacity: 0;
	clip-path: circle(0% at 50% 50%);
	transition: clip-path 1.4s ease-out, opacity 1.4s ease-out;
}

.bloque-grid .item-img1.visible img,
.bloque-grid .item-img2.visible img {
	opacity: 1;
	clip-path: circle(150% at 50% 50%);
	
}





#estetica-avanzada {
  background-color: #F2F0EB;
  padding: 90px 0 380px;
}
.contenedor {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 30px;
}
.contenedor-sm {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 30px;
}
.titulo-centralizado {
	font-size: clamp(2rem, 0.8571rem + 1.7857vw, 3rem);
  text-align: center;
  padding-bottom: 40px;
}
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.servicio-img-wrapper {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 0;
  transition: border-radius 0.3s ease;
}
.borde-superior {
  border-radius: 188px 188px 0 0;
  transition: border-radius 0.3s ease;
}
.borde-inferior {
  border-radius: 0 0 188px 188px;
  transition: border-radius 0.3s ease;
}
.borde-superior:hover, .borde-inferior:hover {
	border-radius: 0;
}
.servicio-item {
	opacity: 0;
	transform: translateY(60px);
	transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Estado visible, animado */
.servicio-item.visible {
	opacity: 1;
	transform: translateY(0);
}

/* Primer ítem parte desde más arriba */
.servicios-grid > .servicio-item:first-child {
	transform: translateY(-80px);
}


.servicio-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}
.titulo-img {
  position: absolute;
  left: 10px;
  right: 10px;
  text-align: center;
  color: white;
  padding: 10px;
}
.titulo-img.abajo {
  bottom: 10px;
}
.titulo-img.arriba {
  top: 10px;
}
.titulo-img h4 {
	font-size: clamp(1.375rem, 1.0893rem + 0.4464vw, 1.625rem);
  margin: 0;
}
.lightbox {
  display: none;
  opacity: 0;
  transform: scale(0.95);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.lightbox-content {
  background: white;
  width: 90%;
  max-width: 1200px;
  display: flex;
  position: relative;
}

.lightbox.show {
	opacity: 1;
	transform: scale(1);
}

.lightbox-content h4 {
	font-size: clamp(1.5rem, 0.9286rem + 0.8929vw, 2rem);
	padding: 0 0 20px;
	margin: 0;
}
.lightbox-img {
  width: 400px;
  height: 80vh;
  max-height: 700px;
  flex-shrink: 0;
}
.lightbox-content.form-cont .lightbox-img {
	max-height: 700px;
}
.lightbox-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lightbox-texto {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: scroll;
  height: 80vh;
  max-height: 700px;
}
.lightbox-texto.form {
	justify-content: flex-start;
	background-color: #F2F0EB;
	max-height: 700px;
}
.lightbox-texto.form input[type="submit"] {width: 100%;}
.close-lightbox {
  position: fixed;
  top: 0;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-family: 'TheSeasons';
  font-size: 80px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  z-index: 10001;
}
.close-lightbox:hover, .close-lightbox:target {
	background: transparent;
	opacity: 0.7;
}
.close-lightbox span {
	font-size: 1rem;
}
.accordion-item {
  margin-bottom: 10px;
  border-bottom: 1px solid #0C0C0C;
	border-top: none;
	border-left: none;
	border-right: none;
}
.accordion-title, .accordion-title:focus {
	position: relative;
	border:none;
	text-transform: uppercase;
  padding: 2px 10px 6px 50px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  background: transparent;
  color: #0C0C0C;
  line-height: 1;
  border-radius: 0;
  font-weight: 400;
}
.accordion-title:hover {
	font-weight: 700;
	background: transparent;
	color: var(--black);
}
.accordion-title:before {
	content:'+';
	position: absolute;
	margin-left: -30px;
	margin-top: -4px;
	font-size: 140%;
	color: #0C0C0C;
}
.accordion-item.active .accordion-title {
	font-weight: 700;
}
.accordion-content {
 max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.5s ease, opacity 0.5s ease;
  
}
.accordion-content.open {
	max-height: 500px; /* suficiente para el contenido */
	opacity: 1;
	padding: 10px;
}
.accordion-item.active .accordion-title:before {
	content:'-';
}
.accordion-item p {
	padding: 0;
	margin: 0;
	font-size: 1rem;
}
.medest-section {
  display: flex;
  align-items: center;
  position: relative;
  max-height: 800px;
  background-color: #F2F0EB;
  padding-bottom: 480px;
}
.medest-img {
	position: relative;
	z-index: 2;
  flex: 1;
  max-height: 800px;
  overflow: hidden;
  border-radius: 0 50% 50% 0;
    margin-top: -280px;
}
.medest-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.medest-content {
	position: relative;
	z-index: 1;
  flex: 1;
  background-image: radial-gradient(circle at 49% 50%, #D6C297 0%, #BFA373 52%);
  color: #0C0C0C;
  padding: 60px  calc(50vw - 755px) 60px 200px;
  margin-left: -160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.medest-content h3 {
	font-size: clamp(2rem, 0.8571rem + 1.7857vw, 3rem);
  padding-bottom: 0;
  margin-bottom: 0;
}
.medest-content p {
  margin-bottom: 30px;
  font-size: clamp(1rem, 0.5658rem + 0.7018vw, 1.25rem);
  padding-right: 30px;
}
.medest-links a {
  text-transform: uppercase;
  text-decoration: underline;
  cursor: pointer;
  transition: all 0.3s ease;
}
.medest-links a:hover {
  text-decoration: none;
}
.medest-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}
.medest-lightbox-content {
  background: white;
  width: 90%;
  max-width: 1200px;
  display: flex;
  position: relative;
  height: 80vh;
  max-height: 700px;
}
.medest-lightbox-img {
  width: 400px;
  max-height: 700px;
  flex-shrink: 0;
}
.medest-lightbox-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.medest-lightbox-text {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.medest-lightbox-text h4 {
  margin-bottom: 20px;
  font-size: clamp(1.5rem, 0.9286rem + 0.8929vw, 2rem);
}
.medest-close {
  position: fixed;
  top: 0;
  right: 0;
  background: none;
  border: none;
    border-top-color: currentcolor;
    border-right-color: currentcolor;
    border-bottom-color: currentcolor;
    border-left-color: currentcolor;
  color: white;
  font-family: 'TheSeasons';
  font-size: 80px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  z-index: 10001;
}
.medest-close span {font-size: 1rem;}
.medest-close:hover, .medest-close:target, .medest-close:focus{
	background: transparent;
  opacity: 0.8;
}
#lightboxdra0 .medest-lightbox-content,
#lightboxdra1 .medest-lightbox-content,
#lightboxdra2 .medest-lightbox-content {
	width: 90%;
  max-width: 1200px;
  height: auto;
  background-color: #F2F0EB;
}
#lightboxdra0 .medest-lightbox-content,
#lightboxdra1 .medest-lightbox-content, 
#lightboxdra2 .medest-lightbox-content {
	padding: 30px;
}
#lightboxdra0 .medest-lightbox-content h4,
#lightboxdra1 .medest-lightbox-content h4, 
#lightboxdra2 .medest-lightbox-content h4 {
	margin-bottom: 20px;
	margin-top: 0;
  font-size: clamp(1.5rem, 0.9286rem + 0.8929vw, 2rem);
}
#lightboxdra0 .medest-lightbox-content .dra,
#lightboxdra1 .medest-lightbox-content .dra, 
#lightboxdra2 .medest-lightbox-content .dra {
	display: flex; 
	margin-bottom: 40px; 
	gap: 30px; 
	align-items: flex-start;
}
#lightboxdra0 .medest-lightbox-content .dra .img,
#lightboxdra1 .medest-lightbox-content .dra .img,
#lightboxdra2 .medest-lightbox-content .dra .img {flex: 0 0 300px;}
#lightboxdra0 .medest-lightbox-content .dra .img img,
#lightboxdra1 .medest-lightbox-content .dra .img img,
#lightboxdra2 .medest-lightbox-content .dra .img img {width: 100%; border-radius: 50% 50% 0 0; object-fit: cover;}
#lightboxdra0 .medest-lightbox-content h5,
#lightboxdra1 .medest-lightbox-content h5, 
#lightboxdra2 .medest-lightbox-content h5 {
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 18px;
	text-transform: uppercase;
	font-weight: 700;
}

.otros-section {
  position: relative;
  z-index: 9;
  padding: 100px 30px 20px;
  margin-top: -200px;
}

.otros-container {
  max-width: 1560px;
  margin: 0 auto;
  display: flex;
  gap: 120px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.otros-column {
  flex: 1;
}
.otros-container  .text-column h4 {margin-bottom: 40px; font-size: clamp(2rem, 0.8571rem + 1.7857vw, 3rem);}
.img1-otros {
  width: 100%;
  border-radius: 0 0 50% 50%;
  box-shadow: -40px 40px 0 #DBD9D2;
  display: block;
  transition: all 0.3s linear;
}

.img2-otros {
  width: 100%;
  margin-top: 80px;
  box-shadow: -40px -40px 0 #DBD9D2;
  display: block;
  transition: all 0.3s linear;
}
.img1-otros:hover, .img2-otros:hover {
	box-shadow: none;
}
.text-column h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #0C0C0C;
}

.text-column p {
  font-size: clamp(1rem, 0.5658rem + 0.7018vw, 1.25rem);
  margin-bottom: 30px;
  color: #0C0C0C;
}

.tarjeta-full {
  width: 100%;
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.tarjeta-bg {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.tarjeta-text {
	position: absolute;
	right: calc(50vw - 755px);
	max-width: 1000px;
}
.tarjeta-text p {
  color: white;
  font-family: 'TheSeasons', serif;
  font-size: clamp(2rem, 0.8571rem + 1.7857vw, 3rem);
  line-height: 1.2;
  
}
.logoscol-section {
  padding: 60px 30px;
}
.logoscol-section h3 {
	font-size: clamp(2rem, 0.8571rem + 1.7857vw, 3rem);
  text-align: center;
}
.logoscol-container {
  max-width: 1560px;
  margin: 0 auto;
  text-align: center;
}
.logoscol-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 60px;
  max-width: 1560px;
  margin: 0 auto;
  padding: 60px 30px;
  align-items: center;
  justify-items: center;
}
.logo-item {max-width: 200px;max-height: 20px;}
.logo-item img {
  max-width: 100%;
  height: auto;
  display: block;
	max-height: 20px;
}


.mapa-section {
  position: relative;
  overflow: hidden;
}

.mapa-wrapper {
  position: relative;
}

.mapa-iframe iframe {
  width: 100%;
  height: 800px;
  filter: grayscale(100%);
  display: block;
}

.mapa-sidebar {
  position: absolute;
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
  background: white;
  padding: 40px;
  box-shadow: 0 0 40px rgba(0,0,0,0.1);
  max-width: 500px;
  width: 100%;
  z-index: 2;
  background-color: #0C0C0C;
  color: white;
}
.mapa-sidebar h4 { font-size: clamp(1.25rem, 1.0739rem + 0.5634vw, 1.75rem); padding: 40px 0 20px; margin: 0;}
.mapa-sidebar p { font-size: clamp(1rem, 0.912rem + 0.2817vw, 1.25rem); padding: 0; margin: 0;}
.mapa-sidebar p a, .mapa-sidebar p a:visited {color: white; text-decoration: underline;}
.accordion-title .price {
	float: right;
	font-style: italic;
	font-weight: normal;
	text-transform: none;
	font-size: 16px;
	padding-left: 10px;
}
@media screen and (max-width: 1380px) {
	.item-img2 {
	  margin-top: -300px;
	}
	.tarjeta-text {
	  position: absolute;
	  right: 30px;
	  max-width: 1000px;
	}
	.wpcf7-form p{
		margin-bottom: 0;
	}
	input[type="text"], input[type="email"], input[type="tel"] {
	  margin-bottom: 15px;
	  width: 23vw;
	}
	select {
	  width: 23vw;
	}
}

@media screen and (max-width: 1219px) {
	.reserve-button {
	  margin-top: 25vh;
	  margin-left: 55vw;
	}
	.reserve-button.fixed {
	  right: 90px;
	  top: 20px;
	}
	.hero {
	  height: 100vh;
	}
	.hero-content {
	  max-width: 30vw;
	  margin-left: 55vw;
	  margin-right: 5vw;
	  margin-top: 25vh;
	}
	.welcome-section {
	  margin-top: calc(100vh - 150px);
	}
	.close-lightbox, .medest-close {
	  top: 0px;
	  right: 0px;
	  font-size: 60px;
	  color: var(--black);
	}	
}
@media screen and (max-width: 1119px) {
	 input[type="text"], input[type="email"], input[type="tel"],  select {
	    width: 19vw;
	  }
	.item-img2 {
	    margin-top: -200px;
	  }
	#lightboxdra0 .medest-lightbox-content h4, #lightboxdra1 .medest-lightbox-content h4 {padding-top: 80px;}
}

@media screen and (max-width: 990px) {
	.hero-content {
	    max-width: 40vw;
	  }
	.lightbox-content.form-cont .lightbox-img, .lightbox-img, .medest-lightbox-img {
	 display: none;
	}
	 input[type="text"], input[type="email"], input[type="tel"],  select {
	    width: 37vw;
	    max-width: 380px;
	  }
	.servicios-grid {
	  grid-template-columns: repeat(2, 1fr);
	}
	.medest-section {
		flex-direction: row;
	}
	 .item-img2 {
	    margin-top: -100px;
	  }
}

@media screen and (max-width: 767px) {
	.welcome-section {
		flex-direction: column;
		flex-wrap:nowrap;
		max-height: 900px;
	}
	.welcome-text {padding-top: 60px; padding-right: 30px;}
	#estetica-avanzada {
	  padding: 90px 0 80px;
	}
	.medest-section {flex-direction: column;}
	.medest-img {margin-top: 0; display: none;}
	.medest-content {
		padding:30px;
		margin-left: 0;
	}
	.medest-content p {padding-right: 0;}
	.otros-container {
		flex-direction: column;
		flex-wrap: nowrap;
		max-width: 600px;
		margin: 0 auto;
	}
	 .tarjeta-text {
	    left: 30px;
	    right: 30px;
	    max-width: 700px;
	  }
	  .mapa-sidebar {
		  right: 30px;
		  padding: 20px;
		  max-width: 300px;
		}
		#lightboxdras .medest-lightbox-content .dra {
		 flex-direction: column;
		}
		#lightboxdras .medest-lightbox-content .dra .img {margin: 0 auto;}
}

@media screen and (max-width: 580px) {
	
	 
	 .hero {
	    height: 60vh;
	  }
	  .hero-content {
	    max-width: 50vw;
	    margin-left: 45vw;
	    margin-right: 5vw;
	    margin-top: 17vh;
	  }
	.hero-content h1 {
		  font-size: 25px;
		}
	  .reserve-button {
	    margin-top: 10vh;
	    margin-left: 45vw;
		  padding: 10px 24px;
	  }
	.reserve-button.fixed {
		right: 10px;
		top: auto;
		bottom: 10px;
	  }
	   .welcome-section {
	    margin-top: calc(40vh - 10px);
	    padding-bottom: 0;
	  }
	  .welcome-text {padding-top: 80px;}
	  .welcome-text h2 {
		  font-size: 1.8rem;
		}
	  .galeria-grid {
		  display: block;
		}
		.galeria-home {
		  margin: 0 auto;
		}
	  .galeria-grid .item {padding-bottom: 30px;}
	.galeria-grid .item img {max-height: 350px;}
	.galeria-grid .item {opacity: 0.3;transition-delay: 0s !important;}
	  .bloque-grid {
		  display: block;
		}
		 .item-img2 {
	    margin-top: 0;
	  }
	  .bloque-grid .item {padding-bottom: 30px;}
	.titulo-centralizado {
	  padding-bottom: 0;
	}
	  #estetica-avanzada {padding: 60px 0;}
	  .servicios-grid {
	    grid-template-columns: repeat(1, 1fr);
	  }
	  .servicios-grid > .servicio-item:first-child {
		  transform: translateY(0);
		}
	.servicio-img-wrapper {
		max-height: 350px;
	}
	.servicio-item {opacity: 0.3;transform: translateY(0);}
		.borde-superior, .borde-inferior {
		  border-radius:0 0 0 0;
		}
		.img1-otros, .img2-otros {
		  box-shadow: none;
		}
		.logoscol-grid {
		  grid-template-columns: repeat(1, 1fr);
		}
		.mapa-sidebar {right: 0; top: 200px; padding: 0 20px; max-width: 200px;}
		.mapa-sidebar h4 {font-size: 1rem;}
		.mapa-sidebar p {font-size: 0.8rem;}
		 input[type="text"], input[type="email"], input[type="tel"], select {
		    width: 100vw;
		   margin-right: 0;;
		  }
	.otros-section {
		  margin-top: -100px;
		}
	.accordion-title, .accordion-title:focus {
	  padding: 2px 10px 6px 30px;
	}
	#lightboxdra0 .medest-lightbox-content, #lightboxdra1 .medest-lightbox-content {
	  overflow-y: scroll;
	}
	#lightboxdra0 .medest-lightbox-content .dra, #lightboxdra1 .medest-lightbox-content .dra {
		flex-direction: column;
	}
	#lightboxdra0 .medest-lightbox-content h4, #lightboxdra1 .medest-lightbox-content h4 {
		padding-top: 10px;
	  }
}

@media screen and (max-width: 430px) {
	.site-header, .site-header.fixed {
		padding: 20px;
	  }
	
	.menu-toggle, .menu-toggle.active, .menu-toggle:focus {padding: 0; width: 24px; height: 24px;}
	.main-navigation.active .menu-list {padding-right: 20px;}
	.hero {
	    height: 50vh;
	  }
	  .welcome-section {
	    margin-top: calc(35vh - 20px);
	  }
	
	 .welcome-text {
		padding-top: 40px;
	  }
	   .hero-content {
		    max-width: 55vw;
		    margin-left: 45vw;
		    margin-right: 3vw;
	  }
	  .reserve-button {
	    margin-top: 10vh;
	    margin-left: 45vw;
	  }
	  .otros-section {
		  margin-top: 0px;
		}
		 .mapa-sidebar {
			 top: 19.5%;
	    right: 0;
	    left: 0;
	    padding: 0 20px;
	    max-width: 100%;
	  }
	.mapa-iframe iframe {
	  filter: grayscale(0%);
		height: 900px;
	}
	  .mapa-sidebar h4 {
		  padding: 10px 0 20px;
		  margin: 0;
		}
	.lightbox-texto, .medest-lightbox-content {padding: 20px; height: 95vh;}
	.medest-lightbox-text {padding: 0;}
	.medest-lightbox-text h4 {padding: 0; margin: 0 0 20px;max-width: 260px;}
	 input[type="text"], input[type="email"], input[type="tel"], select {
		width: calc(100vw - 80px);
	  }
		.lightbox-texto.form {
		  height: 95vh;
		}
	.lightbox-content h4 {max-width: 260px;}
}

@media screen and (max-width: 400px) {
	
	 
	
	 .hero-content {
		margin-top: 15vh;
	  }
	.hero-content h1 {
		  font-size: 22px;
		}
	.reserve-button {
		margin-top: 12vh;
		font-size: 12px;
	  }
	
}