/*
Theme Name: Roatan Connections
Description: Roatan Connections theme.
Author: Roatan Connections
Template: Divi
Version: 1.0
*/

/* Brand buttons (Divi presets "RC Botón compra" / "RC Botón contorno"): fixed pill padding, no jump on hover */
body #page-container .et_pb_button[class*="preset--module--divi-button--default"],
body #page-container .et_pb_button[class*="preset--module--divi-button--rc-btn-"],
body #page-container .et_pb_button[class*="preset--module--divi-button--default"]:hover,
body #page-container .et_pb_button[class*="preset--module--divi-button--rc-btn-"]:hover {
	padding: 14px 28px !important;
	line-height: 1.2 !important;
	transition: background-color .2s ease, color .2s ease, filter .2s ease;
}
body #page-container .et_pb_button[class*="preset--module--divi-button--default"]:hover,
body #page-container .et_pb_button[class*="preset--module--divi-button--rc-btn-compra"]:hover { filter: brightness(.92); }

/* ===== Header (Theme Builder "Global Header") ===== */
.et-l--header { position: sticky; top: 0; z-index: 100; }
.admin-bar .et-l--header { top: 32px; }
@media (max-width: 782px) { .admin-bar .et-l--header { top: 46px; } }
.rc-header .et_pb_menu__logo img { max-height: 58px; width: auto; }
.rc-header .et_pb_menu__wrap { justify-content: flex-end; }
.rc-header .et-menu > li > a { padding-top: 22px; padding-bottom: 22px; }
.rc-header .et-menu > li.rc-menu-cta { margin-left: 10px; }
.rc-header .et-menu > li.rc-menu-cta > a {
	background: var(--gcid-a28b35d1-6e67-4d4c-9346-67cdbd1fa129);
	color: #fff !important; padding: 12px 24px !important; border-radius: 999px; font-weight: 500; opacity: 1 !important;
}
.rc-header .et-menu > li.rc-menu-cta > a:hover { filter: brightness(.92); }

/* ===== Footer (Theme Builder "Global Footer") ===== */
.rc-footer, .rc-footer p, .rc-footer a { color: var(--gcid-647e6db1-c3b5-4de3-b871-db697798c3aa); }
.rc-footer a:hover { color: #fff; }
.rc-footer-text h3 { color: #fff; font-size: 30px; padding-bottom: 12px; }
.rc-footer-text p { padding-bottom: 6px; font-size: 15px; }
.rc-footer-logo img { max-width: 420px; width: 100%; }
.rc-footer-copy p { color: var(--gcid-6b5c11a5-e8ad-42b8-8acd-f73719adfc95); font-size: 12px; text-align: center; }

/* rc-ajustes-1 (07/10): page background, menu CTA size, footer contrast */
body, #page-container, #main-content { background-color: var(--gcid-0e2f2f3b-6069-463a-b25e-ff5bea86d2db); }
.rc-header .et_pb_menu .et-menu > li.rc-menu-cta > a { padding: 11px 24px !important; line-height: 1.2 !important; margin: 11px 0; }
.rc-footer .rc-footer-text p, .rc-footer .rc-footer-text a { color: var(--gcid-647e6db1-c3b5-4de3-b871-db697798c3aa) !important; }
.rc-footer .rc-footer-text a:hover { color: #fff !important; }
.rc-footer .rc-footer-copy p { color: var(--gcid-6b5c11a5-e8ad-42b8-8acd-f73719adfc95) !important; }

/* rc-flex-wrap (07/10): Divi 5 rows do not wrap by default → columns set to 100% on tablet/phone stay squeezed side by side */
@media (max-width: 980px) {
	.et_pb_row.et_flex_row { flex-wrap: wrap; }
}

/* rc-menu-compact (07/10): 8 menu items + "Book a tour" on one line between 981 and 1280 px */
@media (min-width: 981px) and (max-width: 1280px) {
	.rc-header .et_pb_menu__logo img { max-height: 46px; }
	.rc-header .et-menu > li { padding-left: 8px !important; padding-right: 8px !important; }
	.rc-header .et-menu > li > a { font-size: 13px !important; letter-spacing: 0 !important; }
	.rc-header .et_pb_menu .et-menu > li.rc-menu-cta > a { padding: 10px 16px !important; }
	.rc-header .et-menu > li.rc-menu-cta { margin-left: 4px; }
	.rc-theme-toggle { width: 34px; height: 34px; margin-left: 8px; }
}

/* rc-submenu (07/10): toggle aligned with the menu; brand dropdown (Your Way → Island Concierge) */
.rc-header .et_pb_menu__wrap { align-items: center; }
.rc-header .et-menu .sub-menu { background: var(--gcid-0e2f2f3b-6069-463a-b25e-ff5bea86d2db) !important; border-top: 3px solid var(--gcid-a28b35d1-6e67-4d4c-9346-67cdbd1fa129) !important; border-radius: 0 0 18px 18px; box-shadow: 0 16px 30px -18px rgba(43, 63, 68, .45); padding: 12px 0 !important; }
.rc-header .et-menu .sub-menu li a { color: var(--gcid-900a03c2-8d0d-4252-b5ac-27dda36b42c8) !important; font-size: 14px; }
.rc-header .et-menu .sub-menu li a:hover { background: var(--gcid-647e6db1-c3b5-4de3-b871-db697798c3aa); opacity: 1; }
html.rc-dark .rc-header .et-menu .sub-menu { background: #2B3F44 !important; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .7); }
html.rc-dark .rc-header .et-menu .sub-menu li a { color: #E8F4F4 !important; }
html.rc-dark .rc-header .et-menu .sub-menu li a:hover { background: #3E5B62; }
html.rc-dark .rc-header .et_mobile_menu { background: #2B3F44 !important; }
html.rc-dark .rc-header .et_mobile_menu li a { color: #E8F4F4 !important; border-color: #3E5B62 !important; }
.rc-header .et_mobile_menu li.rc-menu-cta a { color: var(--gcid-a28b35d1-6e67-4d4c-9346-67cdbd1fa129) !important; font-weight: 600; }
/* rc-wave-gap (07/10): Divi leaves a 1px line of the section color above its top wave → pull the wave up 1px everywhere */
.et_pb_section > .et_pb_top_inside_divider { top: -1px !important; }
/* rc-menu-compact-2 (08/11): one header row also between 981 and 1120 px (cart + theme button stayed on a second line) */
@media (min-width: 981px) and (max-width: 1120px) {
	.rc-header .et-menu > li { padding-left: 5px !important; padding-right: 5px !important; }
	.rc-header .et-menu > li > a { font-size: 12.5px !important; }
	.rc-header .et_pb_menu .et-menu > li.rc-menu-cta > a { padding: 9px 13px !important; }
	.rc-header .et_pb_menu__logo img { max-height: 40px; }
}
@media (min-width: 981px) and (max-width: 1060px) {
	.rc-header .et-menu > li { padding-left: 3px !important; padding-right: 3px !important; }
	.rc-header .et-menu > li > a { font-size: 12px !important; }
	.rc-header .et_pb_menu .et-menu > li.rc-menu-cta > a { padding: 8px 11px !important; }
	.rc-theme-toggle { width: 30px !important; height: 30px !important; margin-left: 4px !important; }
	.rc-header .et_pb_menu__logo img { max-height: 36px; }
}
