/**
Theme Name: Astra Child Empresa Patato
Author: Alejandro García Juárez
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child-empresa-patato
Template: astra
*/

/* =========================================================
   Personalización de Empresa Patato (tema hijo de Astra)
   Estos cambios viven en el tema hijo: si se actualiza Astra
   no se pierden.
   ========================================================= */
:root{
  --ast-global-color-0:#B8641A; /* color de marca (enlaces y botones) */
  --ast-global-color-1:#8F4A10; /* hover */
  --ast-global-color-2:#1E2A44; /* títulos */
  --ast-global-color-3:#3F4A5A; /* texto */
  --ast-global-color-4:#FFFFFF; /* fondo principal */
  --ast-global-color-5:#F7F3EE; /* fondo claro */
  --ep-navy:#1E2A44;
  --ep-amber:#E8A33D;
}
h1,h2,h3,h4,.entry-title{color:var(--ep-navy);font-weight:700;letter-spacing:-.01em;}
.site-title a,.site-title a:hover{color:var(--ep-navy)!important;font-weight:800;}
.site-description{color:#7a8496;}
.ast-primary-header-bar,.main-header-bar{box-shadow:0 2px 14px rgba(30,42,68,.08);}
.main-header-menu .menu-link{font-weight:600;}
.main-header-menu .menu-item:hover>.menu-link,
.main-header-menu .current-menu-item>.menu-link{color:var(--ast-global-color-0)!important;}
.wp-block-button__link,.ast-button,input[type=submit],button.wpforms-submit{border-radius:8px!important;}
/* Tarjetas de servicios */
.ep-card{background:#fff;border-radius:14px;box-shadow:0 6px 24px rgba(30,42,68,.09);overflow:hidden;height:100%;}
.ep-card figure{margin:0!important;}
.ep-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;}
.ep-card .ep-card-body{padding:1.1rem 1.4rem 1.4rem;}
.ep-card h3{margin-top:0;font-size:1.25rem;}
.ep-section-light{background:#F7F3EE;}
.ep-cta{background:var(--ep-navy);color:#e8ecf4;border-radius:16px;}
.ep-cta h2{color:#fff;}
/* Pie de página */
.site-primary-footer-wrap,.site-below-footer-wrap{background:var(--ep-navy)!important;color:#d9deea;}
.site-below-footer-wrap a,.site-primary-footer-wrap a{color:var(--ep-amber);}
/* Redes sociales */
.wp-block-social-links .wp-social-link{transition:transform .15s ease;}
.wp-block-social-links .wp-social-link:hover{transform:translateY(-3px);}
/* Galería */
.fg-item-inner{border-radius:10px;overflow:hidden;}
@media (max-width:781px){ .ep-hero h1{font-size:2.1rem!important;} }

/* Ajustes de legibilidad y espaciado */
.ep-hero .wp-block-cover__inner-container,.ep-hero .wp-block-cover__inner-container p,.ep-hero h1{color:#fff!important;}
.ep-hero h1{font-size:clamp(2.1rem,4.5vw,3.4rem);line-height:1.15;max-width:760px;}
.ep-hero p{font-size:1.15rem;max-width:640px;}
.ep-hero .is-style-outline .wp-block-button__link{color:#fff!important;border-color:#fff!important;background:transparent!important;}
.ep-hero .is-style-outline .wp-block-button__link:hover{background:rgba(255,255,255,.12)!important;}
.ep-section{padding:64px 20px;}
.ep-section-light{padding:64px 20px;}
.ep-cta{padding:48px 28px;margin:48px auto 64px!important;max-width:1100px;}
.ep-cta p{color:#e8ecf4;}
.ep-cta .wp-block-social-links{justify-content:center;}
.ep-contact-card{padding:1.5rem 1.75rem;}
.ep-contact-card ul{list-style:none;padding-left:0;margin-left:0;}
.ep-contact-card li{margin-bottom:.6rem;}
.wp-block-latest-posts.is-grid li{background:#fff;border-radius:14px;box-shadow:0 6px 24px rgba(30,42,68,.08);padding:0 0 1.2rem;overflow:hidden;}
.wp-block-latest-posts.is-grid li>*:not(.wp-block-latest-posts__featured-image){margin-left:1.2rem;margin-right:1.2rem;}
.wp-block-latest-posts__featured-image img{width:100%;aspect-ratio:16/10;object-fit:cover;}
.wp-block-latest-posts__post-title{font-weight:700;color:var(--ep-navy);display:block;margin-top:.9rem;}

/* Alineación del bloque de portada con el contenedor de la cabecera */
.ep-hero .wp-block-cover__inner-container{max-width:1214px!important;width:100%;margin-left:auto!important;margin-right:auto!important;padding:0 20px;box-sizing:border-box;}
.ep-hero .wp-block-cover__inner-container>*{margin-left:0!important;margin-right:auto!important;}

/* Ajustes finales: ancho de la llamada a la acción y contraste del pie */
.entry-content .ep-cta,.entry-content > .ep-cta{max-width:1100px!important;width:auto;margin-left:auto!important;margin-right:auto!important;}
@media (max-width:1180px){ .entry-content .ep-cta{margin-left:20px!important;margin-right:20px!important;} }
.site-below-footer-wrap,.site-below-footer-wrap .ast-footer-copyright,.site-below-footer-wrap p{color:#c9d1e3!important;}
.ep-contact-card{height:auto!important;}
/* Botón del formulario de contacto con el color de la marca */
.wpforms-container button.wpforms-submit,.wpforms-container .wpforms-submit{background:#b8641a!important;border-color:#b8641a!important;color:#fff!important;}
.wpforms-container button.wpforms-submit:hover{background:#8f4a10!important;border-color:#8f4a10!important;}
