/* ================================================================
   RETROGUSTO COFFEEMATES — Estilos compartidos
   Fuentes: Montserrat (headings/nav), Pontano Sans (body),
            Abril Fatface (números y tagline)
   Colores: #333333 header | #EC7A5C accent | #993300 métodos
            #F4F4F4 secciones claras | #868686 footer text
================================================================ */

/* ---- Reset -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'Pontano Sans', sans-serif;
  font-size: 16px;
  color: #222222;
  background: #ffffff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; color: #000; }

/* ---- Header ------------------------------------------------- */
#masthead {
  background: #333333;
  position: sticky; top: 0; z-index: 900;
  padding: 15px 0;
}
.site-header-wrapper {
  max-width: 1680px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 40px;
}
.site-branding img.site-logo { height: 40px; width: auto; }

.main-navigation ul  { display: flex; gap: 50px; align-items: center; }
.main-navigation a   {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px; color: #ffffff;

  transition: color .2s;
}
.main-navigation a:hover,
.main-navigation a.active { color: #EC7A5C; }

.mobile-menu-btn {
  display: none; background: none; border: none;
  color: #fff; font-family: 'Montserrat', sans-serif;
  font-size: 13px; cursor: pointer; align-items: center; gap: 6px;
}

@media (max-width: 1023px) {
  .main-navigation { display: none; }
  .main-navigation.open {
    display: block; position: fixed;
    top: 70px; right: 0; bottom: 0; left: 0;
    background: #333; z-index: 800; padding: 40px 24px;
    overflow-y: auto;
  }
  .main-navigation.open ul { flex-direction: column; gap: 24px; }
  .main-navigation.open a  { font-size: 18px; }
  .mobile-menu-btn { display: flex; }
}

/* ---- Page header banner (interior pages) ------------------- */
.page-banner {
  background: #333333;
  padding: 60px 24px;
  text-align: center;
}
.page-banner h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700; color: #ffffff;
  letter-spacing: 2px; text-transform: uppercase;
}
.page-banner.with-bg {
  min-height: 300px;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}

/* ---- Shared section utilities ------------------------------ */
.section-cream  { background: #f4f4f4; }
.section-white  { background: #ffffff; }
.section-brown  { background: #993300; }
.section-dark   { background: #333333; }

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px; font-weight: 300; color: #999;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 34px; display: block;
}
.section-label.white { color: #ffffff; }

/* ---- Footer ------------------------------------------------- */
.footer-socials { display: flex; gap: 20px; justify-content: center; }
.footer-socials li { list-style: none; }
.footer-socials a { color: #333333; font-size: 20px; transition: color .2s; }
.footer-socials a:hover { color: #EC7A5C; }

#site-footer { background: #F4F4F4; padding: 32px 24px; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.footer-nav ul { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-nav a  {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; color: #333333; transition: color .2s;
}
.footer-nav a:hover { color: #EC7A5C; }
.copyright_text { font-family: 'Pontano Sans', sans-serif; font-size: 13px; color: #868686; }
.copyright_text a { color: #333333; }

/* ---- Cookie banner ----------------------------------------- */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #333333; color: #fff;
  padding: 18px 24px; z-index: 9999;
  border-top: 3px solid #EC7A5C;
  box-shadow: 0 -4px 20px rgba(0,0,0,.35);
  transform: translateY(100%);
  transition: transform .4s ease;
}
#cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cookie-text {
  flex: 1; min-width: 240px;
  font-family: 'Pontano Sans', sans-serif;
  font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.85);
}
.cookie-text strong { color: #EC7A5C; }
.cookie-text a { color: #EC7A5C; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn-cookie {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 9px 18px;
  border: none; cursor: pointer; transition: opacity .2s;
}
.btn-cookie:hover { opacity: .85; }
.btn-accept   { background: #EC7A5C; color: #fff; }
.btn-reject   { background: transparent; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.3); }
.btn-settings-cookie { background: transparent; color: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.15); font-size: 10px; }

/* ---- Cookie modal ------------------------------------------ */
#cookie-modal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.65); z-index: 10000;
  align-items: center; justify-content: center; padding: 24px;
}
#cookie-modal.open { display: flex; }
.modal-box {
  background: #fff; color: #222;
  max-width: 540px; width: 100%;
  padding: 36px 32px; border-top: 4px solid #EC7A5C;
  max-height: 90vh; overflow-y: auto;
}
.modal-box h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: #333; margin-bottom: 8px;
}
.modal-box > p {
  font-family: 'Pontano Sans', sans-serif;
  font-size: 13px; color: #888; margin-bottom: 24px; line-height: 1.7;
}
.cookie-cat { border-top: 1px solid #e8e2d6; padding: 16px 0; }
.cookie-cat-hd {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 6px;
}
.cookie-cat-hd h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: #333;
}
.cookie-cat p { font-family: 'Pontano Sans', sans-serif; font-size: 12px; color: #aaa; line-height: 1.6; }
.toggle { position: relative; width: 42px; height: 22px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: #ccc; border-radius: 22px; transition: .3s;
}
.toggle-slider::before {
  content: ''; position: absolute;
  height: 16px; width: 16px; left: 3px; bottom: 3px;
  background: #fff; border-radius: 50%; transition: .3s;
}
.toggle input:checked   + .toggle-slider { background: #EC7A5C; }
.toggle input:checked   + .toggle-slider::before { transform: translateX(20px); }
.toggle input:disabled  + .toggle-slider { opacity: .6; cursor: not-allowed; }
.modal-btns { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.btn-save {
  background: #EC7A5C; color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 11px 22px;
  border: none; cursor: pointer; transition: opacity .2s;
}
.btn-save:hover { opacity: .85; }
.btn-accept-all {
  background: #333; color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; padding: 11px 22px;
  border: none; cursor: pointer; transition: opacity .2s;
}
.btn-accept-all:hover { opacity: .85; }

/* ================================================================
   HOME — index.html
================================================================ */
.hero-section {
  min-height: 900px;
  background-image: url('http://retrogustocoffeemates.com/wp-content/uploads/2014/11/INICIO_Chemex_retrogusto.jpg');
  background-position: right center; background-size: cover;
  display: flex; align-items: center; justify-content: center;
}
.hero-inner { text-align: center; padding: 60px 24px; }
.hero-icon   { width: 150px; height: 150px; object-fit: contain; margin: 0 auto; }
.hero-title  {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 6vw, 56px); font-weight: 700;
  color: #000000; margin-top: 8px;
}
.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; color: #fff; letter-spacing: 1px; margin-top: 4px;
}
.hero-tagline {
  font-family: 'Abril Fatface', serif;
  font-size: clamp(16px, 2.5vw, 24px);
  color: #000000; margin-top: 24px;
}
.intro-section { background: #ffffff; padding: 15% 24px 15%; text-align: center; }
.intro-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700; color: #999;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px;
}
.intro-h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 4vw, 40px); font-weight: 700;
  line-height: 1.2; text-transform: uppercase;
}
.intro-h1 .accent { color: #993300; }

/* Product rows */
.products-section { background: #fff; }
.product-row {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 400px;
}
.product-row .img-col img { width: 100%; height: 100%; object-fit: cover; }
.product-row .text-col {
  display: flex; align-items: center; justify-content: center;
  padding: 15% 15% 15% 15px;
}
.product-row.reverse .text-col { padding: 15% 15px 15% 15%; order: -1; }
.product-row h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(15px, 1.8vw, 22px); font-weight: 700;
  text-transform: uppercase; text-align: center; line-height: 1.4;
}
@media (max-width: 768px) {
  .product-row { grid-template-columns: 1fr; min-height: auto; }
  .product-row .img-col img { height: 250px; }
  .product-row .text-col,
  .product-row.reverse .text-col { order: 0; padding: 32px 24px; }
}

/* Variables & métodos */
.variables-section { background: #fff; padding: 7% 24px; text-align: center; }
.icons-row {
  display: flex; justify-content: center;
  gap: 12%; flex-wrap: wrap; margin-bottom: 10px;
}
.icon-item { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.icon-item img { width: 150px; height: 150px; object-fit: contain; }
.icon-item h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; font-weight: 700; text-transform: uppercase;
}
.methods-section { background: #993300; padding: 7% 24px; text-align: center; }
.methods-section .icon-item h2 { color: #fff; }

/* Qué nos define */
.define-section { background: #ffffff; padding: 10% 24px 10%; text-align: center; }
.define-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px; font-weight: 300; color: #999;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px;
}
.define-section h1 {
  font-size: clamp(28px, 4vw, 30px); font-weight: 100; margin-bottom: 40px;
}
.define-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px;
}
.define-item {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 0 8px; align-items: start;
  margin-bottom: 20%; padding-right: 3%; text-align: left;
}
.define-number {
  font-family: 'Abril Fatface', serif;
  font-size: 50px; color: #000; line-height: 1; padding-top: 8px;
}
.define-item h3 { font-size: 30px; font-weight: 100; color: #EC7A5C; margin-bottom: 8px; text-transform: none; }
.define-item p  { font-size: 18px; color: #222; line-height: 1.6; }
.define-footer  {
  max-width: 1200px; margin: 20px auto 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px; font-weight: 300; letter-spacing: 1px;
  text-transform: uppercase; color: #EC7A5C; text-align: center; padding: 0 3%;
}
@media (max-width: 640px) { .define-grid { grid-template-columns: 1fr; } }

/* ================================================================
   SERVICIOS — servicios.html
================================================================ */
.servicios-banner {
  min-height: 340px;
  background-image: url('http://retrogustocoffeemates.com/wp-content/uploads/2016/03/restrogusto_1.jpg');
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.servicios-banner h1 { color: #fff; font-size: clamp(28px,5vw,52px); font-weight:700; letter-spacing:3px; text-transform:uppercase; text-shadow: 0 2px 8px rgba(0,0,0,.4); }

.servicios-grid {
  max-width: 1100px; margin: 0 auto;
  padding: 60px 24px;
}
.servicios-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin-bottom: 0;
}
.servicios-block + .servicios-block { border-top: 1px solid #e8e2d6; }

.servicio-bg {
  min-height: 340px;
  background-size: cover; background-position: center;
}
.servicio-bg-1 { background-image: url('http://retrogustocoffeemates.com/wp-content/uploads/2016/03/restrogusto_1.jpg'); }
.servicio-bg-2 { background-image: url('http://retrogustocoffeemates.com/wp-content/uploads/2016/03/restrogusto_7.jpg'); }

.servicio-content {
  padding: 10% 15%;
  display: flex; flex-direction: column; justify-content: center;
}
.servicio-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700; color: #999;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px;
}
.servicio-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(20px, 2.5vw, 32px); font-weight: 700;
  text-transform: uppercase; margin-bottom: 32px;
  color: #000;
}
.servicio-items { display: flex; flex-direction: column; gap: 24px; }
.servicio-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px; font-weight: 700; color: #EC7A5C;
  text-transform: uppercase; margin-bottom: 6px;
}
.servicio-item p { font-size: 14px; color: #555; line-height: 1.6; }
.btn-contacta {
  display: inline-block;
  margin-top: 32px;
  background: #EC7A5C; color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 12px 28px;
  transition: opacity .2s;
}
.btn-contacta:hover { opacity: .85; }

@media (max-width: 768px) {
  .servicios-block { grid-template-columns: 1fr; }
  .servicio-bg { min-height: 220px; }
  .servicio-content { padding: 40px 24px; }
  .servicios-block.reverse .servicio-bg { order: -1; }
}

/* ================================================================
   NOSOTRAS — nosotras.html
================================================================ */
.nosotras-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 70px);
}
.nosotras-hero-img { overflow: hidden; }
.nosotras-hero-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.nosotras-hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px 8%;
}
.nosotras-hero-text h1 {
  font-family: 'Abril Fatface', serif;
  font-size: clamp(32px, 4vw, 64px);
  font-weight: 400; color: #000;
  line-height: 1.1; margin-bottom: 24px;
}
.nosotras-subtitulo {
  font-family: 'Pontano Sans', sans-serif;
  font-size: 16px; color: #444;
  margin-bottom: 24px;
}
.nosotras-hero-text p {
  font-size: 18px; line-height: 1.8; color: #444; margin-bottom: 14px;
}
.nosotras-hero-text a { color: #EC7A5C; text-decoration: underline; }

.nosotras-foto-equipo {
  width: 100%; /*max-height: 560px;*/ object-fit: cover; display: block;
}

.nosotras-team {
  background: #ffffff;
  padding: 48px 24px 60px;
}
.team-grid {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.team-member h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; font-weight: 700;
  color: #EC7A5C; margin-bottom: 8px;
}
.team-member p {
  font-family: 'Pontano Sans', sans-serif;
  font-size: 14px; color: #666; line-height: 1.5;
}

@media (max-width: 768px) {
  .nosotras-hero { grid-template-columns: 1fr; }
  .nosotras-hero-img img { max-height: 300px; }
  .nosotras-hero-text { padding: 40px 24px; }
  .team-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ================================================================
   NEWSLETTER — newsletter.html
================================================================ */
.newsletter-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 70px);
}
.newsletter-col-img { overflow: hidden; }
.newsletter-col-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.newsletter-col-form {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 10%;
}
.newsletter-col-form h1 {
  font-family: 'Abril Fatface', serif;
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 400; color: #000; margin-bottom: 24px;
}
.newsletter-col-form p {
  font-size: 15px; line-height: 1.7; color: #555; margin-bottom: 32px;
  text-align: center;
}
.newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.newsletter-field-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  color: #555; text-transform: uppercase; margin-bottom: 4px;
}
.newsletter-form input[type="email"] {
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(34,34,34,.2);
  font-family: 'Pontano Sans', sans-serif; font-size: 15px;
  outline: none; transition: border-color .2s;
  margin-bottom: 16px;
}
.newsletter-form input[type="email"]:focus { border-color: #EC7A5C; }
.newsletter-radio {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: #333; text-transform: uppercase; cursor: pointer;
  margin-bottom: 8px;
}
.newsletter-radio input[type="radio"] { accent-color: #EC7A5C; width: 16px; height: 16px; }
.btn-newsletter {
  background: #EC7A5C; color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 16px;
  border: none; cursor: pointer; transition: opacity .2s;
  margin-top: 16px; max-width: 220px;
}
.btn-newsletter:hover { opacity: .85; }

@media (max-width: 768px) {
  .newsletter-layout { grid-template-columns: 1fr; }
  .newsletter-col-img img { max-height: 300px; }
  .newsletter-col-form { padding: 48px 24px; }
  .btn-newsletter { max-width: 100%; }
}

/* ================================================================
   CONTACTA — contacta.html
================================================================ */
.contacta-hero {
  width: 100%; max-height: 420px; object-fit: cover; display: block;
}

.contacta-intro {
  text-align: center;
  padding: 48px 24px 32px;
  max-width: 700px; margin: 0 auto;
}
.contacta-intro p {
  font-family: 'Pontano Sans', sans-serif;
  font-size: 16px; color: #444; line-height: 1.7; margin-bottom: 12px;
}
.contacta-direccion {
  color: #EC7A5C !important;
  font-size: 15px !important;
}
.contacta-horario-txt {
  font-size: 14px !important; color: #888 !important;
}

.contacta-middle {
  display: grid; grid-template-columns: 1fr 1fr;
  max-width: 1100px; margin: 0 auto;
  padding: 20px 24px 60px; gap: 60px;
  align-items: center;
}
.contacta-plano img {
  width: 100%; height: auto; display: block;
}
.contacta-hablamos h3 {
  font-family: 'Pontano Sans', sans-serif;
  font-size: 20px; font-weight: 400; color: #000; margin-bottom: 16px;
}
.contacta-hablamos p {
  font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 20px;
}
.contacta-datos {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
}
.contacta-datos li {
  font-family: 'Pontano Sans', sans-serif;
  font-size: 14px; color: #444;
}
.contacta-datos a { color: #444; }
.contacta-datos a:hover { color: #EC7A5C; }

.parking-section {
  background: #f0f0f0; padding: 48px 24px; text-align: center;
}
.parking-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(18px, 2.5vw, 26px); font-weight: 700;
  color: #EC7A5C; letter-spacing: 2px; margin-bottom: 6px;
}
.parking-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; color: #EC7A5C; letter-spacing: 1px;
  margin-bottom: 32px;
}
.parking-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20%;
}
.parking-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  color: #000; margin-bottom: 4px;
}
.parking-item p { font-size: 13px; color: #666; }

@media (max-width: 768px) {
  .contacta-middle { grid-template-columns: 1fr; padding: 24px; gap: 32px; }
  .parking-grid { grid-template-columns: 1fr; }
}