@charset "UTF-8";
/*!
Theme Name: cremando
Theme URI: http://underscores.me/
Author: Orlando
Author URI: http://mimi.com
Description: Template base to create new ítems
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ame
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.

cremando 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
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: -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 {
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

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

blockquote {
  margin: 0 1.5em;
}

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: #4169e1;
}
a:visited {
  color: #800080;
}
a:hover, a:focus, a:active {
  color: #191970;
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type=button],
input[type=reset],
input[type=submit] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}
button:hover,
input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
  border-color: #ccc #bbb #aaa;
}
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 {
  border-color: #aaa #bbb #bbb;
}

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: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}
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: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Navigation
--------------------------------------------- */
[data-aos] {
  transition: all 0.6s ease-in-out;
}

/* ===== Navigation (menú principal) ===== */
.main-navigation {
  /* Botón cerrar (X) */
  /* === Overlay mobile === */
}
.main-navigation .menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-navigation .menu li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  position: relative;
  padding-bottom: 0.25rem;
  transition: color 0.3s ease;
}
.main-navigation .menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #F9F4DA;
  transition: width 0.3s ease;
}
.main-navigation .menu li a:hover {
  color: #E6D8B8;
}
.main-navigation .menu li a:hover::after {
  width: 100%;
}
.main-navigation .menu .current-menu-item > a,
.main-navigation .menu .current_page_item > a {
  color: #D5C68E;
  font-weight: 600;
}
.main-navigation .menu .current-menu-item > a::after,
.main-navigation .menu .current_page_item > a::after {
  width: 100%;
}
.main-navigation .menu-close {
  display: none; /* oculto por defecto en escritorio */
}
@media (max-width: 980px) {
  .main-navigation {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background: linear-gradient(180deg, #505E59, #667D6D);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: left 0.4s ease;
    z-index: 999;
    /* Botón cerrar dentro del overlay */
  }
  .main-navigation.active {
    left: 0;
  }
  .main-navigation .menu {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  .main-navigation .menu li a {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
  }
  .main-navigation .menu li a::after {
    background: #fff;
  }
  .main-navigation .menu .current-menu-item > a,
  .main-navigation .menu .current_page_item > a {
    color: #fff;
  }
  .main-navigation .menu-close {
    display: block; /* visible solo en mobile */
    align-self: flex-end;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    margin-bottom: 2rem;
  }
}

/* ===== Botón hamburguesa ===== */
.menu-toggle {
  display: none;
  background: #fff;
  border: 2px solid #4f7a28;
  border-radius: 50%;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 0;
}
.menu-toggle svg {
  stroke: #4f7a28;
  width: 24px;
  height: 24px;
}
@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }
}

/* Ocultar submenús por defecto */
/* Cada item padre servirá como contenedor */
.main-navigation li {
  position: relative;
}

/* Submenús */
.main-navigation ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%; /* justo debajo del padre */
  left: 0; /* alineado al borde izquierdo del li padre */
  background-color: #505E59;
  padding: 15px 0px 10px 0px;
  margin-top: 0px;
  list-style: none;
  min-width: 180px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

/* Items del submenú */
.main-navigation > ul > li > ul {
  margin-left: 0px !important;
  padding-left: 0px !important;
}

.main-navigation ul.sub-menu li {
  padding: 8px 0px 8px 10px;
}

.main-navigation ul.sub-menu li a {
  color: #ffffff;
  text-decoration: none;
  display: block;
}

/* Mostrar al hacer hover */
.main-navigation li:hover > ul.sub-menu {
  display: block;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.post,
.page {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
}

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

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

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

/* 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;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/* Custom styles
--------------------------------------------- */
html, body {
  overflow-x: hidden;
}

.aos-wrapper {
  overflow-x: hidden;
}

[data-aos] {
  transition: all 0.6s ease-in-out;
}

.hero-slide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background-size: cover;
  background-position: center;
  padding-top: 0px !important;
  margin-top: 0px !important;
  min-height: 80vh;
  color: #fff;
  position: relative;
  overflow: initial;
  padding: 4rem 2rem;
}
.hero-slide.izquierda {
  flex-direction: row-reverse;
}
.hero-slide.derecha {
  flex-direction: row;
}
.hero-slide .hero-content {
  flex: 1;
  max-width: 50%;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
  padding-left: 40px;
}
.hero-slide .hero-content.anim-text {
  opacity: 1;
  transform: translateY(0);
}
.hero-slide .hero-content .botones {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.hero-slide .hero-content .botones a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}
.hero-slide .hero-content .btn-principal {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: #f9a825;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 164px 0px 140px 0px;
  transition: all 0.3s ease;
}
.hero-slide .hero-content .btn-principal:hover {
  background-color: rgb(228.7053571429, 143.7276785714, 6.2946428571);
  transform: scale(1.05);
}
.hero-slide .hero-content .hero-btn-img img {
  height: 60px;
  width: auto;
  display: block;
}
.hero-slide .hero-content .btn-secundario {
  background-color: #000;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  display: inline-block;
}
.hero-slide .hero-content .btn-secundario:hover {
  background-color: #222;
}
.hero-slide .hero-image {
  flex: 1;
  text-align: center;
  z-index: 2;
}
.hero-slide .hero-image img {
  max-height: 700px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  z-index: 2;
}
.hero-slide .hero-image.slide-up {
  animation: slideUp 1s ease-out forwards;
}
.hero-slide .hero-image.slide-left {
  animation: slideLeft 1s ease-out forwards;
}
.hero-slide .hero-image.fade-in {
  animation: fadeIn 1s ease-in-out forwards;
}
.hero-slide .hero-image.slide-right {
  animation: slideRight 1s ease-out forwards;
}

.transparent-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  background: transparent;
}

.normal-header {
  background: linear-gradient(135deg, rgba(255, 204, 112, 0.95), rgba(255, 147, 77, 0.95));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 100;
}

.container-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0rem 2rem 0rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.hero-slide h1,
.hero-slide h2,
.hero-slide p,
.hero-slide .texto-principal {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  .hero-slide {
    text-align: center;
    padding: 2rem 1rem;
    background-position: top right;
    background-size: cover;
  }
  .hero-slide h1, .hero-slide h2 {
    font-size: 1.8rem;
  }
  .hero-slide .texto-principal {
    font-size: 1rem;
  }
  .hero-slide img {
    max-width: 80%;
    height: auto;
  }
}
@media (max-width: 500px) {
  .hero-slide {
    padding-top: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 2rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-slide .hero-content {
    width: 100% !important;
  }
  .hero-slide .hero-content h1 {
    font-size: 1.8rem;
    line-height: 2.2rem;
  }
  .hero-slide .hero-content p {
    font-size: 1rem;
    line-height: 1.4rem;
    margin-bottom: 1.5rem;
  }
  .hero-slide .hero-content .botones {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }
  .hero-slide .hero-content .botones a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }
  .hero-slide .hero-content .botones a.btn-principal {
    width: 100%;
    height: 50px;
  }
  .hero-slide .hero-content .botones a.hero-btn-img {
    height: 50px;
  }
  .hero-slide .hero-content .botones a.hero-btn-img img {
    width: auto;
    height: 50px;
  }
  .hero-slide .hero-image {
    width: 100% !important;
  }
  .hero-slide .hero-image img {
    max-height: 450px;
    top: 2rem;
  }
  .hero-slide .imagen-hero {
    display: none;
  }
}
.topbar-funeraria {
  background-color: #111827;
  color: #ffffff;
  font-size: 14px;
  padding: 0.5rem 2.2rem;
}
.topbar-funeraria .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.topbar-funeraria .container > div {
  flex: 1 1 33%;
  text-align: center;
}
.topbar-funeraria .container > div span {
  display: inline-block;
}
.topbar-funeraria .container > div span i {
  margin-right: 6px;
  color: #cfa75e;
}
.topbar-funeraria .container .topbar-left {
  text-align: left;
}
.topbar-funeraria .container .topbar-center {
  text-align: center;
}
.topbar-funeraria .container .topbar-right {
  text-align: right;
}
@media (max-width: 768px) {
  .topbar-funeraria .container > div {
    flex: 1 1 100%;
    text-align: center !important;
    margin-bottom: 0.25rem;
  }
}

.topbar-social {
  background-color: #505E59;
  color: #fff;
  padding: 0.6rem 2.2rem;
}
.topbar-social .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.topbar-social .topbar-logo {
  display: flex;
  align-items: center;
}
.topbar-social .topbar-logo .custom-logo-link {
  display: flex;
  align-items: center;
}
.topbar-social .topbar-logo img {
  max-height: 100px;
  height: auto;
  width: auto;
}
.topbar-social .topbar-redes {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.topbar-social .topbar-redes a {
  color: #fff;
  font-size: 20px;
  line-height: 1;
  transition: color 0.3s ease;
  text-decoration: none;
}
.topbar-social .topbar-redes a:hover {
  color: #D5C68E;
}
.topbar-social .topbar-redes a i {
  font-weight: normal;
  font-style: normal;
  border: none;
  padding: 0;
  background: none;
}

@media (max-width: 768px) {
  .topbar-social {
    text-align: center;
    padding: 5px 0px 20px 0px !important;
  }
  .topbar-social .container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .topbar-social .topbar-logo {
    margin-bottom: 0.5rem;
  }
  .topbar-social .topbar-logo .custom-logo-link,
  .topbar-social .topbar-logo img {
    justify-content: center;
    margin: 0 auto;
  }
  .topbar-social .topbar-redes {
    justify-content: center;
    gap: 1.2rem;
  }
  .topbar-social .topbar-redes a {
    font-size: 22px;
  }
}
/* ===== Header (estructura general) ===== */
.site-header {
  background-color: #505E59;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 10;
}
.site-header .header-inner {
  display: flex;
  justify-content: center; /* Logo a la izq, nav/toggle a la der */
  align-items: center;
  padding: 0.75rem 1rem;
  gap: 2rem;
}
@media (min-width: 768px) {
  .site-header .header-inner {
    justify-content: center;
  }
}
.site-header .branding img {
  max-height: 110px; /* evita logo estirado */
  height: auto;
  width: auto;
  display: block;
}

[data-aos] {
  transition: all 0.6s ease-in-out;
}

/* ===== Navigation (menú principal) ===== */
.main-navigation {
  /* Botón cerrar (X) */
  /* === Overlay mobile === */
}
.main-navigation .menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-navigation .menu li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  position: relative;
  padding-bottom: 0.25rem;
  transition: color 0.3s ease;
}
.main-navigation .menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #F9F4DA;
  transition: width 0.3s ease;
}
.main-navigation .menu li a:hover {
  color: #E6D8B8;
}
.main-navigation .menu li a:hover::after {
  width: 100%;
}
.main-navigation .menu .current-menu-item > a,
.main-navigation .menu .current_page_item > a {
  color: #D5C68E;
  font-weight: 600;
}
.main-navigation .menu .current-menu-item > a::after,
.main-navigation .menu .current_page_item > a::after {
  width: 100%;
}
.main-navigation .menu-close {
  display: none; /* oculto por defecto en escritorio */
}
@media (max-width: 980px) {
  .main-navigation {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background: linear-gradient(180deg, #505E59, #667D6D);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: left 0.4s ease;
    z-index: 999;
    /* Botón cerrar dentro del overlay */
  }
  .main-navigation.active {
    left: 0;
  }
  .main-navigation .menu {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  .main-navigation .menu li a {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
  }
  .main-navigation .menu li a::after {
    background: #fff;
  }
  .main-navigation .menu .current-menu-item > a,
  .main-navigation .menu .current_page_item > a {
    color: #fff;
  }
  .main-navigation .menu-close {
    display: block; /* visible solo en mobile */
    align-self: flex-end;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    margin-bottom: 2rem;
  }
}

/* ===== Botón hamburguesa ===== */
.menu-toggle {
  display: none;
  background: #fff;
  border: 2px solid #4f7a28;
  border-radius: 50%;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 0;
}
.menu-toggle svg {
  stroke: #4f7a28;
  width: 24px;
  height: 24px;
}
@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }
}

/* Ocultar submenús por defecto */
/* Cada item padre servirá como contenedor */
.main-navigation li {
  position: relative;
}

/* Submenús */
.main-navigation ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%; /* justo debajo del padre */
  left: 0; /* alineado al borde izquierdo del li padre */
  background-color: #505E59;
  padding: 15px 0px 10px 0px;
  margin-top: 0px;
  list-style: none;
  min-width: 180px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

/* Items del submenú */
.main-navigation > ul > li > ul {
  margin-left: 0px !important;
  padding-left: 0px !important;
}

.main-navigation ul.sub-menu li {
  padding: 8px 0px 8px 10px;
}

.main-navigation ul.sub-menu li a {
  color: #ffffff;
  text-decoration: none;
  display: block;
}

/* Mostrar al hacer hover */
.main-navigation li:hover > ul.sub-menu {
  display: block;
}

.blog-section {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 5rem 1rem;
}
.blog-section .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.blog-section .titulo-blog {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #333;
}
.blog-section .blog-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.blog-section .blog-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  width: 100%;
  max-width: 340px;
  padding: 1.5rem;
}
.blog-section .blog-card img {
  border-radius: 8px;
  margin-bottom: 1rem;
}
.blog-section .blog-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #222;
}
.blog-section .blog-card .excerpt {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
}
.blog-section .blog-card .leer-mas {
  color: #f4b400;
  font-weight: 600;
  text-decoration: none;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.4rem;
  border-radius: 28px;
  font-weight: 600;
  text-decoration: none;
}
.btn--primary {
  background: #2e6b1c;
  color: #fff;
}
.btn--ghost {
  background: transparent;
  border: 2px solid currentColor;
}

.servicios-home {
  padding: 4rem 0;
  background-color: #f4f1ec;
}
.servicios-home .seccion-titulo {
  font-size: 2.2rem;
  font-weight: bold;
  color: #111827;
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.servicios-home .home-blog-text {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #5e5e5e;
}
.servicios-home .row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.servicios-home .content-full-service {
  padding: 40px;
}
.servicios-home .col-md-6 {
  width: calc(50% - 1rem);
  min-height: 400px;
}
.servicios-home .servicio-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  overflow: hidden;
  color: #fff;
  min-height: 400px;
}
.servicios-home .servicio-card .servicio-text {
  background-color: rgba(17, 24, 39, 0.85);
  width: 55%;
  padding: 0rem 2rem 0rem 2rem;
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}
.servicios-home .servicio-card .servicio-text .servicio-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
  padding: 0px 0px 4px 0px !important;
  margin: 0px !important;
  text-transform: uppercase;
}
.servicios-home .servicio-card .servicio-text .servicio-extracto {
  font-size: 1rem;
  color: #d1d5db;
  margin-bottom: 1.2rem;
  max-height: none;
  overflow: visible;
  text-overflow: unset;
}
.servicios-home .servicio-card .servicio-text .btn {
  background-color: #d9b680;
  color: #111827;
  font-weight: bold;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  border: none;
  width: fit-content;
  transition: background-color 0.3s ease;
}
.servicios-home .servicio-card .servicio-text .btn:hover {
  background-color: #c8a465;
}
@media (max-width: 768px) {
  .servicios-home .col-md-6 {
    width: 100%;
  }
  .servicios-home .servicio-card {
    height: auto;
    flex-direction: column;
    background-position: center;
  }
  .servicios-home .servicio-card .servicio-text {
    width: 100%;
    border-radius: 0;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .servicios-home .servicio-card {
    min-height: 400px;
  }
  .servicios-home .servicio-card .servicio-text {
    justify-content: flex-start !important;
    height: 100%;
    min-height: 400px;
  }
  .servicios-home .servicio-card .servicio-extracto {
    overflow: visible;
    text-overflow: unset;
    max-height: none;
  }
}
.seccion-info-boton {
  padding: 4rem 40px;
  color: #fff;
  background-color: #1d1e35;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.seccion-info-boton .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.seccion-info-boton .textos {
  flex: 1 1 65%;
  max-width: 70%;
}
.seccion-info-boton .textos h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.seccion-info-boton .textos p {
  font-size: 1rem;
  margin: 0;
}
.seccion-info-boton .btn-seccion-info {
  flex: 1 1 25%;
  max-width: 30%;
  text-align: center;
  background-color: #c8ab74;
  color: #fff;
  padding: 1rem 2rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border: none;
  border-radius: 0;
  display: inline-block;
}
.seccion-info-boton .btn-seccion-info:hover {
  background-color: #b99a61;
}
@media (max-width: 768px) {
  .seccion-info-boton .container {
    flex-direction: column;
    text-align: center;
  }
  .seccion-info-boton .textos,
  .seccion-info-boton .btn-seccion-info {
    max-width: 100%;
  }
  .seccion-info-boton .btn-seccion-info {
    margin-top: 1.5rem;
  }
}

.planes-servicio {
  padding: 4rem 0;
  background-size: cover;
  background-position: center;
  color: #1f2937;
}
.planes-servicio .section-title {
  font-size: 2.4rem;
  text-align: center;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.planes-servicio .section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
  line-height: 1.6;
}
.planes-servicio .planes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding-left: 30px;
  padding-right: 30px;
}
.planes-servicio .plan-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.planes-servicio .plan-card:hover {
  transform: translateY(-5px);
}
.planes-servicio .plan-card .plan-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.planes-servicio .plan-card .plan-date {
  font-size: 0.85rem;
  color: #b08968;
  margin: 1rem 1.5rem 0 1.5rem;
}
.planes-servicio .plan-card .plan-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0.5rem 1.5rem;
}
.planes-servicio .plan-card .plan-excerpt {
  font-size: 1rem;
  margin: 0.5rem 1.5rem 1rem;
  color: #4b5563;
}
.planes-servicio .plan-card .btn {
  margin: auto 1.5rem 1.5rem;
  align-self: flex-start;
  background: transparent;
  border: 2px solid #1f2937;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-weight: 500;
  color: #1f2937;
  text-decoration: none;
  transition: all 0.3s ease;
}
.planes-servicio .plan-card .btn:hover {
  background: #1f2937;
  color: #fff;
}
@media (max-width: 768px) {
  .planes-servicio {
    padding: 3rem 1.5rem;
  }
}

.seccion-capillas {
  padding: 4rem 0;
}
.seccion-capillas .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.seccion-capillas .container h2 {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}
.seccion-capillas .descripcion {
  font-size: 1rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.seccion-capillas .capillas-lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.seccion-capillas .capilla-card {
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.seccion-capillas .capilla-card:hover {
  transform: translateY(-5px);
}
.seccion-capillas .capilla-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #111827;
}
.seccion-capillas .capilla-card .capilla-imagen img {
  border-radius: 6px;
  width: 100%;
  height: auto;
}
.seccion-capillas .capilla-card p {
  margin: 0;
  font-size: 0.95rem;
}
.seccion-capillas .capilla-card p strong {
  display: inline-block;
  min-width: 90px;
  color: #1f2937;
}
.seccion-capillas .capilla-card .servicios {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.seccion-capillas .capilla-card .servicios .barra-servicio {
  background-color: #111827;
  color: #ffffff;
  padding: 6px 10px;
  font-weight: 500;
  border-radius: 4px;
  width: fit-content;
}
.seccion-capillas .capilla-card .btn-ingresar-capilla {
  margin-top: auto;
  align-self: flex-start;
  background-color: #111827;
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 8px 0 8px 0;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: 0.3s ease;
}
.seccion-capillas .capilla-card .btn-ingresar-capilla:hover {
  background-color: #eab308;
  color: #111827;
  transition: 0.5s ease;
}

.home-blog {
  padding: 60px 20px;
  color: #fff;
}

.home-blog-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 15px;
}

.home-blog-text {
  text-align: center;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Blog Section ===== */
.home-blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.blog-card {
  background: #fff;
  color: #333;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease; /* quitamos transform */
}

.blog-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Imagen con efecto hover */
.blog-card-image {
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.1);
}

/* Contenido */
.blog-card-content {
  padding: 20px;
  text-align: left;
}

.blog-card-content h3 a {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card-content h3 a:hover {
  color: #2e7d32; /* verde como en los servicios */
}

.blog-card-content .date {
  font-size: 0.9rem;
  color: #888;
  display: block;
  margin-bottom: 12px;
}

.blog-card-content p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #555;
}

/* Botón Leer más */
.blog-card-content .read-more {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  background-color: #f97316; /* naranja como los botones de servicios */
  color: #fff;
  transition: all 0.3s ease;
}

.blog-card-content .read-more:hover {
  background-color: #d95c00;
  transform: scale(1.05);
}

.formulario-servicio {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
}
.formulario-servicio .formulario-overlay {
  position: relative;
  width: 100%;
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.formulario-servicio .formulario-contenido {
  max-width: 1100px;
  width: 100%;
  z-index: 2;
}
.formulario-servicio .formulario-contenido form.wpcf7-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}
.formulario-servicio .formulario-contenido form.wpcf7-form p {
  width: 48%;
  margin: 0;
  color: #ffffff;
}
.formulario-servicio .formulario-contenido form.wpcf7-form p:nth-child(6) {
  width: 100%;
}
.formulario-servicio .formulario-contenido form.wpcf7-form p:nth-child(7) {
  width: 100%;
}
.formulario-servicio .formulario-contenido form.wpcf7-form input,
.formulario-servicio .formulario-contenido form.wpcf7-form textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 5px;
  border: none;
  box-sizing: border-box;
}
.formulario-servicio .formulario-contenido form.wpcf7-form textarea {
  min-height: 250px;
}
.formulario-servicio .formulario-contenido form.wpcf7-form input[type=submit] {
  width: 100%;
  padding: 0.8rem 1.5rem;
  background-color: #fff;
  color: #000;
  cursor: pointer;
  border: none;
  transition: background 0.3s ease;
  margin: 0px auto;
  text-align: center;
}
.formulario-servicio .formulario-contenido form.wpcf7-form input[type=submit]:hover {
  background-color: #f1f1f1;
}

.bread-general {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 1rem;
  margin-top: 20px;
}
.bread-general a {
  color: #374151;
  text-decoration: none;
}
.bread-general a:hover {
  color: #111827;
  text-decoration: underline;
}
.bread-general span {
  color: #9ca3af;
}

.contenedor-post {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.contenido-post {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}
.contenido-post h1, .contenido-post h2, .contenido-post h3 {
  color: #222;
  margin-top: 1.5rem;
}
.contenido-post p {
  margin-bottom: 1rem;
}
.contenido-post img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
  border-radius: 0.5rem;
}
.contenido-post a {
  color: #0073aa;
  text-decoration: underline;
}
.contenido-post a:hover {
  color: #005077;
}
.contenido-post ul, .contenido-post ol {
  padding-left: 2rem;
  margin-bottom: 1rem;
}
.contenido-post blockquote {
  font-style: italic;
  border-left: 4px solid #ccc;
  padding-left: 1rem;
  margin: 1.5rem 0;
}

.single-capilla {
  padding: 0 0 30px 0;
}
.single-capilla .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}
.single-capilla .titulo-capilla {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.single-capilla .capilla-imagen-principal {
  margin-bottom: 2rem;
}
.single-capilla .capilla-imagen-principal img {
  width: 100%;
  border-radius: 10px;
}
.single-capilla .capilla-detalles p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.single-capilla .capilla-detalles p strong {
  color: #1f2937;
  font-weight: 600;
}
.single-capilla .capilla-servicios {
  margin-top: 2rem;
}
.single-capilla .capilla-servicios h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}
.single-capilla .capilla-servicios ul {
  padding-left: 1.5rem;
}
.single-capilla .capilla-servicios ul li {
  list-style-type: disc;
  margin-bottom: 0.4rem;
  color: #374151;
}
.single-capilla .capilla-galeria {
  margin-top: 3rem;
}
.single-capilla .capilla-galeria h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.single-capilla .capilla-galeria .galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.single-capilla .capilla-galeria .galeria-grid .galeria-item img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.single-capilla .capilla-galeria .galeria-grid .galeria-item img:hover {
  transform: scale(1.05);
}
.single-capilla .capilla-contenido {
  margin-top: 2.5rem;
  line-height: 1.8;
  color: #374151;
}
.single-capilla .btn-volver {
  display: inline-block;
  margin-top: 3rem;
  background-color: #111827;
  color: #fff;
  padding: 0.7rem 1.3rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}
.single-capilla .btn-volver:hover {
  background-color: #eab308;
  color: #111827;
}

.archive-capillas {
  padding: 0 0 0 0;
}
.archive-capillas .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.archive-capillas .titulo-archivo {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  text-align: center;
  color: #1f2937;
}
.archive-capillas .capillas-lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.archive-capillas .capilla-card {
  background-color: #f9fafb;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease;
}
.archive-capillas .capilla-card:hover {
  transform: translateY(-4px);
}
.archive-capillas .capilla-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.archive-capillas .capilla-card .capilla-imagen img {
  width: 100%;
  border-radius: 6px;
}
.archive-capillas .capilla-card p {
  font-size: 0.95rem;
  margin: 0;
}
.archive-capillas .capilla-card p strong {
  color: #111827;
}
.archive-capillas .capilla-card .servicios {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.archive-capillas .capilla-card .servicios .barra-servicio {
  background-color: #eab308;
  color: #111827;
  padding: 6px 10px;
  border-radius: 4px;
  font-weight: 500;
  width: fit-content;
}
.archive-capillas .capilla-card .btn-ingresar-capilla {
  align-self: flex-start;
  background-color: #111827;
  color: white;
  padding: 0.6rem 1.1rem;
  border-radius: 8px 0 8px 0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  margin-top: auto;
}
.archive-capillas .capilla-card .btn-ingresar-capilla:hover {
  background-color: #eab308;
  color: #111827;
}

.paginacion-capillas {
  margin-top: 3rem;
  text-align: center;
}
.paginacion-capillas .page-numbers {
  display: inline-block;
  margin: 0 6px;
  padding: 8px 12px;
  background-color: #f3f4f6;
  color: #1f2937;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s;
}
.paginacion-capillas .page-numbers.current {
  background-color: #eab308;
  color: #111827;
  font-weight: bold;
}
.paginacion-capillas .page-numbers:hover:not(.current) {
  background-color: #d1d5db;
}

.archive-ataudes-urnas {
  padding: 4rem 2rem;
}
.archive-ataudes-urnas .titulo-archive {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  font-weight: bold;
}
.archive-ataudes-urnas .grid-ataudes-urnas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.archive-ataudes-urnas .card-caja {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease-in-out;
}
.archive-ataudes-urnas .card-caja:hover {
  transform: translateY(-5px);
}
.archive-ataudes-urnas .card-caja .img-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.archive-ataudes-urnas .card-caja .info-card {
  padding: 1rem;
}
.archive-ataudes-urnas .card-caja .info-card h3 {
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
  color: #111827;
}
.archive-ataudes-urnas .card-caja .info-card h3 a {
  color: inherit;
  text-decoration: none;
}
.archive-ataudes-urnas .card-caja .info-card h3 a:hover {
  text-decoration: underline;
}
.archive-ataudes-urnas .card-caja .info-card p {
  font-size: 0.95rem;
  color: #555;
}
.archive-ataudes-urnas .card-caja .info-card .galeria-mini {
  display: flex;
  gap: 0.3rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}
.archive-ataudes-urnas .card-caja .info-card .galeria-mini img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.obituario-archive {
  padding: 80px 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.obituario-archive .obituario-header {
  text-align: center;
  margin-bottom: 50px;
}
.obituario-archive .obituario-header .obituario-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.obituario-archive .obituario-header .obituario-desc {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #555;
}
.obituario-archive .obituario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 30px;
}
.obituario-archive .obituario-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.obituario-archive .obituario-card:hover {
  transform: translateY(-5px);
}
.obituario-archive .obituario-card .obituario-thumb img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}
.obituario-archive .obituario-card .obituario-content {
  padding: 1.5rem;
}
.obituario-archive .obituario-card .obituario-content .obituario-name {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #222;
}
.obituario-archive .obituario-card .obituario-content .obituario-excerpt {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.2rem;
}
.obituario-archive .obituario-card .obituario-content .btn-obituario {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  background-color: #222;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}
.obituario-archive .obituario-card .obituario-content .btn-obituario:hover {
  background-color: #555;
}
.obituario-archive .obituario-pagination {
  text-align: center;
  margin-top: 40px;
}
.obituario-archive .obituario-pagination .page-numbers {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 14px;
  background: #eee;
  color: #333;
  border-radius: 4px;
  text-decoration: none;
}
.obituario-archive .obituario-pagination .page-numbers.current {
  background: #333;
  color: #fff;
}
.obituario-archive .obituario-pagination .page-numbers:hover {
  background: #666;
  color: #fff;
}

.single-ataudes-urnas {
  padding: 4rem 2rem;
}
.single-ataudes-urnas .contenido-single {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.single-ataudes-urnas .contenido-single .info-textual {
  text-align: center;
}
.single-ataudes-urnas .contenido-single .info-textual .titulo {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.single-ataudes-urnas .contenido-single .info-textual .tipo {
  font-size: 1.2rem;
  color: #888;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: 500;
}
.single-ataudes-urnas .contenido-single .info-textual .descripcion {
  font-size: 1.1rem;
  color: #444;
  max-width: 800px;
  margin: 0 auto;
}
.single-ataudes-urnas .contenido-single .imagenes-principales {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.single-ataudes-urnas .contenido-single .imagenes-principales .imagen-box {
  flex: 1 1 300px;
}
.single-ataudes-urnas .contenido-single .imagenes-principales .imagen-box img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  max-height: 350px;
}
.single-ataudes-urnas .contenido-single .galeria-imagenes h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}
.single-ataudes-urnas .contenido-single .galeria-imagenes .galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.single-ataudes-urnas .contenido-single .galeria-imagenes .galeria-grid .galeria-item img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.single-ataudes-urnas .contenido-single .galeria-imagenes .galeria-grid .galeria-item img:hover {
  transform: scale(1.05);
}
.single-ataudes-urnas .contenido-single .btn-volver {
  text-align: center;
  margin-top: 2rem;
}
.single-ataudes-urnas .contenido-single .btn-volver .btn {
  background-color: #111827;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}
.single-ataudes-urnas .contenido-single .btn-volver .btn:hover {
  background-color: #333;
}

.home-ataudes-urnas {
  padding: 4rem 2rem;
  background-repeat: no-repeat;
}
.home-ataudes-urnas .contenido-ataudes-urnas {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: stretch;
}
.home-ataudes-urnas .contenido-ataudes-urnas .columna-texto {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-ataudes-urnas .contenido-ataudes-urnas .columna-texto .titulo {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.home-ataudes-urnas .contenido-ataudes-urnas .columna-texto .descripcion {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}
.home-ataudes-urnas .contenido-ataudes-urnas .columna-imagenes {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.home-ataudes-urnas .contenido-ataudes-urnas .columna-imagenes img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  max-height: 300px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.home-ataudes-urnas .btn-ver-todos {
  margin-top: 2rem;
  text-align: center;
}
.home-ataudes-urnas .btn-ver-todos .btn {
  background-color: #111827;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}
.home-ataudes-urnas .btn-ver-todos .btn:hover {
  background-color: #333;
}
@media (max-width: 768px) {
  .home-ataudes-urnas .contenido-ataudes-urnas {
    flex-direction: column;
  }
  .home-ataudes-urnas .contenido-ataudes-urnas .columna-texto {
    text-align: center;
    align-items: center;
  }
  .home-ataudes-urnas .contenido-ataudes-urnas .columna-imagenes img {
    max-height: 250px;
  }
}

.pagina-contenido {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.pagina-contenido .entry-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}
.pagina-contenido .entry-content {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

/* Centrar encabezado en CPT */
.page-header {
  text-align: center;
  margin: 2rem 0;
}

.page-header .page-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
}

/* Asegurar que el contenido del CPT quede bien */
.ss-content.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 2rem;
  line-height: 1.7;
}

#scrollToTop {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 999;
  background-color: #e69900;
  color: #fff;
  border: none;
  padding: 12px 16px;
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  transition: opacity 0.3s;
}

#scrollToTop:hover {
  background-color: #555;
}

.site-footer {
  background-color: #fff;
  color: #2e3b36;
}
.site-footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  text-align: center;
}
.site-footer .footer-left,
.site-footer .footer-right {
  flex: 1 1 300px;
}
.site-footer .footer-logo {
  max-width: 160px;
  margin-bottom: 1rem;
}
.site-footer .footer-social {
  margin-top: 1rem;
}
.site-footer .footer-social a {
  margin: 0 0.5rem;
  font-size: 1.5rem;
  color: #455b52;
  transition: color 0.3s;
}
.site-footer .footer-social a:hover {
  color: #bfae6f;
}
.site-footer .footer-right p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.site-footer .footer-right .footer-suscribete {
  color: #bfae6f;
  text-decoration: underline;
  font-weight: 500;
}
.site-footer .footer-right .footer-suscribete:hover {
  color: #8c7b44;
}
.site-footer .footer-bottom {
  background-color: #505E59;
  color: #fff;
  text-align: center;
  padding-bottom: 4rem;
  font-size: 0.875rem;
  vertical-align: middle;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px;
  flex-direction: row;
}
.site-footer .footer-bottom p {
  justify-content: center;
  margin-top: 50px;
}
